SMIL  0.8
 All Classes Functions Variables Groups Pages
Edge< T > Class Template Reference

Non-oriented edge. More...

#include <DGraph.hpp>

+ Collaboration diagram for Edge< T >:

Public Member Functions

 Edge ()
 Default constructor.
 
 Edge (size_t a, size_t b, T w=1)
 Constructor using two nodes and an optional weight (default 1).
 
 Edge (const Edge &rhs)
 Copy constructor.
 

Public Attributes

size_t source
 Source node.
 
size_t target
 Target node.
 
weight
 Edge weight/value.
 

Detailed Description

template<class T = size_t>
class smil::Edge< T >

Non-oriented edge.

See Also
Graph

The documentation for this class was generated from the following file: