NDEVR
API Documentation
HyperDijkstra::CostFunctionabstract

Abstract cost function for weighting edges during traversal. More...

Inheritance diagram for HyperDijkstra::CostFunction:
[legend]

Public Member Functions

virtual g_type operator() (HyperGraph::HGEdge *e, HyperGraph::HGVertex *from, HyperGraph::HGVertex *to)=0
 Evaluates the cost of traversing an edge between two vertices.

Detailed Description

Abstract cost function for weighting edges during traversal.

Definition at line 40 of file hyper_dijkstra.h.

Member Function Documentation

◆ operator()()

virtual g_type HyperDijkstra::CostFunction::operator() ( HyperGraph::HGEdge * e,
HyperGraph::HGVertex * from,
HyperGraph::HGVertex * to )
pure virtual

Evaluates the cost of traversing an edge between two vertices.

Parameters
[in]eThe edge being traversed.
[in]fromThe source vertex.
[in]toThe destination vertex.
Returns
The traversal cost.

Implemented in UniformCostFunction.


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