public class InterprNode extends Object implements Comparable<InterprNode>
InterprNode 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 |
InterprNode.Relation |
| Modifier and Type | Field and Description |
|---|---|
Activation |
act |
NavigableMap<NodeActivation.Key,NodeActivation> |
activations |
InterprNode[] |
children |
Conflicts |
conflicts |
Document |
doc |
int |
id |
int |
isConflict |
InterprNode |
largestCommonSubset |
int |
length |
Set<InterprNode> |
linkedByLCS |
long |
markedConflict |
long |
markedExcluded |
boolean |
markedExcludedRefinement |
long |
markedSelected |
static InterprNode |
MAX |
int |
maxPrim |
static InterprNode |
MIN |
int |
minPrim |
NavigableSet<Activation> |
neuronActivations |
Set<InterprNode> |
orInterprNodes |
InterprNode[] |
parents |
int |
primId |
Set<InterprNode> |
refByOrInterprNode |
Set<InterprNode> |
selectedOrInterprNodes |
| Constructor and Description |
|---|
InterprNode(Document doc,
int primId,
int id) |
InterprNode(Document doc,
int primId,
int id,
int length) |
| Modifier and Type | Method and Description |
|---|---|
static InterprNode |
add(Document doc,
boolean nonConflicting,
InterprNode... input) |
static InterprNode |
add(Document doc,
boolean nonConflicting,
List<InterprNode> inputs) |
void |
addOrInterpretationNode(InterprNode n) |
static InterprNode |
addPrimitive(Document doc) |
static int |
compare(InterprNode oa,
InterprNode ob) |
int |
compareTo(InterprNode n) |
boolean |
contains(boolean dir,
InterprNode n,
boolean followLCS) |
boolean |
contains(InterprNode n,
boolean followLCS) |
Collection<NodeActivation> |
getActivations() |
Collection<Activation> |
getNeuronActivations() |
boolean |
isBottom() |
boolean |
isConflicting(long v) |
String |
toString() |
public static final InterprNode MIN
public static final InterprNode MAX
public final int primId
public int minPrim
public int maxPrim
public final int id
public int length
public Set<InterprNode> orInterprNodes
public Set<InterprNode> selectedOrInterprNodes
public Set<InterprNode> refByOrInterprNode
public InterprNode largestCommonSubset
public Set<InterprNode> linkedByLCS
public long markedConflict
public long markedSelected
public long markedExcluded
public boolean markedExcludedRefinement
public final Document doc
public Activation act
public InterprNode[] parents
public InterprNode[] children
public int isConflict
public Conflicts conflicts
public NavigableMap<NodeActivation.Key,NodeActivation> activations
public NavigableSet<Activation> neuronActivations
public InterprNode(Document doc, int primId, int id, int length)
public InterprNode(Document doc, int primId, int id)
public void addOrInterpretationNode(InterprNode n)
public Collection<NodeActivation> getActivations()
public Collection<Activation> getNeuronActivations()
public static InterprNode add(Document doc, boolean nonConflicting, InterprNode... input)
public static InterprNode add(Document doc, boolean nonConflicting, List<InterprNode> inputs)
public static InterprNode addPrimitive(Document doc)
public boolean isBottom()
public boolean contains(boolean dir,
InterprNode n,
boolean followLCS)
public boolean contains(InterprNode n, boolean followLCS)
public boolean isConflicting(long v)
public int compareTo(InterprNode n)
compareTo in interface Comparable<InterprNode>public static int compare(InterprNode oa, InterprNode ob)
Copyright © 2017. All rights reserved.