Class ClauseModel
java.lang.Object
org.projog.core.predicate.udp.ClauseModel
Represents a clause.
A clause consists of a head and a body. Where a clause is not explicitly specified it defaults to having a body of
true.
Called ClauseModel to differentiate it from ClauseAction.
-
Method Summary
Modifier and TypeMethodDescriptioncopy()static ClauseModelcreateClauseModel(Term original) Returns the body of the clause. i.e. the bit after the:-Returns the head of the clause. i.e. the bit before the:-booleanisFact()toString()
-
Method Details
-
createClauseModel
-
getAntecedent
Returns the body of the clause. i.e. the bit after the:- -
getConsequent
Returns the head of the clause. i.e. the bit before the:- -
getOriginal
-
getPredicateKey
-
copy
-
isFact
public boolean isFact() -
toString
-