STAG C++  1.3.0
Spectral Toolkit of Algorithms for Graphs
Loading...
Searching...
No Matches
stag::edge Struct Reference

#include <graph.h>

Description

A structure representing a weighted edge in a graph.

Public Attributes

stag_int v1
 
stag_int v2
 
double weight
 

Member Data Documentation

◆ v1

stag_int stag::edge::v1

The first vertex in the edge.

◆ v2

stag_int stag::edge::v2

The second vertex in the edge.

◆ weight

double stag::edge::weight

The weight of the edge.