#include <TimeReward.h>
Public Member Functions | |
void | actionStarted (const actasp::AspFluent &action) throw () |
void | actionTerminated (const actasp::AspFluent &action) 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 17 of file TimeReward.h.
virtual bwi_krexec::TimeReward< State >::~TimeReward | ( | ) | [inline, virtual] |
Definition at line 47 of file TimeReward.h.
void bwi_krexec::TimeReward< State >::actionStarted | ( | const actasp::AspFluent & | action | ) | throw () [inline, virtual] |
Implements actasp::ExecutionObserver.
Definition at line 34 of file TimeReward.h.
void bwi_krexec::TimeReward< State >::actionTerminated | ( | const actasp::AspFluent & | action | ) | throw () [inline, virtual] |
Implements actasp::ExecutionObserver.
Definition at line 43 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 19 of file TimeReward.h.
std::map<actasp::AspFluent, ros::Time, actasp::ActionComparator> bwi_krexec::TimeReward< State >::startingTimes [private] |
Definition at line 49 of file TimeReward.h.