public abstract class Atom extends AtomicBase
AtomicBase extension defining specialised functionalities.
| Modifier and Type | Field and Description |
|---|---|
protected int |
priority |
protected ConceptId |
typeId |
atomPattern, varName| Modifier | Constructor and Description |
|---|---|
protected |
Atom(Atom a) |
protected |
Atom(VarPatternAdmin pattern,
ReasonerQuery par) |
containsVar, copy, getCombinedPattern, getParentQuery, getPattern, getVarName, getVarNames, graph, isUserDefinedName, setParentQuery, toString, unifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequivalenceHashCode, isEquivalent, isPredicate, isSelectableprotected ConceptId typeId
protected int priority
protected Atom(VarPatternAdmin pattern, ReasonerQuery par)
protected Atom(Atom a)
public boolean isAtom()
public boolean isBinary()
public boolean isType()
public boolean isRelation()
public boolean isResource()
public Set<IdPredicate> getPartialSubstitutions()
public int resolutionPriority()
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 Set<Atomic> getNonSelectableConstraints()
public Set<IdPredicate> getUnmappedIdPredicates()
public com.google.common.collect.Multimap<RoleType,javafx.util.Pair<Var,Type>> getRoleVarTypeMap()
public void inferTypes()
public Atom rewriteToUserDefined()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.