Bratmobile
Public Member Functions | Public Attributes | List of all members
State Struct Reference

Hybrid states in the transition system. More...

#include <graphTools.h>

Collaboration diagram for State:
Collaboration graph
[legend]

Public Member Functions

 State (const b2Transform &_start)
 
 State (const b2Transform &_start, const Disturbance &di, const Direction &dir)
 
bool visited ()
 Whether this state has been visited in exploration using evaluation function phi as proxy.
 
void resetVisited ()
 Sets the phi value to its naive value (call to visited() will return false)
 
b2Transform start_from_Di () const
 Return transformation from start to Di position.
 
b2Transform start_from_Dn () const
 Return transformation from start to Dn position.
 
b2Transform end_from_Dn () const
 Return transformation from end to Di position.
 
b2Transform end_from_Di () const
 Return transformation from end to Di position.
 
float distance ()
 
b2Transform travel_transform ()
 
bool isTurning ()
 
bool isGoingStraight ()
 

Public Attributes

Disturbance Di
 
Disturbance Dn
 
b2Transform endPose = b2Transform_zero
 
b2Transform start = b2Transform_zero
 
simResult::resultType outcome
 
std::vector< Direction > options
 
bool filled =0
 
int nObs =0
 
float phi =NAIVE_PHI
 
VERTEX_LABEL label =VERTEX_LABEL::UNLABELED
 
Direction direction =DEFAULT
 

Detailed Description

Hybrid states in the transition system.


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