Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::LCTMonoid Concept Reference

Concept for a monoidal combiner over path values. More...

#include <tpl_link_cut_tree.H>

Concept definition

template<typename M, typename T>
Concept for a monoidal combiner over path values.
A static monoid: M::identity() and M::combine(a, b).

Detailed Description

Concept for a monoidal combiner over path values.

Alias of Aleph::StaticMonoid kept for source compatibility. A Monoid requires an identity element and an associative binary operation combine(a, b). It dictates how values on a path are aggregated together (e.g., finding the sum or minimum).

Definition at line 98 of file tpl_link_cut_tree.H.