#include <ckpttn/robin.hpp>
template<typename T>
Robin struct
Round Robin.
Template parameters | |
---|---|
T |
The Robin
class is implementing a round-robin algorithm. It is used to cycle through a sequence of elements in a circular manner. The constructor initializes the cycle with a specified number of parts, and each part is assigned a unique key. The exclude
method returns an iterable wrapper that excludes a specified part from the cycle.
Constructors, destructors, conversion operators
Public functions
- auto exclude(T from_part) const -> detail::RobinIterableWrapper< T > -> auto
- exclude
Public variables
-
std::vector<detail::
RobinSlNode<T>> cycle