Package network.aika.lattice
Class NodeActivation<T extends Node>
- java.lang.Object
-
- network.aika.lattice.NodeActivation<T>
-
- All Implemented Interfaces:
Comparable<NodeActivation<T>>
- Direct Known Subclasses:
AndActivation,InputActivation,OrActivation
public abstract class NodeActivation<T extends Node> extends Object implements Comparable<NodeActivation<T>>
- Author:
- Lukas Molzberger
-
-
Field Summary
Fields Modifier and Type Field Description protected DocumentdocintidTreeMap<Integer,AndActivation.Link>outputsToAndNodeTreeMap<Integer,OrActivation.Link>outputsToOrNodebooleanregisteredLongrepropagateV
-
Constructor Summary
Constructors Constructor Description NodeActivation(Document doc, T node)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(NodeActivation<T> act)DocumentgetDocument()abstract ActivationgetInputActivation(int i)TgetNode()intgetThreadId()
-
-
-
Field Detail
-
id
public final int id
-
doc
protected final Document doc
-
repropagateV
public Long repropagateV
-
registered
public boolean registered
-
outputsToAndNode
public TreeMap<Integer,AndActivation.Link> outputsToAndNode
-
outputsToOrNode
public TreeMap<Integer,OrActivation.Link> outputsToOrNode
-
-
Method Detail
-
getNode
public T getNode()
-
getDocument
public Document getDocument()
-
getThreadId
public int getThreadId()
-
getInputActivation
public abstract Activation getInputActivation(int i)
-
compareTo
public int compareTo(NodeActivation<T> act)
- Specified by:
compareToin interfaceComparable<T extends Node>
-
-