public static class AncestorRelation.CommonAncestor extends AncestorRelation
AncestorRelation.CommonAncestor, AncestorRelation.IsAncestorOf, AncestorRelation.IsDescendantOf, AncestorRelation.NotAncestorOf, AncestorRelation.NotDescendantOfRelation.Any, Relation.Builder, Relation.RelationFactory| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
COMMON_ANCESTOR, IS_ANCESTOR_OF, IS_DESCENDANT_OF, NOT_ANCESTOR_OF, NOT_DESCENDANT_OFAFTER, ANY, BEFORE, BEGIN_EQUALS, BEGIN_TO_END_EQUALS, CONTAINED_IN, CONTAINS, END_EQUALS, END_TO_BEGIN_EQUALS, EQUALS, follow, optional, OVERLAPS, relationRegistry| Constructor and Description |
|---|
CommonAncestor() |
CommonAncestor(boolean optional,
boolean follow) |
| Modifier and Type | Method and Description |
|---|---|
Stream<Activation> |
getActivations(INeuron n,
Activation linkedAct) |
int |
getType() |
Relation |
invert() |
Relation |
setOptionalAndFollow(boolean optional,
boolean follow) |
boolean |
test(Activation act,
Activation linkedAct) |
isExact, linksOutputs, mapSlots, registerRequiredSlotsaddRelation, compareTo, convertible, getRelationsMap, isFollow, isOptional, read, readFields, registerRelation, writepublic CommonAncestor()
public CommonAncestor(boolean optional,
boolean follow)
public Relation setOptionalAndFollow(boolean optional, boolean follow)
setOptionalAndFollow in class Relationpublic boolean test(Activation act, Activation linkedAct)
public Stream<Activation> getActivations(INeuron n, Activation linkedAct)
getActivations in class RelationCopyright © 2018. All rights reserved.