Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::blossom_weighted_detail::mwmatching::Edge< WeightType > Struct Template Reference

Type representing a weighted edge. More...

#include <blossom_weighted_mwmatching.H>

Public Member Functions

 Edge ()
 Default constructor.
 
 Edge (VertexPair vt, WeightType w)
 Construct from a VertexPair and weight.
 
 Edge (VertexId x, VertexId y, WeightType w)
 Construct from vertex IDs and weight.
 

Public Attributes

VertexPair vt
 Incident vertices (u, v).
 
WeightType weight
 Edge weight.
 

Detailed Description

template<typename WeightType>
struct Aleph::blossom_weighted_detail::mwmatching::Edge< WeightType >

Type representing a weighted edge.

Template Parameters
WeightTypeNumeric type used to represent edge weights (long long, double, etc.).

Definition at line 89 of file blossom_weighted_mwmatching.H.

Constructor & Destructor Documentation

◆ Edge() [1/3]

Default constructor.

Initializes to (0,0) weight 0.

Definition at line 101 of file blossom_weighted_mwmatching.H.

◆ Edge() [2/3]

Construct from a VertexPair and weight.

Definition at line 106 of file blossom_weighted_mwmatching.H.

◆ Edge() [3/3]

Construct from vertex IDs and weight.

Definition at line 111 of file blossom_weighted_mwmatching.H.

Member Data Documentation

◆ vt

◆ weight


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