|
|
typedef stapl::sequential::graph< stapl::DIRECTED, stapl::NONMULTIEDGES, std::shared_ptr< Constraint >, PathType< MPTraits > > | GoalGraph |
|
typedef GoalGraph::vertex_iterator | iterator |
|
typedef GoalGraph::const_vertex_iterator | const_iterator |
|
typedef GoalGraph::edge_iterator | edge_iterator |
|
typedef GoalGraph::const_edge_iterator | const_edge_iterator |
|
typedef GoalGraph::adj_edge_iterator | adj_edge_iterator |
|
typedef GoalGraph::const_adj_edge_iterator | const_adj_edge_iterator |
|
typedef GoalGraph::vertex_descriptor | vertex_descriptor |
|
typedef GoalGraph::edge_descriptor | edge_descriptor |
|
typedef MPTraits::RoadmapType | RoadmapType |
|
typedef RoadmapType::VID | VID |
|
typedef MPTraits::Path | Path |
|
typedef MPTraits::MPLibrary | MPLibrary |
|
template<typename
MPTraits>
class TRPGoalMap< MPTraits >
- Todo:
- What is this?
◆ TRPGoalMap()
Construct TRPGoalMap
- Parameters
-
_robot | Robot coordinator assigned to all goals |
_queryMethod | Query method for finding shortest paths |
_library | Library fir calculating paths |
◆ GetNumVertices()
Get the number of vertices contained in the goal map.
- Returns
- Number of vertices.
◆ GetGoalDescriptors()
Get the set of descriptors for the goal vertices.
- Returns
- Set of descriptors for the goal vertices.
◆ GetDepotDescriptors()
Get the set of descriptors for the depot vertices (used in TRP).
- Returns
- Set of descriptors for the depot vertices.
◆ GetPath()
Get a particular path.
- Parameters
-
_i1 | Origin vertex descriptor. |
_i2 | Destination vertex descriptor. |
- Returns
- Path with given origin and destination.
◆ AddDepots()
Add the depots needed for TRP->ATSP
- Parameters
-
_workers | Set of robots to use for depot locations. |
The documentation for this class was generated from the following file: