libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
HRICS::PlanState Class Reference

Plannar HRI State. More...

#include <HRICS_TwoDGrid.hpp>

Inheritance diagram for HRICS::PlanState:
API::State

Public Member Functions

 PlanState (Eigen::Vector2i cell, PlanGrid *grid)
 
 PlanState (PlanCell *cell, PlanGrid *grid)
 
std::vector< API::State * > getSuccessors (API::State *s)
 
bool isLeaf ()
 
bool equal (API::State *other)
 
bool isValid ()
 
void setClosed (std::vector< PlanState * > &closedStates, std::vector< PlanState * > &openStates)
 
bool isColsed (std::vector< PlanState * > &closedStates)
 
void setOpen (std::vector< PlanState * > &openStates)
 
bool isOpen (std::vector< PlanState * > &openStates)
 
void reset ()
 
void print ()
 
PlanCellgetCell ()
 
- Public Member Functions inherited from API::State
double computeCost (State *parent, State *goal)
 
double f () const
 
double g () const
 
double h () const
 
virtual void setClosed (std::vector< State * > &closedStates, std::vector< State * > &openStates)
 
virtual bool isColsed (std::vector< State * > &closedStates)
 
virtual void setOpen (std::vector< State * > &openStates)
 
virtual bool isOpen (std::vector< State * > &openStates)
 

Protected Member Functions

double computeLength (API::State *parent)
 
double computeHeuristic (API::State *parent=NULL, API::State *goal=NULL)
 

Detailed Description

Plannar HRI State.


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