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::DirectedWeightedEdge< T > Class Template Reference
Inheritance diagram for CXXGRAPH::DirectedWeightedEdge< T >:
Inheritance graph
[legend]
Collaboration diagram for CXXGRAPH::DirectedWeightedEdge< T >:
Collaboration graph
[legend]

Public Member Functions

 DirectedWeightedEdge (const unsigned long id, const Node< T > &node1, const Node< T > &node2, const double weight)
 
 DirectedWeightedEdge (const unsigned long id, const std::pair< const Node< T > *, const Node< T > * > &nodepair, const double weight)
 
 DirectedWeightedEdge (const DirectedEdge< T > &edge, const double weight)
 
 DirectedWeightedEdge (const Edge< T > &edge, const double weight)
 
 DirectedWeightedEdge (const DirectedEdge< T > &edge)
 
 DirectedWeightedEdge (const Edge< T > &edge)
 
 DirectedWeightedEdge (const UndirectedWeightedEdge< T > &edge)
 
const std::optional< bool > isWeighted () const override
 
 operator UndirectedWeightedEdge< T > () const
 
- Public Member Functions inherited from CXXGRAPH::DirectedEdge< T >
 DirectedEdge (const unsigned long id, const Node< T > &node1, const Node< T > &node2)
 
 DirectedEdge (const unsigned long id, const std::pair< const Node< T > *, const Node< T > * > &nodepair)
 
 DirectedEdge (const Edge< T > &edge)
 
const Node< T > & getFrom () const
 
const Node< T > & getTo () const
 
const std::optional< bool > isDirected () const override
 
 operator UndirectedEdge< T > () const
 
- Public Member Functions inherited from CXXGRAPH::Edge< T >
 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 bool operator== (const Edge< T > &b) const
 
bool operator< (const Edge< T > &b) const
 
- Public Member Functions inherited from CXXGRAPH::Weighted
 Weighted (const double weight)
 
double getWeight () const
 
void setWeight (const double weight)
 

Friends

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

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