public abstract class Atom extends AtomicBase
AtomicBase extension defining specialised functionalities.
| Modifier and Type | Field and Description |
|---|---|
protected Set<InferenceRule> |
applicableRules |
protected ConceptId |
typeId |
atomPattern| Modifier | Constructor and Description |
|---|---|
protected |
Atom(Atom a) |
protected |
Atom(VarPatternAdmin pattern,
ReasonerQuery par) |
containsVar, copy, getCombinedPattern, getParentQuery, getPattern, getVarName, getVarNames, graph, isUserDefinedName, setParentQuery, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequivalenceHashCode, isEquivalent, isPredicate, isSelectableprotected ConceptId typeId
protected Set<InferenceRule> applicableRules
protected Atom(VarPatternAdmin pattern, ReasonerQuery par)
protected Atom(Atom a)
public boolean isAtom()
public boolean isType()
public boolean isRelation()
public boolean isResource()
public Set<IdPredicate> getPartialSubstitutions()
public int computePriority()
public int computePriority(Set<Var> subbedVars)
subbedVars - variables having a substitutionpublic int baseResolutionPriority()
public abstract boolean isRuleApplicable(InferenceRule child)
public Set<InferenceRule> getApplicableRules()
public boolean isRuleResolvable()
public boolean isRecursive()
public boolean isAllowedToFormRuleHead()
public boolean requiresMaterialisation()
public Type getType()
public ConceptId getTypeId()
public Var getValueVariable()
public Set<Predicate> getPredicates()
public Set<IdPredicate> getIdPredicates()
public Set<ValuePredicate> getValuePredicates()
public Set<TypeAtom> getTypeConstraints()
public java.util.stream.Stream<Atom> getNeighbours()
public Set<Atomic> getNonSelectableConstraints()
public Set<IdPredicate> getUnmappedIdPredicates()
public void inferTypes()
public Atom rewriteToUserDefined()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.