Search results for query: *

  1. EYEris

    I need advice about custom libraries/frameworks and relevant design patterns

    I am in the process of creating a framework used for developing mostly simulation-type games (but, a general game framework is the ultimate goal). As a result, I am attempting to plan out several fundamental systems and subsystems (including Events/Messaging, Actions/Behaviors, Dialog/Quests...
  2. EYEris

    Resolved This was working, but now it's causing a stack overflow. Please help!

    I was already doing this. I was very tired. I could see what it was doing, but couldn't understand why. lol. True, but so far, I've only started working on this one class as a sort of experiment. I'll probably make a repo for it later today. I solved the recursion. It's as I said, the Clamp()...
  3. EYEris

    Resolved This was working, but now it's causing a stack overflow. Please help!

    Ok. I've isolated the recursion to the Pair(Bit[] bitArray) constructor and the Clamp(Pair P) method. From what I can tell, when I attempt to declare a Fuzzy.Bit.Pair, it attempts to construct the static definitions for Pair.Zero, etc. These call the Pair(Bit[] bitArray) constructor, which then...
  4. EYEris

    Resolved This was working, but now it's causing a stack overflow. Please help!

    And this is the output I'm getting. The last two calls repeat indefinitely, bouncing back and forth between lines 279 and 190 (Of my original code, I removed comments and things that weren't relevant from the above code). StackOverflowException: The requested operation caused a stack...
  5. EYEris

    Resolved This was working, but now it's causing a stack overflow. Please help!

    Here are an example of my tests. // These all still work fine public Fuzzy.Bit A = 0.8m, B = 0.2m, C, D, E, F, G; C = 3; D = A + B; E = A + 1; F = B - A; G = E - F; // These used to work public Fuzzy.Bit.Pair W, X, Y, Z; W = new Fuzzy.Bit[] { A, B }; X = Fuzzy.Bit.Pair.Three; Y = X + W; Z =...
  6. EYEris

    Resolved This was working, but now it's causing a stack overflow. Please help!

    OK, I have this class that represents a "fuzzy bit", or the closed unit interval [0,1]. My intent is to eventually make a "fuzzy byte" class, but first I was trying to create just a "fuzzy pair" of "fuzzy bits", representing values the interval [0,3]. I would later create an abstract base class...
Back
Top Bottom