#include <TimeReward.h>
Public Member Functions | |
void | actionStarted (const actasp::AspFluent &action) throw () |
void | actionTerminated (const actasp::AspFluent &action) throw () |
void | goalChanged (std::vector< actasp::AspRule > newGoalRules) throw () |
void | policyChanged (actasp::PartialPolicy *policy) throw () |
double | r (const State &, const actasp::AspFluent &action, const State &) const throw () |
virtual | ~TimeReward () |
Private Attributes | |
std::map< actasp::AspFluent, ros::Time, actasp::ActionComparator > | startingTimes |
Definition at line 20 of file TimeReward.h.
virtual bwi_krexec::TimeReward< State >::~TimeReward | ( | ) | [inline, virtual] |
Definition at line 53 of file TimeReward.h.
void bwi_krexec::TimeReward< State >::actionStarted | ( | const actasp::AspFluent & | action | ) | throw () [inline, virtual] |
Implements actasp::ExecutionObserver.
Definition at line 35 of file TimeReward.h.
void bwi_krexec::TimeReward< State >::actionTerminated | ( | const actasp::AspFluent & | action | ) | throw () [inline, virtual] |
Implements actasp::ExecutionObserver.
Definition at line 44 of file TimeReward.h.
void bwi_krexec::TimeReward< State >::goalChanged | ( | std::vector< actasp::AspRule > | newGoalRules | ) | throw () [inline] |
Definition at line 48 of file TimeReward.h.
void bwi_krexec::TimeReward< State >::policyChanged | ( | actasp::PartialPolicy * | policy | ) | throw () [inline, virtual] |
Implements actasp::ExecutionObserver.
Definition at line 50 of file TimeReward.h.
double bwi_krexec::TimeReward< State >::r | ( | const State & | , |
const actasp::AspFluent & | action, | ||
const State & | |||
) | const throw () [inline, virtual] |
Implements bwi_krexec::RewardFunction< State >.
Definition at line 22 of file TimeReward.h.
std::map<actasp::AspFluent, ros::Time, actasp::ActionComparator> bwi_krexec::TimeReward< State >::startingTimes [private] |
Definition at line 55 of file TimeReward.h.