|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Atom
This interface represents an atom with a n-ary domain, where n is the arity of the predicate represented.
AtomicExpression
Method Summary | |
---|---|
int |
getArity()
The arity of the Atom indicates how many Terms are contained in the Atom's list of arguments. |
Identifier |
getIdentifier()
The returned Identifier represents the name of the predicate. |
Term |
getParameter(int i)
The index i points to a position in the Atom's list of arguments. |
java.util.List |
listParamters()
|
void |
setParameters(java.util.List parameter)
|
Methods inherited from interface org.omwg.logicalexpression.LogicalExpression |
---|
accept |
Method Detail |
---|
int getArity()
Identifier getIdentifier()
Term getParameter(int i) throws java.lang.IllegalArgumentException
i
- the position of the parameter desired, maximal value getArity-1
java.lang.IllegalArgumentException
- in case i<0 or i exceeds the arity of the atomjava.util.List listParamters()
void setParameters(java.util.List parameter)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |