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

Integer distance arc type. More...

Public Types

using Distance_Type = int
 

Public Member Functions

 IntDistanceArc ()
 
 IntDistanceArc (Distance_Type d)
 
Distance_Type get_distance () const
 
 operator Distance_Type () const
 

Public Attributes

Distance_Type distance
 

Static Public Attributes

static constexpr Distance_Type Max_Distance = numeric_limits<int>::max() / 2
 
static constexpr Distance_Type Zero_Distance = 0
 

Detailed Description

Integer distance arc type.

Definition at line 81 of file latex_floyd_test.cc.

Member Typedef Documentation

◆ Distance_Type

Constructor & Destructor Documentation

◆ IntDistanceArc() [1/2]

IntDistanceArc::IntDistanceArc ( )
inline

Definition at line 90 of file latex_floyd_test.cc.

◆ IntDistanceArc() [2/2]

IntDistanceArc::IntDistanceArc ( Distance_Type  d)
inline

Definition at line 91 of file latex_floyd_test.cc.

Member Function Documentation

◆ get_distance()

Distance_Type IntDistanceArc::get_distance ( ) const
inline

Definition at line 93 of file latex_floyd_test.cc.

References distance.

◆ operator Distance_Type()

IntDistanceArc::operator Distance_Type ( ) const
inline

Definition at line 95 of file latex_floyd_test.cc.

References distance.

Member Data Documentation

◆ distance

Distance_Type IntDistanceArc::distance

Definition at line 88 of file latex_floyd_test.cc.

Referenced by get_distance(), and operator Distance_Type().

◆ Max_Distance

constexpr Distance_Type IntDistanceArc::Max_Distance = numeric_limits<int>::max() / 2
staticconstexpr

Definition at line 85 of file latex_floyd_test.cc.

Referenced by TEST(), TEST(), TEST(), TEST(), TEST_F(), and TEST_F().

◆ Zero_Distance

constexpr Distance_Type IntDistanceArc::Zero_Distance = 0
staticconstexpr

Definition at line 86 of file latex_floyd_test.cc.


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