T - the type of the predicate on a conceptpublic abstract class Predicate<T> extends AtomicBase
AtomicBase extension serving as base class for predicate implementations.
| Constructor and Description |
|---|
Predicate() |
| Modifier and Type | Method and Description |
|---|---|
int |
alphaEquivalenceHashCode() |
abstract T |
getPredicate() |
abstract String |
getPredicateValue() |
boolean |
isAlphaEquivalent(Object obj) |
boolean |
isStructurallyEquivalent(Object obj) |
int |
structuralEquivalenceHashCode() |
Set<String> |
validateAsRuleHead(Rule rule) |
checkValid, createCombinedPattern, getCombinedPattern, getIdPredicate, getPredicate, getPredicates, getPredicates, getVarNames, inferTypes, inferTypes, isUserDefined, toString, txclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopy, getParentQuery, getPattern, getVarName, isAtom, isCompatibleWith, isRelation, isResource, isSelectable, isType, validateOntologicallypublic abstract T getPredicate()
public abstract String getPredicateValue()
public Set<String> validateAsRuleHead(Rule rule)
validateAsRuleHead in interface AtomicvalidateAsRuleHead in class AtomicBasepublic boolean isAlphaEquivalent(Object obj)
public int alphaEquivalenceHashCode()
public boolean isStructurallyEquivalent(Object obj)
public int structuralEquivalenceHashCode()
Copyright © 2018 Grakn Labs Ltd. All rights reserved.