PGROUTING
3.2
Public Member Functions
|
List of all members
Pgr_allpairs< G >::inf_plus< T > Struct Template Reference
Public Member Functions
T
operator()
(const T &a, const T &b) const
Detailed Description
template<class G>
template<typename T>
struct Pgr_allpairs< G >::inf_plus< T >
Definition at line
252
of file
pgr_allpairs.hpp
.
Member Function Documentation
◆
operator()()
template<class G >
template<typename T >
T
Pgr_allpairs
< G >::
inf_plus
< T >::operator()
(
const T &
a
,
const T &
b
)
const
inline
Definition at line
253
of file
pgr_allpairs.hpp
.
253
{
254
T inf = (std::numeric_limits<T>::max)();
255
if
(a == inf || b == inf)
256
return
inf;
257
return
a + b;
258
}
The documentation for this struct was generated from the following file:
pgr_allpairs.hpp
Pgr_allpairs
inf_plus
Generated on Tue May 25 2021 15:09:49 for PGROUTING by
1.8.17