| Modifier and Type | Field and Description |
|---|---|
protected Type |
type |
protected String |
typeId |
atomPattern, varName| Modifier | Constructor and Description |
|---|---|
protected |
Atom(Atom a) |
protected |
Atom(VarAdmin pattern) |
protected |
Atom(VarAdmin pattern,
Query par) |
| Modifier and Type | Method and Description |
|---|---|
Set<Rule> |
getApplicableRules() |
abstract Set<Predicate> |
getIdPredicates() |
abstract Set<Predicate> |
getPredicates() |
Map<RoleType,javafx.util.Pair<String,Type>> |
getRoleVarTypeMap() |
Type |
getType() |
Set<Atom> |
getTypeConstraints() |
String |
getTypeId() |
abstract Set<Predicate> |
getValuePredicates() |
String |
getValueVariable() |
Map<String,javafx.util.Pair<Type,RoleType>> |
getVarTypeRoleMap() |
void |
inferTypes() |
boolean |
isAtom() |
boolean |
isBinary() |
boolean |
isRecursive() |
boolean |
isRelation() |
boolean |
isResource() |
protected abstract boolean |
isRuleApplicable(InferenceRule child) |
boolean |
isRuleResolvable() |
boolean |
isType() |
boolean |
requiresMaterialisation() |
javafx.util.Pair<Atom,Map<String,String>> |
rewrite(Atom parent,
Query q) |
clone, containsVar, getParentQuery, getPattern, getSelectedNames, getUnifiers, getVarName, getVarNames, isUserDefinedName, isValueUserDefinedName, setParentQuery, toString, unify, unifyequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequivalenceHashCode, isEquivalent, isPredicate, isSelectablepublic boolean isAtom()
public boolean isBinary()
public boolean isType()
public boolean isRelation()
public boolean isResource()
protected abstract boolean isRuleApplicable(InferenceRule child)
public boolean isRuleResolvable()
public boolean isRecursive()
public boolean requiresMaterialisation()
public Type getType()
public String getTypeId()
public String getValueVariable()
public abstract Set<Predicate> getPredicates()
getPredicates in class AtomBasepublic void inferTypes()
Copyright © 2016 Grakn Labs Ltd. All rights reserved.