|
Symphony 1.0
|
Represents an abstract action that can be performed on a state. More...
#include <definitions.h>
Public Member Functions | |
| Action (const std::string &name, double cost, std::shared_ptr< State > source_state, std::shared_ptr< State > effect) | |
Public Attributes | |
| std::string | name |
| double | cost |
| std::shared_ptr< State > | source_state |
| std::shared_ptr< State > | effect |
Represents an abstract action that can be performed on a state.
This class should be extended by the user to define specific actions in the problem domain.
Definition at line 43 of file definitions.h.
|
inline |
Definition at line 51 of file definitions.h.
| double Action::cost |
Definition at line 46 of file definitions.h.
| std::shared_ptr<State> Action::effect |
Definition at line 48 of file definitions.h.
| std::string Action::name |
Definition at line 45 of file definitions.h.
| std::shared_ptr<State> Action::source_state |
Definition at line 47 of file definitions.h.