Class random_allocator
Defined in File random_allocator.hpp
Inheritance Relationships
Base Type
public rer::client< random_allocator >
Class Documentation
-
class random_allocator : public rer::client<random_allocator>
Allocates a task from a given set of a tasks by choosing one randomly.
Public Functions
-
random_allocator(const random_allocator&) = delete
-
inline explicit random_allocator(rmath::rng *rng)
-
inline polled_task *operator()(const std::vector<polled_task*> &tasks) const
-
const random_allocator &operator=(const random_allocator&) = delete
-
random_allocator(const random_allocator&) = delete