public abstract class MultiPredicateBinary extends BinaryBase
Base implementation for binary atoms with multiple predicate.
atomPattern, varName| Modifier | Constructor and Description |
|---|---|
protected |
MultiPredicateBinary(MultiPredicateBinary a) |
protected |
MultiPredicateBinary(VarAdmin pattern,
Set<Predicate> preds,
ReasonerQuery par) |
| Modifier and Type | Method and Description |
|---|---|
int |
equivalenceHashCode() |
protected abstract ConceptId |
extractTypeId(VarAdmin var) |
PatternAdmin |
getCombinedPattern() |
Set<Predicate> |
getMultiPredicate() |
protected boolean |
predicatesEquivalent(BinaryBase at) |
void |
setParentQuery(ReasonerQuery q) |
void |
unify(Map<VarName,VarName> unifiers)
perform unification on the atom by applying unifiers
|
equals, extractValueVariableName, getLinkedAtoms, getUnifiers, getValueVariable, getVarNames, hashCode, isBinary, isEquivalent, isRuleApplicable, requiresMaterialisation, setValueVariablegetApplicableRules, getIdPredicates, getMappedTypeConstraints, getPermutationUnifiers, getPredicates, getRoleVarTypeMap, getType, getTypeConstraints, getTypeId, getUnmappedIdPredicates, getUnmappedTypeConstraints, getValuePredicates, inferTypes, isAtom, isRecursive, isRelation, isResource, isRuleResolvable, isType, rewriteToUserDefined, rewriteToUserDefinedWithUnifierscontainsVar, copy, getParentQuery, getPattern, getVarName, graph, isUserDefinedName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisPredicate, isSelectableprotected MultiPredicateBinary(VarAdmin pattern, Set<Predicate> preds, ReasonerQuery par)
protected MultiPredicateBinary(MultiPredicateBinary a)
public void setParentQuery(ReasonerQuery q)
setParentQuery in interface AtomicsetParentQuery in class AtomBaseq - query this atom is supposed to belong topublic PatternAdmin getCombinedPattern()
getCombinedPattern in interface AtomicgetCombinedPattern in class AtomBaseprotected boolean predicatesEquivalent(BinaryBase at)
predicatesEquivalent in class BinaryBasepublic int equivalenceHashCode()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.