|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.cs.ai.kreator.logic.Term
public abstract class Term
This interfaces summarizes the common functionalities of terms in first-order logic.
| Constructor Summary | |
|---|---|
Term()
|
|
| Method Summary | ||
|---|---|---|
abstract boolean |
equals(java.lang.Object other)
If the other object is a Term, then equals returns true if both objects have the same class, same name and sort. |
|
static
|
getAllSequences(java.util.List<? extends Sort> sorts,
java.util.Collection<? extends T> terms)
This method computes all sequences [X1,... |
|
abstract java.lang.String |
getName()
returns the name (identifier) of this Term |
|
abstract Sort |
getSort()
Returns the sort of this term. |
|
abstract boolean |
isGround()
Specifies if this term is ground, i.e., if there occurs any variable in this term |
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Methods inherited from interface edu.cs.ai.kreator.logic.Latexable |
|---|
toLatex |
| Constructor Detail |
|---|
public Term()
| Method Detail |
|---|
public abstract boolean isGround()
public abstract java.lang.String getName()
public abstract Sort getSort()
public abstract boolean equals(java.lang.Object other)
equals in class java.lang.Objectother -
public static <T extends Term> java.util.Set<java.util.List<T>> getAllSequences(java.util.List<? extends Sort> sorts,
java.util.Collection<? extends T> terms)
sorts - the sorts of the term at each position.terms - a collection of terms used in constructing the sequences
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||