MIRA
Public Member Functions | Public Attributes | List of all members
AbstractObjectiveBasedPlanner::ObjectiveInfo Struct Reference

#include <pilot/AbstractObjectiveBasedPlanner.h>

Public Member Functions

 ObjectiveInfo ()
 
 ObjectiveInfo (boost::shared_ptr< Objective > o, float w)
 
template<typename Reflector >
void reflect (Reflector &r)
 
Objective::Satisfaction getSatisfaction ()
 
void resetDissatisfaction ()
 
bool hasWork () const
 
bool reachedTask () const
 
bool isActive () const
 returns true, if the objective is enabled and has work, hence if it is active. More...
 

Public Attributes

boost::shared_ptr< Objectiveobjective
 
float weight
 
bool disabled
 

Constructor & Destructor Documentation

◆ ObjectiveInfo() [1/2]

ObjectiveInfo ( )
inline

◆ ObjectiveInfo() [2/2]

ObjectiveInfo ( boost::shared_ptr< Objective o,
float  w 
)
inline

Member Function Documentation

◆ reflect()

void reflect ( Reflector &  r)
inline

◆ getSatisfaction()

Objective::Satisfaction getSatisfaction ( )
inline

◆ resetDissatisfaction()

void resetDissatisfaction ( )
inline

◆ hasWork()

bool hasWork ( ) const
inline

◆ reachedTask()

bool reachedTask ( ) const
inline

◆ isActive()

bool isActive ( ) const
inline

returns true, if the objective is enabled and has work, hence if it is active.

Member Data Documentation

◆ objective

boost::shared_ptr<Objective> objective

◆ weight

float weight

◆ disabled

bool disabled

The documentation for this struct was generated from the following file: