20 #ifndef _LINKMATRIX_HXX_
21 #define _LINKMATRIX_HXX_
40 class AbstractSceneItem;
42 class SceneComposedNodeItem;
52 inline int getX()
const {
return _x; };
53 inline int getY()
const {
return _y; };
54 inline std::pair<int,int>
getPos()
const {
return std::pair<int,int>(
_x,
_y); };
67 std::pair<int,int>
to;
LNode(std::pair< int, int > m)
double distance(const LNode &o) const
bool isEqual(const LNode &o) const
std::pair< int, int > getPos() const
std::list< linkdef > getListOfCtrlLinkDef()
SceneComposedNodeItem * _bloc
std::list< linkdef > getListOfDataLinkDef()
std::vector< double > _ym
void getBoundingBox(SceneItem *obstacle, int margin, bool setObstacle=false)
std::pair< int, int > cellTo(YACS::ENGINE::InPort *inp)
void defineCost(AbstractSceneItem *child)
LinkMatrix(SceneComposedNodeItem *bloc)
LinkPath getPath(LNodePath lnp)
std::vector< double > _xm
std::map< double, int > _y2j
void incrementCost(LNodePath lnp)
std::map< double, int > _x2i
void explore(AbstractSceneItem *child, bool setObstacle=false)
std::pair< int, int > cellFrom(YACS::ENGINE::OutPort *outp)
int cost(int i, int j) const
std::list< LNode > LNodePath
std::list< linkPoint > LinkPath
YACS::HMI::SceneLinkItem * item
std::pair< int, int > from