ai.planning
Interface ActionType<A>

Type Parameters:
A - the class for atomic elements in a state changed by this ActionType
All Known Implementing Classes:
ActionType, ActionType

public interface ActionType<A>

An ActionType represents a class of Actions. ActionTypes correspond to Operators in classical STRIPS planning.

Author:
Gerhard Wickler

Method Summary
 ai.krr.NamedSymbol getName()
           This function returns the NamedSymbol representing the name of this ActionType.
 A[] getNegativeEffects()
           This function returns the negative effects of this ActionTpye.
 A[] getNegativePreconditions()
           This function returns the preconditions that must be false in a WorldState before an Action of this type can be applied.
 ai.krr.fol.Variable[] getParameters()
           This function returns the parameters representing Objects used by this ActionType.
 A[] getPositiveEffects()
           This function returns the positive effects of this ActionTpye.
 A[] getPositivePreconditions()
           This function returns the preconditions that must be true in a WorldState before an Action of this type can be applied.
 

Method Detail

getName

ai.krr.NamedSymbol getName()

This function returns the NamedSymbol representing the name of this ActionType.

Returns:
the name of this ActionType

getParameters

ai.krr.fol.Variable[] getParameters()

This function returns the parameters representing Objects used by this ActionType.

Returns:
the parameters of this ActionType

getNegativePreconditions

A[] getNegativePreconditions()

This function returns the preconditions that must be false in a WorldState before an Action of this type can be applied.

Returns:
the negative preconditions associated with this ActionType

getPositivePreconditions

A[] getPositivePreconditions()

This function returns the preconditions that must be true in a WorldState before an Action of this type can be applied.

Returns:
the positive preconditions associated with this ActionType

getNegativeEffects

A[] getNegativeEffects()

This function returns the negative effects of this ActionTpye. Negative effects are deleted from a WorldState in which an Action of this type is applied.

Returns:
the negative effects associated with this ActionType

getPositiveEffects

A[] getPositiveEffects()

This function returns the positive effects of this ActionTpye. Positive effects are added to a WorldState in which an Action of this type is applied.

Returns:
the positive effects associated with this ActionType