Package network.aika.neuron.relation
Class AncestorRelation
- java.lang.Object
-
- network.aika.neuron.relation.Relation
-
- network.aika.neuron.relation.AncestorRelation
-
- All Implemented Interfaces:
Comparable<Relation>,Writable
- Direct Known Subclasses:
AncestorRelation.CommonAncestor,AncestorRelation.IsAncestorOf,AncestorRelation.IsDescendantOf,AncestorRelation.NotAncestorOf,AncestorRelation.NotDescendantOf
public abstract class AncestorRelation extends Relation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAncestorRelation.CommonAncestorstatic classAncestorRelation.IsAncestorOfstatic classAncestorRelation.IsDescendantOfstatic classAncestorRelation.NotAncestorOfstatic classAncestorRelation.NotDescendantOf-
Nested classes/interfaces inherited from class network.aika.neuron.relation.Relation
Relation.Any, Relation.Builder, Relation.RelationFactory
-
-
Field Summary
Fields Modifier and Type Field Description static AncestorRelationCOMMON_ANCESTORstatic AncestorRelationIS_ANCESTOR_OFstatic AncestorRelationIS_DESCENDANT_OFstatic AncestorRelationNOT_ANCESTOR_OFstatic AncestorRelationNOT_DESCENDANT_OF-
Fields inherited from class network.aika.neuron.relation.Relation
AFTER, ANY, BEFORE, BEGIN_EQUALS, BEGIN_TO_END_EQUALS, CONTAINED_IN, CONTAINS, END_EQUALS, END_TO_BEGIN_EQUALS, EQUALS, follow, optional, OVERLAPS, relationRegistry
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisExact()voidlinksOutputs(Set<Integer> results)voidmapSlots(Map<Integer,Position> slots, Activation act)voidregisterRequiredSlots(Neuron input)-
Methods inherited from class network.aika.neuron.relation.Relation
addRelation, compareTo, getActivations, getRelationsMap, getType, invert, isConvertible, isFollow, isOptional, read, readFields, registerRelation, setOptionalAndFollow, test, write
-
-
-
-
Field Detail
-
COMMON_ANCESTOR
public static AncestorRelation COMMON_ANCESTOR
-
IS_DESCENDANT_OF
public static AncestorRelation IS_DESCENDANT_OF
-
IS_ANCESTOR_OF
public static AncestorRelation IS_ANCESTOR_OF
-
NOT_DESCENDANT_OF
public static AncestorRelation NOT_DESCENDANT_OF
-
NOT_ANCESTOR_OF
public static AncestorRelation NOT_ANCESTOR_OF
-
-
Method Detail
-
registerRequiredSlots
public void registerRequiredSlots(Neuron input)
- Specified by:
registerRequiredSlotsin classRelation
-
mapSlots
public void mapSlots(Map<Integer,Position> slots, Activation act)
-
linksOutputs
public void linksOutputs(Set<Integer> results)
- Specified by:
linksOutputsin classRelation
-
-