#include "diplib/graph.h"
dip::Graph::Vertex struct

A vertex in the graph

Constructors, destructors, assignment and conversion operators

Vertex(dip::uint nEdges) 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
The value associated to each vertex