public class SubAtom extends OntologicalAtom
TypeAtom corresponding to graql a SubProperty property.
| Constructor and Description |
|---|
SubAtom(VarPattern pattern,
Var predicateVar,
IdPredicate p,
ReasonerQuery par) |
| Modifier and Type | Method and Description |
|---|---|
Atomic |
copy() |
Class<? extends VarProperty> |
getVarPropertyClass() |
Atom |
rewriteToUserDefined(Atom parentAtom)
rewrites the atom to one with suitably user-defined names depending on provided parent
|
Atom |
rewriteWithTypeVariable() |
String |
toString() |
Set<TypeAtom> |
unify(Unifier u) |
getApplicableRules, isSelectable, validateAsRuleHeadcomputePriority, equals, getSchemaConcept, hashCode, isRuleApplicableViaAtom, isType, requiresMaterialisationalphaEquivalenceHashCode, checkValid, createCombinedPattern, getInnerPredicates, getPredicateVariable, getTypeId, getTypePredicate, getUnifier, getVarNames, isAlphaEquivalent, isStructurallyEquivalent, setParentQuery, structuralEquivalenceHashCodeaddType, atomOptions, getIdPredicate, getInnerPredicates, getMultiUnifier, getNeighbours, getNonSelectableConstraints, getPartialSubstitutions, getPotentialRules, getPredicate, getPredicates, getPredicates, getRoleExpansionVariables, getSpecificTypeConstraints, getTypeConstraints, getVarProperties, inferTypes, inferTypes, isAtom, isGround, isRecursive, isRuleResolvable, materialise, requiresRoleExpansion, rewriteWithRelationVariable, rewriteWithTypeVariable, toRelationshipAtomcontainsVar, getCombinedPattern, getParentQuery, getPattern, getVarName, isUserDefined, txclone, finalize, getClass, notify, notifyAll, wait, wait, waitisCompatibleWith, isRelation, isResource, validateOntologicallypublic SubAtom(VarPattern pattern, Var predicateVar, IdPredicate p, ReasonerQuery par)
public Class<? extends VarProperty> getVarPropertyClass()
getVarPropertyClass in class Atompublic String toString()
toString in class AtomicBasepublic Atomic copy()
copy in interface Atomiccopy in class AtomicBasepublic Atom rewriteWithTypeVariable()
rewriteWithTypeVariable in class Atompublic Atom rewriteToUserDefined(Atom parentAtom)
AtomrewriteToUserDefined in class AtomparentAtom - parent atom that triggers rewriteCopyright © 2018 Grakn Labs Ltd. All rights reserved.