Class Activation

  • All Implemented Interfaces:
    Comparable<Activation>

    public final class Activation
    extends Object
    implements Comparable<Activation>
    The Activation class is the most central class in Aika. On the one hand it stores the activation value for a given neuron in the State substructure. On the other hand it specifies where this activation is located within the document and to which interpretation it belongs. The Activation.Key therefore consists of the logic node to which this activation belongs. If this logic node is an or-node, then this activation automatically also belongs to the neuron as well. Furthermore, the key contains the char range within the document and the relational id (rid). The relational id might be used to store the word pos for instance. Lastly, the key contain the interpretation node of this activation, specifying to which interpretation this activation belongs.

    The activations are linked to each other on two levels. The fields inputs and outputs contain the activation links within the logic layer. The fields inputLinks and outputLinks contain the links on the neural layer.

    Author:
    Lukas Molzberger
    • Field Detail

      • BEGIN

        public static int BEGIN
      • END

        public static int END
      • MAX_SELF_REFERENCING_DEPTH

        public static int MAX_SELF_REFERENCING_DEPTH
      • MAX_PREDECESSOR_DEPTH

        public static int MAX_PREDECESSOR_DEPTH
      • DEBUG_OUTPUT

        public static boolean DEBUG_OUTPUT
      • MIN_ACTIVATION

        public static Activation MIN_ACTIVATION
      • MAX_ACTIVATION

        public static Activation MAX_ACTIVATION
      • sequence

        public Integer sequence
      • upperBound

        public double upperBound
      • lowerBound

        public double lowerBound
      • ubQueued

        public boolean ubQueued
      • markedHasCandidate

        public long markedHasCandidate
      • currentStateV

        public long currentStateV
      • markedDirty

        public long markedDirty
      • markedPredecessor

        public long markedPredecessor
      • targetValue

        public Double targetValue
      • inputValue

        public Double inputValue
      • markedAncDesc

        public long markedAncDesc
      • blocked

        public boolean blocked