|
JTP API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jtp.frame.listen.ListenerTemplate | +--jtp.frame.listen.VLTemplate
Method Summary | |
boolean |
contains(Variable v)
Checks if this Unifyable contains a given Variable (in that case, they cannot be unified). |
protected AbstractVCListener |
createListener(Object value,
Object comparisonVal,
Symbol comparisonSign,
VCListenerCreationReasoningStep rs)
The template instance returns a AbstractVCListener
that can instantiate the template given a concrete object as
input. |
Object |
deReferenceVariables()
Replaces all the variables in this Unifyable by their values. |
protected Clause |
getClause()
The template instance returns a Clause
that, as close as possible, indicates what this template
represents in FOL. |
Collection |
getVariables(Collection tgt)
Retrieves the variables in this Unifyable and places them into a provided target collection. |
String |
toString()
|
Methods inherited from class jtp.frame.listen.ListenerTemplate |
createLiteral, instantiateTemplate, unify |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
protected AbstractVCListener createListener(Object value, Object comparisonVal, Symbol comparisonSign, VCListenerCreationReasoningStep rs)
ListenerTemplate
AbstractVCListener
that can instantiate the template given a concrete object as
input.
createListener
in class ListenerTemplate
public boolean contains(Variable v)
Unifyable
v
- the variable to look for
public Collection getVariables(Collection tgt)
Unifyable
tgt
- the collection to which the variables are added. If null, and this Unifyable
contains variables, a new collection is created.
public Object deReferenceVariables()
Unifyable
this
is returned if no variables needed to be dereferenced.Variable
public String toString()
toString
in class Object
protected Clause getClause()
ListenerTemplate
Clause
that, as close as possible, indicates what this template
represents in FOL.
getClause
in class ListenerTemplate
|
JTP API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |