HighMap library (C++)
Loading...
Searching...
No Matches
hmap::Edge Struct Reference

Graph edge connecting two node indices with an associated weight. More...

#include <graph.hpp>

Public Attributes

int u {0}
 First node index.
int v {0}
 Second node index.
float weight {0.f}
 Edge weight (cost or length).

Detailed Description

Graph edge connecting two node indices with an associated weight.

Member Data Documentation

◆ u

int hmap::Edge::u {0}

First node index.

◆ v

int hmap::Edge::v {0}

Second node index.

◆ weight

float hmap::Edge::weight {0.f}

Edge weight (cost or length).


The documentation for this struct was generated from the following file: