Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Distance Struct Reference

Distance accessor. More...

Inheritance diagram for Distance:
[legend]

Public Types

using Distance_Type = double
 
using Distance_Type = double
 

Public Member Functions

Distance_Type operator() (Arc *a) const
 
Distance_Type operator() (Arc *a) const
 

Static Public Member Functions

static void set_zero (Arc *a)
 
static void set_zero (Arc *a)
 

Detailed Description

Distance accessor.

Definition at line 144 of file bellman_ford_example.cc.

Member Typedef Documentation

◆ Distance_Type [1/2]

◆ Distance_Type [2/2]

Member Function Documentation

◆ operator()() [1/2]

Distance_Type Distance::operator() ( Arc a) const
inline

Definition at line 150 of file bellman_ford_example.cc.

◆ operator()() [2/2]

Distance_Type Distance::operator() ( Arc a) const
inline

Definition at line 160 of file johnson_example.cc.

◆ set_zero() [1/2]

static void Distance::set_zero ( Arc a)
inlinestatic

◆ set_zero() [2/2]

static void Distance::set_zero ( Arc a)
inlinestatic

Definition at line 159 of file johnson_example.cc.


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