AURobotServers
4
|
#include <uavoidcellgraph.h>
Public Member Functions | |
void | print (const char *pre) |
Public Attributes | |
bool | avoidLeft |
double | cost |
U2Dpos | pos |
Structure holding a bad position (on the edge or vertex of an obstacle). The additional cost to pass this point by the A* algorithm, and the side the path will pass the obstacle (the other way is not affected)
|
inline |
Print value to console
References avoidLeft, bool2str(), cost, pos, U2Dpos::x, and U2Dpos::y.
Referenced by UAvoidVertexCosts::setExtraCost().
bool UAvoidVertexCost::avoidLeft |
is this point a point to avoid on the left side (in drive direction)
Referenced by UAvoidPath2::findObstAvoidRoute(), UAvoidVertexCosts::getExtraCost(), UAvoidVertexCosts::list(), print(), UAvoidVertexCosts::setExtraCost(), and UAvoidCellVertex::UAvoidCellVertex().
double UAvoidVertexCost::cost |
extra cost value
Referenced by UAvoidPath2::findObstAvoidRoute(), UAvoidVertexCosts::getExtraCost(), UAvoidVertexCosts::list(), print(), and UAvoidVertexCosts::setExtraCost().
U2Dpos UAvoidVertexCost::pos |
position of vetrex with extra cost - a punished vertex position
Referenced by UAvoidPath2::findObstAvoidRoute(), UAvoidVertexCosts::getExtraCost(), UAvoidCellGraph::getVertexListCnt(), UAvoidVertexCosts::list(), print(), and UAvoidVertexCosts::setExtraCost().