Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::MinMonoid< T > Struct Template Reference

Min monoid: identity = numeric max, combine = min(a, b). More...

#include <tpl_link_cut_tree.H>

Static Public Member Functions

static constexpr T identity () noexcept
 
static constexpr T combine (const T &a, const T &b) noexcept
 

Detailed Description

template<typename T>
struct Aleph::MinMonoid< T >

Min monoid: identity = numeric max, combine = min(a, b).

Definition at line 150 of file tpl_link_cut_tree.H.

Member Function Documentation

◆ combine()

template<typename T >
static constexpr T Aleph::MinMonoid< T >::combine ( const T a,
const T b 
)
inlinestaticconstexprnoexcept

Definition at line 157 of file tpl_link_cut_tree.H.

◆ identity()

template<typename T >
static constexpr T Aleph::MinMonoid< T >::identity ( )
inlinestaticconstexprnoexcept

Definition at line 152 of file tpl_link_cut_tree.H.


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