CXXGraph  0.4.0
CXXGraph is a header only, that manages the Graphs and it's algorithm in C++
Public Member Functions | Friends | List of all members
CXXGRAPH::Edge< T > Class Template Reference
Inheritance diagram for CXXGRAPH::Edge< T >:
Inheritance graph
[legend]

Public Member Functions

 Edge (const unsigned long long id, const Node< T > &node1, const Node< T > &node2)
 
 Edge (const unsigned long long id, const std::pair< const Node< T > *, const Node< T > * > &nodepair)
 
const unsigned long long & getId () const
 
const std::pair< const Node< T > *, const Node< T > * > & getNodePair () const
 
virtual const std::optional< bool > isDirected () const
 
virtual const std::optional< bool > isWeighted () const
 
virtual bool operator== (const Edge< T > &b) const
 
bool operator< (const Edge< T > &b) const
 

Friends

std::ostream & operator<< (std::ostream &os, const Edge< T > &edge)
 

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