HOG2
|
#include <PuzzleInferenceRule.h>
Public Member Functions | |
virtual void | FilterActions (const SearchEnvironment< State, Action > &env, const State &state, std::vector< Action > &actions) |
Public Attributes | |
std::vector< std::function< ActionType(const SearchEnvironment< State, Action > &, const State &, const Action &)> > | rules |
std::unordered_map< Action, ActionType > | logics |
Protected Member Functions | |
virtual void | UpdateActionLogics (const SearchEnvironment< State, Action > &env, const State &state, std::unordered_map< Action, ActionType > &logics) const |
Definition at line 25 of file PuzzleInferenceRule.h.
|
inlinevirtual |
Definition at line 46 of file PuzzleInferenceRule.h.
References CANNOT_TAKE, and MUST_TAKE.
|
inlineprotectedvirtual |
Definition at line 27 of file PuzzleInferenceRule.h.
References PuzzleInferenceRuleSet< State, Action >::rules.
std::unordered_map<Action, ActionType> PuzzleInferenceRuleSet< State, Action >::logics |
Definition at line 44 of file PuzzleInferenceRule.h.
std::vector<std::function<ActionType(const SearchEnvironment<State, Action>&, const State&, const Action&)> > PuzzleInferenceRuleSet< State, Action >::rules |
Definition at line 43 of file PuzzleInferenceRule.h.
Referenced by PuzzleInferenceRuleSet< State, Action >::UpdateActionLogics().