org.dllearner.prolog
Class Term
java.lang.Object
org.dllearner.prolog.Term
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- Constant, Function, List, Variable
public abstract class Term
- extends Object
- implements Cloneable
- Author:
- Sebastian Bader
|
Constructor Summary |
Term()
|
Term
public Term()
isGround
public abstract boolean isGround()
- Returns:
- Returns true iff this term is ground
getInstance
public abstract Term getInstance(Variable variable,
Term term)
- Parameters:
variable - Substitution variable.term - A term.
- Returns:
- Returns a new instance of this term, where the variable is
replaced by the term.
equals
public abstract boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public abstract int hashCode()
- Overrides:
hashCode in class Object
clone
public abstract Object clone()
- Overrides:
clone in class Object
toString
public abstract String toString()
- Overrides:
toString in class Object
toPLString
public abstract String toPLString()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann