|
Symphony 1.0
|
#include <study_path.h>
Public Member Functions | |
| StudyProblem (StudyState *initial_state, std::map< std::string, std::vector< std::string > > dependencies, std::map< std::string, double > synergies) | |
| State * | initial_state () override |
| Retrieves the initial state of the problem. | |
| bool | goal_test (State *state) override |
| Tests if a given state satisfies the goal condition. | |
| std::vector< std::shared_ptr< Action > > | actions (std::shared_ptr< State > state) override |
| Retrieves the set of actions applicable to a given state. | |
| double | heuristic (State *state) override |
| Computes a heuristic estimate for a given state. | |
Public Member Functions inherited from Problem | |
| Problem () | |
| Constructor for the Problem class. | |
| virtual | ~Problem () |
| Virtual destructor for the Problem class. | |
Additional Inherited Members | |
Public Attributes inherited from Problem | |
| State * | initial_state_ |
| Pointer to the initial state of the problem. | |
Definition at line 35 of file study_path.h.
|
inline |
Definition at line 41 of file study_path.h.
|
inlineoverridevirtual |
Retrieves the set of actions applicable to a given state.
This method must be implemented by the user to define the available actions for a specific state.
| state | The current state. |
Implements Problem.
Definition at line 58 of file study_path.h.
|
inlineoverridevirtual |
Tests if a given state satisfies the goal condition.
This method must be implemented by the user to define the goal state criteria.
| state | The state to test. |
Implements Problem.
Definition at line 50 of file study_path.h.
|
inlineoverridevirtual |
Computes a heuristic estimate for a given state.
This method must be implemented by the user to define a heuristic function for the problem.
| state | The state for which to compute the heuristic. |
Implements Problem.
Definition at line 79 of file study_path.h.
References StudyState::remaining_time.
|
inlineoverridevirtual |
Retrieves the initial state of the problem.
Reimplemented from Problem.
Definition at line 46 of file study_path.h.