Used in the Graph constructors for uniform initialization. More...
#include <Edge.hh>
Public Member Functions | |
| EdgeInitializer (const VertexId_P &_vertices, const E &_data=E(), const double _weight=1) | |
| Constructor. | |
Public Attributes | |
| E | data |
| User data. | |
| VertexId_P | vertices |
| IDs of the vertices. | |
| double | weight = 1 |
| The weight (cost) of the edge. | |
Used in the Graph constructors for uniform initialization.
|
inline |
| E ignition::math::IGNITION_MATH_VERSION_NAMESPACE::graph::EdgeInitializer< E >::data |
User data.
Referenced by EdgeInitializer().
| VertexId_P ignition::math::IGNITION_MATH_VERSION_NAMESPACE::graph::EdgeInitializer< E >::vertices |
IDs of the vertices.
Referenced by EdgeInitializer().
| double ignition::math::IGNITION_MATH_VERSION_NAMESPACE::graph::EdgeInitializer< E >::weight = 1 |
The weight (cost) of the edge.
Referenced by EdgeInitializer().