public abstract class Binary extends Atom
Implementation for binary atoms with single id typePredicate for a schema concept. Binary atoms take the form: <>($varName, $predicateVariable), type($predicateVariable)
| Modifier and Type | Method and Description |
|---|---|
int |
equivalenceHashCode() |
PatternAdmin |
getCombinedPattern() |
java.util.stream.Stream<Predicate> |
getInnerPredicates() |
Var |
getPredicateVariable() |
SchemaConcept |
getSchemaConcept() |
ConceptId |
getTypeId() |
IdPredicate |
getTypePredicate() |
Unifier |
getUnifier(Atom parentAtom) |
Set<Var> |
getVarNames() |
boolean |
isEquivalent(Object obj) |
void |
setParentQuery(ReasonerQuery q) |
addType, atomOptions, baseResolutionPriority, computePriority, getApplicableRules, getIdPredicate, getInnerPredicates, getMultiUnifier, getNeighbours, getNonSelectableConstraints, getPartialSubstitutions, getPredicate, getPredicates, getPredicates, getRoleExpansionVariables, getSpecificTypeConstraints, getTypeConstraints, getVarProperties, inferTypes, isAtom, isRecursive, isRuleApplicableViaAtom, isRuleResolvable, requiresMaterialisation, requiresRoleExpansion, rewriteToUserDefined, toRelationshipAtomcontainsVar, copy, getParentQuery, getPattern, getVarName, isUserDefined, toString, txclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisAllowedToFormRuleHead, isPredicate, isRelation, isResource, isSelectable, isType, validateOntologicallypublic Var getPredicateVariable()
getPredicateVariable in class Atom@Nullable public IdPredicate getTypePredicate()
@Nullable public SchemaConcept getSchemaConcept()
getSchemaConcept in class Atompublic ConceptId getTypeId()
public int equivalenceHashCode()
public boolean isEquivalent(Object obj)
public PatternAdmin getCombinedPattern()
getCombinedPattern in interface AtomicgetCombinedPattern in class AtomicBasepublic void setParentQuery(ReasonerQuery q)
setParentQuery in interface AtomicsetParentQuery in class AtomicBasepublic Set<Var> getVarNames()
getVarNames in interface AtomicgetVarNames in class AtomicBasepublic java.util.stream.Stream<Predicate> getInnerPredicates()
getInnerPredicates in class Atompublic Unifier getUnifier(Atom parentAtom)
getUnifier in class AtomparentAtom - atom to be unified withCopyright © 2017 Grakn Labs Ltd. All rights reserved.