#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::DirectedGraph::EdgeList edges
- The list of indices to outgoing edges
- mutable dip::dfloat value = 0.0
- The value associated to each vertex