Template Numerical Library version\ main:f17d0c8
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
TNL::Graphs::Edge< Real, Index > Struct Template Reference

Public Types

using IndexType = Index
 
using RealType = Real
 

Public Member Functions

 Edge (const Edge &)=default
 
 Edge (Edge &&)=default
 
 Edge (Index source, Index target, Real weight)
 
Index & getSource ()
 
const Index & getSource () const
 
Index & getTarget ()
 
const Index & getTarget () const
 
RealgetWeight ()
 
const RealgetWeight () const
 
bool operator!= (const Edge &other) const
 
bool operator< (const Edge &other) const
 
bool operator<= (const Edge &other) const
 
Edgeoperator= (const Edge &)=default
 
Edgeoperator= (Edge &&)=default
 
bool operator== (const Edge &other) const
 
bool operator> (const Edge &other) const
 
bool operator>= (const Edge &other) const
 

Protected Attributes

Index source = 0
 
Index target = 0
 
Real weight = 0.0
 

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