engine-mk1
Public Attributes | List of all members
rz::graph::Edge< E > Struct Template Reference

A template struct for representing Edge objects. More...

#include <Graph.hpp>

Public Attributes

data {}
 The data held by this Edge. More...
 
std::size_t source {}
 The ID of the source Vertex. More...
 
std::size_t target {}
 The ID of the target Vertex. More...
 
State state {}
 The current state of the Edge, represented by a bitfield. More...
 
float cost {}
 

Detailed Description

template<class E>
struct rz::graph::Edge< E >

A template struct for representing Edge objects.

Template Parameters
EThe data type held by the Edge

Member Data Documentation

template<class E >
E rz::graph::Edge< E >::data {}

The data held by this Edge.

template<class E >
std::size_t rz::graph::Edge< E >::source {}

The ID of the source Vertex.

template<class E >
State rz::graph::Edge< E >::state {}

The current state of the Edge, represented by a bitfield.

template<class E >
std::size_t rz::graph::Edge< E >::target {}

The ID of the target Vertex.


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