Class State


  • public class State
    extends Object
    A State object contains the activation value of an activation object that belongs to a neuron. It furthermore contains a weight that is used to check the interpretations during the search for the best interpretation.
    Author:
    Lukas Molzberger
    • Field Detail

      • value

        public final double value
      • ub

        public final double ub
      • net

        public final double net
      • fired

        public final Integer fired
      • weight

        public final double weight
      • ZERO

        public static final State ZERO
    • Constructor Detail

      • State

        public State​(double value,
                     double ub,
                     double net,
                     Integer fired,
                     double weight)
    • Method Detail

      • equals

        public boolean equals​(State s)
      • lowerBoundEquals

        public boolean lowerBoundEquals​(State s)
      • upperBoundEquals

        public boolean upperBoundEquals​(State s)
      • equalsWithWeights

        public boolean equalsWithWeights​(State s)
      • getPreferredDecision

        public Decision getPreferredDecision()