public abstract class Atom extends AtomBase
Atom implementation defining specialised functionalities.
| Modifier and Type | Field and Description |
|---|---|
protected Type |
type |
protected ConceptId |
typeId |
atomPattern, varName| Modifier | Constructor and Description |
|---|---|
protected |
Atom(Atom a) |
protected |
Atom(VarAdmin pattern,
ReasonerQuery par) |
containsVar, copy, getCombinedPattern, getParentQuery, getPattern, getUnifier, getVarName, getVarNames, graph, isUserDefinedName, setParentQuery, toString, unifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequivalenceHashCode, isEquivalent, isPredicate, isSelectableprotected Atom(VarAdmin pattern, ReasonerQuery par)
protected Atom(Atom a)
public boolean isAtom()
public boolean isBinary()
public boolean isType()
public boolean isRelation()
public boolean isResource()
public boolean hasSubstitution()
protected abstract boolean isRuleApplicable(InferenceRule child)
public Set<InferenceRule> getApplicableRules()
public boolean isRuleResolvable()
public boolean isRecursive()
public boolean requiresMaterialisation()
public Type getType()
public ConceptId getTypeId()
public VarName getValueVariable()
public Set<Predicate> getPredicates()
public Set<IdPredicate> getIdPredicates()
public Set<ValuePredicate> getValuePredicates()
public Set<TypeAtom> getTypeConstraints()
public Set<Atomic> getNonSelectableConstraints()
public Set<IdPredicate> getUnmappedIdPredicates()
public Map<RoleType,javafx.util.Pair<VarName,Type>> getRoleVarTypeMap()
public void inferTypes()
public Atom rewriteToUserDefined()
public javafx.util.Pair<Atom,Unifier> rewriteToUserDefinedWithUnifiers()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.