DHART
Loading...
Searching...
No Matches
HF::SpatialStructures::IntEdge Struct Reference

A lighter version of Edge that contains an ID instead of a full node object.. More...

#include <Edge.h>

+ Collaboration diagram for HF::SpatialStructures::IntEdge:

Public Member Functions

bool operator== (const IntEdge &IE2) const
 
bool operator!= (const IntEdge &IE2) const
 

Public Attributes

int child
 Identifier of child node. More...
 
float weight
 Cost to traverse to child. More...
 

Detailed Description

A lighter version of Edge that contains an ID instead of a full node object..

Definition at line 58 of file Edge.h.

Member Function Documentation

◆ operator!=()

bool HF::SpatialStructures::IntEdge::operator!= ( const IntEdge IE2) const
inline

Definition at line 68 of file Edge.h.

References operator==().

+ Here is the call graph for this function:

◆ operator==()

bool HF::SpatialStructures::IntEdge::operator== ( const IntEdge IE2) const
inline

Definition at line 63 of file Edge.h.

References child, and weight.

Referenced by operator!=().

+ Here is the caller graph for this function:

Member Data Documentation

◆ child

int HF::SpatialStructures::IntEdge::child

Identifier of child node.

Definition at line 59 of file Edge.h.

Referenced by HF::SpatialStructures::CostAlgorithms::CalculateEnergyExpenditure(), and operator==().

◆ weight

float HF::SpatialStructures::IntEdge::weight

Cost to traverse to child.

Definition at line 60 of file Edge.h.

Referenced by operator==().


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