lnsc.page
Interface Action

All Known Implementing Classes:
AbstractAction

public interface Action

Defines an action as generally understand in RL and other AI problems.


Method Summary
 double getCost()
          Cost associated to the action.
 boolean isValid()
          Indicates whether the action is valid or not.
 

Method Detail

getCost

public double getCost()
Cost associated to the action.

Returns:
cost of the action.

isValid

public boolean isValid()
Indicates whether the action is valid or not.

Returns:
true if it is valid, false otherwise.