#include "diplib/graph.h"
Vertex struct
A vertex in the graph
Contents
Constructors, destructors, assignment and conversion operators
- Vertex(dip::uint nEdges, dip::dfloat value = 0.0) explicit
- Construct a vertex with reserved space for the given number of edges.
Variables
- dip::Graph::EdgeList edges
- The list of indices to edges
- mutable dip::dfloat value = 0.0
- The value associated to each vertex
Function documentation
Vertex( dip::uint nEdges, dip::dfloat value = 0.0) explicit
Construct a vertex with reserved space for the given number of edges.
Variable documentation
dip::Graph::EdgeList edges
The list of indices to edges
mutable dip::dfloat value = 0.0
The value associated to each vertex