public class IsaAtom extends TypeAtom
TypeAtom corresponding to graql a IsaProperty property.
| Modifier | Constructor and Description |
|---|---|
protected |
IsaAtom(TypeAtom a) |
|
IsaAtom(VarPattern pattern,
Var predicateVar,
IdPredicate p,
ReasonerQuery par) |
|
IsaAtom(Var var,
Var predicateVar,
SchemaConcept type,
ReasonerQuery par) |
| Modifier and Type | Method and Description |
|---|---|
IsaAtom |
addType(SchemaConcept type) |
List<Atom> |
atomOptions(Answer sub) |
Atomic |
copy() |
protected Pattern |
createCombinedPattern() |
protected Pair<VarPattern,IdPredicate> |
getTypedPair(SchemaConcept type) |
Class<? extends VarProperty> |
getVarPropertyClass() |
IsaAtom |
inferTypes(Answer sub) |
java.util.stream.Stream<Answer> |
materialise() |
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) |
computePriority, equals, getSchemaConcept, hashCode, isRuleApplicableViaAtom, isSelectable, isType, requiresMaterialisationalphaEquivalenceHashCode, checkValid, getInnerPredicates, getPredicateVariable, getTypeId, getTypePredicate, getUnifier, getVarNames, isAlphaEquivalent, isStructurallyEquivalent, setParentQuery, structuralEquivalenceHashCodegetApplicableRules, getIdPredicate, getInnerPredicates, getMultiUnifier, getNeighbours, getNonSelectableConstraints, getPartialSubstitutions, getPotentialRules, getPredicate, getPredicates, getPredicates, getRoleExpansionVariables, getSpecificTypeConstraints, getTypeConstraints, getVarProperties, inferTypes, isAtom, isGround, isRecursive, isRuleResolvable, requiresRoleExpansion, rewriteWithRelationVariable, rewriteWithTypeVariable, toRelationshipAtom, validateAsRuleHeadcontainsVar, getCombinedPattern, getParentQuery, getPattern, getVarName, isUserDefined, txclone, finalize, getClass, notify, notifyAll, wait, wait, waitisCompatibleWith, isRelation, isResource, validateOntologicallypublic IsaAtom(VarPattern pattern, Var predicateVar, IdPredicate p, ReasonerQuery par)
public IsaAtom(Var var, Var predicateVar, SchemaConcept type, ReasonerQuery par)
protected IsaAtom(TypeAtom a)
public Class<? extends VarProperty> getVarPropertyClass()
getVarPropertyClass in class Atompublic String toString()
toString in class AtomicBasepublic Atomic copy()
copy in interface Atomiccopy in class AtomicBaseprotected Pattern createCombinedPattern()
createCombinedPattern in class Binaryprotected Pair<VarPattern,IdPredicate> getTypedPair(SchemaConcept type)
public IsaAtom addType(SchemaConcept type)
public IsaAtom inferTypes(Answer sub)
inferTypes in class Atompublic List<Atom> atomOptions(Answer sub)
atomOptions in class Atomsub - partial substitutionpublic java.util.stream.Stream<Answer> materialise()
materialise in class Atompublic 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.