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

A vertex in the graph

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