T - type of the contained predicatepublic abstract class MultiPredicateBinary<T extends Predicate> extends BinaryBase
Base implementation for binary atoms with multiple predicate.
atomPattern, varName| Modifier | Constructor and Description |
|---|---|
protected |
MultiPredicateBinary(MultiPredicateBinary<T> a) |
protected |
MultiPredicateBinary(VarPatternAdmin pattern,
Set<T> preds,
ReasonerQuery par) |
| Modifier and Type | Method and Description |
|---|---|
int |
equivalenceHashCode() |
protected abstract ConceptId |
extractTypeId(VarPatternAdmin var) |
PatternAdmin |
getCombinedPattern() |
Set<T> |
getMultiPredicate() |
void |
setParentQuery(ReasonerQuery q) |
Atomic |
unify(Unifier unifier)
perform unification on the atom by applying unifiers
|
equals, extractValueVariableName, getLinkedAtoms, getUnifier, getValueVariable, getVarNames, hasEquivalentPredicatesWith, hashCode, isBinary, isEquivalent, setValueVariablegetApplicableRules, getIdPredicates, getMappedTypeConstraints, getNonSelectableConstraints, getPartialSubstitutions, getPermutationUnifiers, getPredicates, getRoleVarTypeMap, getType, getTypeConstraints, getTypeId, getUnmappedIdPredicates, getUnmappedTypeConstraints, getValuePredicates, inferTypes, isAllowedToFormRuleHead, isAtom, isRecursive, isRelation, isResource, isRuleApplicable, isRuleResolvable, isType, requiresMaterialisation, resolutionPriority, rewriteToUserDefinedcontainsVar, copy, getParentQuery, getPattern, getVarName, graph, isUserDefinedName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisPredicate, isSelectableprotected MultiPredicateBinary(VarPatternAdmin pattern, Set<T> preds, ReasonerQuery par)
protected MultiPredicateBinary(MultiPredicateBinary<T> a)
protected abstract ConceptId extractTypeId(VarPatternAdmin var)
public void setParentQuery(ReasonerQuery q)
setParentQuery in interface AtomicsetParentQuery in class AtomicBaseq - query this atom is supposed to belong topublic PatternAdmin getCombinedPattern()
getCombinedPattern in interface AtomicgetCombinedPattern in class AtomicBasepublic int equivalenceHashCode()
public Atomic unify(Unifier unifier)
AtomicBaseunify in interface Atomicunify in class BinaryBaseunifier - contain variable mappings to be appliedCopyright © 2017 Grakn Labs Ltd. All rights reserved.