10 #ifndef EDGE_ATTRIBUTES_HPP_INCLUDED
11 #define EDGE_ATTRIBUTES_HPP_INCLUDED
57 {
id = _id;
weight = _weight;}
65 #endif // EDGE_ATTRIBUTES_HPP_INCLUDED
Class of the attributes of a simple edge.
Definition: edge_attributes.hpp:24
~simple_edge()
Destructor.
Definition: edge_attributes.hpp:35
unsigned int id
Numerical ID of the vertex at the other end of the edge.
Definition: edge_attributes.hpp:29
double weight
Weight of the edge.
Definition: edge_attributes.hpp:51
Class of the attributes of a weighted edge.
Definition: edge_attributes.hpp:45
weighted_edge(unsigned int _id, double _weight)
Constructor.
Definition: edge_attributes.hpp:56
simple_edge(unsigned int _id)
Constructor.
Definition: edge_attributes.hpp:34
weighted_edge()
Empty constructor.
Definition: edge_attributes.hpp:55
~weighted_edge()
Destructor.
Definition: edge_attributes.hpp:58
unsigned int id
Numerical ID of the vertex at the other end of the edge.
Definition: edge_attributes.hpp:50
simple_edge()
Empty constructor.
Definition: edge_attributes.hpp:33