MipBaselib::FrontierArc Class Reference

Grid reapresentation for a frontier arc of robot's Local Safe Region. More...

#include <Grid.h>

List of all members.

Public Member Functions

 FrontierArc ()
 Default constructor.
 FrontierArc (const FrontierArc &arc)
 Copy constructor.
FrontierArc operator= (const FrontierArc &arc)
 Operator =.
DubInt operator[] (size_t index) const
 Operator [] for _vec.
vector< DubInt >::iterator begin ()
 Makes public the "begin()" member of _vec camp.
vector< DubInt >::iterator end ()
 Makes public the "end()" member of _vec camp.
void push_back (DubInt cell)
 Makes public the "push_back()" member of _vec camp.
void pop_back ()
 Makes public the "pop_back()" member of _vec camp.
void insert (vector< DubInt >::iterator pos, DubInt value)
 Makes public the "insert()" member of _vec camp.
void insert (vector< DubInt >::iterator pos, vector< DubInt >::iterator begin, vector< DubInt >::iterator end)
 Makes public the "insert()" member of _vec camp.
vector< DubInt >::iterator erase (vector< DubInt >::iterator position)
 Makes public the "erase()" member of _vec camp.
vector< DubIntvec ()
 Returns _vec camp.
int size ()
 Makes public the "size()" member of _vec camp.
void setIsRangeEdge ()
 Sets _isRange flag.
void unsetIsRangeEdge ()
 Unsets _isRangeEdge flag.
bool isRangeEdge ()
 Returns _isRangeEdge flag.
string print ()
 Prints a message about the status of _isRangeEdge and the indexes of the cells belonging to the frontier arc.


Detailed Description

Grid reapresentation for a frontier arc of robot's Local Safe Region.

Grid reapresentation for a frontier arc of robot's Local Safe Region

Author:
Antonio Franchi and Marco Barbalinardo - email:barba82@yahoo.it
Date:
2009/04/04

Constructor & Destructor Documentation

FrontierArc::FrontierArc (  ) 

Default constructor.

FrontierArc::FrontierArc ( const FrontierArc arc  ) 

Copy constructor.


Member Function Documentation

FrontierArc FrontierArc::operator= ( const FrontierArc arc  ) 

Operator =.

DubInt FrontierArc::operator[] ( size_t  index  )  const

Operator [] for _vec.

vector< DubInt >::iterator FrontierArc::begin (  ) 

Makes public the "begin()" member of _vec camp.

vector< DubInt >::iterator FrontierArc::end (  ) 

Makes public the "end()" member of _vec camp.

void FrontierArc::push_back ( DubInt  cell  ) 

Makes public the "push_back()" member of _vec camp.

void FrontierArc::pop_back (  ) 

Makes public the "pop_back()" member of _vec camp.

void FrontierArc::insert ( vector< DubInt >::iterator  pos,
DubInt  value 
)

Makes public the "insert()" member of _vec camp.

void FrontierArc::insert ( vector< DubInt >::iterator  pos,
vector< DubInt >::iterator  begin,
vector< DubInt >::iterator  end 
)

Makes public the "insert()" member of _vec camp.

vector< DubInt >::iterator FrontierArc::erase ( vector< DubInt >::iterator  position  ) 

Makes public the "erase()" member of _vec camp.

vector< DubInt > FrontierArc::vec (  ) 

Returns _vec camp.

int FrontierArc::size (  ) 

Makes public the "size()" member of _vec camp.

void FrontierArc::setIsRangeEdge (  ) 

Sets _isRange flag.

void FrontierArc::unsetIsRangeEdge (  ) 

Unsets _isRangeEdge flag.

bool FrontierArc::isRangeEdge (  ) 

Returns _isRangeEdge flag.

string FrontierArc::print (  ) 

Prints a message about the status of _isRangeEdge and the indexes of the cells belonging to the frontier arc.


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

Generated on Mon Feb 20 07:01:11 2017 for MIP by  doxygen 1.5.6