|
ADS
Algorithms and Data Structures
|
the net effect of the events of a batch of the structures whose events are the list L: by default the rule of Typed modifications (an insertion and an erasure of one handle cancel, an erasure and an insertion become changes, consecutive changes of one attribute compose, everything before the last Cleared or Rebuilt is dropped, the shifts add up); a structure with a rule of its own specializes it More...
#include <ADS/Modification.h>
Static public member functions | |
| static std::vector< variant_t< L > > | coalesce (std::span< const variant_t< L > > B) |
| the net effect of the events \( B \), in \( O( |B| ) \) expected time | |
the net effect of the events of a batch of the structures whose events are the list L: by default the rule of Typed modifications (an insertion and an erasure of one handle cancel, an erasure and an insertion become changes, consecutive changes of one attribute compose, everything before the last Cleared or Rebuilt is dropped, the shifts add up); a structure with a rule of its own specializes it
|
static |
the net effect of the events \( B \), in \( O( |B| ) \) expected time