org.dllearner.prolog
Class Clause
java.lang.Object
org.dllearner.prolog.Clause
public class Clause
- extends Object
- Author:
- Sebastian Bader
Clause
public Clause(Atom head,
Body body)
toString
public String toString()
- Overrides:
toString in class Object
toPLString
public String toPLString()
isGround
public boolean isGround()
getBody
public Body getBody()
getHead
public Atom getHead()
getInstance
public Clause 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.
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann