public abstract class BinaryBase extends Atom
Base implementation for binary atoms of the type ($varName, $valueVariable), where value variable references predicates.
applicableRules, typeIdatomPattern| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
protected abstract Var |
extractValueVariableName(VarPatternAdmin var) |
Unifier |
getUnifier(Atom parentAtom)
find unifier with parent atom
|
Var |
getValueVariable() |
Set<Var> |
getVarNames() |
protected abstract boolean |
hasEquivalentPredicatesWith(BinaryBase atom) |
int |
hashCode() |
boolean |
isEquivalent(Object obj) |
baseResolutionPriority, computePriority, computePriority, getApplicableRules, getIdPredicates, getMappedTypeConstraints, getNeighbours, getNonSelectableConstraints, getPartialSubstitutions, getPermutationUnifiers, getPredicates, getType, getTypeConstraints, getTypeId, getUnmappedIdPredicates, getUnmappedTypeConstraints, getValuePredicates, inferTypes, isAllowedToFormRuleHead, isAtom, isRecursive, isRelation, isResource, isRuleApplicable, isRuleResolvable, isType, requiresMaterialisation, rewriteToUserDefinedcontainsVar, copy, getCombinedPattern, getParentQuery, getPattern, getVarName, graph, isUserDefinedName, setParentQuery, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitequivalenceHashCode, isPredicate, isSelectableprotected abstract Var extractValueVariableName(VarPatternAdmin var)
protected abstract boolean hasEquivalentPredicatesWith(BinaryBase atom)
public Var getValueVariable()
getValueVariable in class Atompublic boolean isEquivalent(Object obj)
public Set<Var> getVarNames()
getVarNames in interface AtomicgetVarNames in class AtomicBasepublic Unifier getUnifier(Atom parentAtom)
AtomgetUnifier in class AtomparentAtom - atom to be unified withCopyright © 2017 Grakn Labs Ltd. All rights reserved.