mit.ai.techniques
Class Operator
java.lang.Object
|
+--mit.ai.techniques.Operator
- Direct Known Subclasses:
- MaintenanceOperator
- public class Operator
- extends java.lang.Object
Class representing an operator, name, preconditions, and effects.
|
Constructor Summary |
Operator(java.lang.String theName,
Conjunction thePreconditions,
Conjunction theEffects)
Construct an operator with a name, preconditions, and effects. |
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
name
private java.lang.String name
preconditions
private Conjunction preconditions
effects
private Conjunction effects
Operator
public Operator(java.lang.String theName,
Conjunction thePreconditions,
Conjunction theEffects)
- Construct an operator with a name, preconditions, and effects.
getName
public java.lang.String getName()
- Return the operator name.
getPreconditions
public Conjunction getPreconditions()
- Return the precondition Conjunction.
getEffects
public Conjunction getEffects()
- Return the postcondition Conjunction.
toString
public java.lang.String toString()
- Return a string representing the operator.
- Overrides:
toString in class java.lang.Object