All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ShoeKb.Atom

java.lang.Object
   |
   +----ShoeKb.Atom

public class Atom
extends Object
A logical atom. An atom consists of a predicate and a set of arguments. The arguments may be variables or literals. If they are variables, then they are preceded by a question mark.


Constructor Index

 o Atom(String, String, String)
 o Atom(String, String[])

Method Index

 o getArguments()
 o getPredicate()
 o toString()

Constructors

 o Atom
 public Atom(String predicate,
             String arguments[])
 o Atom
 public Atom(String predicate,
             String arg1,
             String arg2)

Methods

 o getPredicate
 public String getPredicate()
 o getArguments
 public String[] getArguments()
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index