public abstract class Binary extends BinaryBase
Base implementation for binary atoms with single predicate.
applicableRules, typeIdatomPattern| Modifier and Type | Method and Description |
|---|---|
int |
equivalenceHashCode() |
protected abstract ConceptId |
extractTypeId() |
PatternAdmin |
getCombinedPattern() |
IdPredicate |
getPredicate() |
protected boolean |
hasEquivalentPredicatesWith(BinaryBase atom) |
void |
setParentQuery(ReasonerQuery q) |
equals, extractValueVariableName, getUnifier, getValueVariable, getVarNames, hashCode, isEquivalentbaseResolutionPriority, 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, getParentQuery, getPattern, getVarName, graph, isUserDefinedName, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisPredicate, isSelectableprotected abstract ConceptId extractTypeId()
public PatternAdmin getCombinedPattern()
getCombinedPattern in interface AtomicgetCombinedPattern in class AtomicBasepublic void setParentQuery(ReasonerQuery q)
setParentQuery in interface AtomicsetParentQuery in class AtomicBaseq - query this atom is supposed to belong topublic IdPredicate getPredicate()
protected boolean hasEquivalentPredicatesWith(BinaryBase atom)
hasEquivalentPredicatesWith in class BinaryBasepublic int equivalenceHashCode()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.