public class InterpretationNode extends Object implements Comparable<InterpretationNode>
InterpretationNode class represents a node within the interpretations lattice. Such a node consists of a conjunction of
primitive interpretation nodes that are emitted during each activation of a Neuron (but not the InputNeurons).
The primitive nodes them self can consist of a disjunction of other interpretation nodes.
For example the primitive interpretation node 9[(1),(6,7,8)] has the primitive node id 9 and consists of the
disjunction of the interpretation nodes (1) and (6,7,8). These conjunctions and disjunction in the interpretation
representation is necessary since the logic layer underneath each neuron too consists of conjunctions and disjunctions.
There may be conflicts between interpretation nodes in the lattice. Conflicts are generated by negative recurrent synapses.
| Modifier and Type | Class and Description |
|---|---|
static class |
InterpretationNode.Relation |
static class |
InterpretationNode.State |
| Modifier and Type | Field and Description |
|---|---|
Activation |
activation |
Candidate |
candidate |
InterpretationNode[] |
children |
Conflicts |
conflicts |
Document |
doc |
int |
id |
int |
isConflict |
boolean |
isSelected |
InterpretationNode |
largestCommonSubset |
int |
length |
Set<InterpretationNode> |
linkedByLCS |
long |
markedConflict |
static InterpretationNode |
MAX |
static int |
MAX_SELF_REFERENCING_DEPTH |
int |
maxPrim |
static InterpretationNode |
MIN |
int |
minPrim |
NavigableMap<NodeActivation.Key,NodeActivation> |
nodeActivations |
Set<InterpretationNode> |
orInterpretationNodes |
InterpretationNode[] |
parents |
int |
primId |
Set<InterpretationNode> |
refByOrInterpretationNode |
Set<InterpretationNode> |
selectedOrInterpretationNodes |
InterpretationNode.State |
state |
| Constructor and Description |
|---|
InterpretationNode(Document doc,
int primId,
int id) |
InterpretationNode(Document doc,
int primId,
int id,
int length) |
InterpretationNode(Document doc,
int primId,
int id,
int length,
InterpretationNode.State s) |
public static final InterpretationNode MIN
public static final InterpretationNode MAX
public static int MAX_SELF_REFERENCING_DEPTH
public final int primId
public int minPrim
public int maxPrim
public final int id
public int length
public Set<InterpretationNode> orInterpretationNodes
public Set<InterpretationNode> selectedOrInterpretationNodes
public Set<InterpretationNode> refByOrInterpretationNode
public InterpretationNode largestCommonSubset
public Set<InterpretationNode> linkedByLCS
public long markedConflict
public InterpretationNode.State state
public boolean isSelected
public final Document doc
public Activation activation
public Candidate candidate
public InterpretationNode[] parents
public InterpretationNode[] children
public int isConflict
public Conflicts conflicts
public NavigableMap<NodeActivation.Key,NodeActivation> nodeActivations
public InterpretationNode(Document doc, int primId, int id, int length, InterpretationNode.State s)
public InterpretationNode(Document doc, int primId, int id, int length)
public InterpretationNode(Document doc, int primId, int id)
public boolean isPrimitive()
public void setState(InterpretationNode.State newState, long v)
public static boolean checkSelfReferencing(InterpretationNode nx, InterpretationNode ny, boolean onlySelected, int depth)
public boolean isSelected(long v)
public void addOrInterpretationNode(InterpretationNode n)
public Collection<NodeActivation> getNodeActivations()
public static InterpretationNode add(Document doc, boolean nonConflicting, InterpretationNode... input)
public static InterpretationNode add(Document doc, boolean nonConflicting, List<InterpretationNode> inputs)
public static InterpretationNode addPrimitive(Document doc)
public boolean isBottom()
public boolean contains(boolean dir,
InterpretationNode n,
boolean followLCS)
public boolean contains(InterpretationNode n, boolean followLCS)
public void collectPrimitiveNodes(Collection<InterpretationNode> results, long v)
public boolean isConflicting(long v)
public int compareTo(InterpretationNode n)
compareTo in interface Comparable<InterpretationNode>public static int compare(InterpretationNode oa, InterpretationNode ob)
Copyright © 2018. All rights reserved.