Node< NodePropertyT > Struct Template Reference

CPP API: mio::Node< NodePropertyT > Struct Template Reference
mio::Node< NodePropertyT > Struct Template Reference

represents a node of the graph More...

#include <graph.h>

Public Member Functions

template<class... Args>
 Node (int node_id, Args &&... args)
 

Public Attributes

int id
 
NodePropertyT property
 

Detailed Description

template<class NodePropertyT>
struct mio::Node< NodePropertyT >

represents a node of the graph

Parameters
idunique id for the node (e.g. regional keys)

Constructor & Destructor Documentation

◆ Node()

template<class NodePropertyT >
template<class... Args>
mio::Node< NodePropertyT >::Node ( int  node_id,
Args &&...  args 
)
inline

Member Data Documentation

◆ id

template<class NodePropertyT >
int mio::Node< NodePropertyT >::id

◆ property

template<class NodePropertyT >
NodePropertyT mio::Node< NodePropertyT >::property