trsl logo
Namespaces | Functions
random_permutation_iterator.hpp File Reference
#include <trsl/reorder_iterator.hpp>
#include <trsl/common.hpp>
#include <trsl/error_handling.hpp>

Go to the source code of this file.

Namespaces

 trsl
 Public namespace.
 

Functions

template<class ElementIterator >
reorder_iterator< ElementIterator > trsl::random_permutation_iterator (ElementIterator first, ElementIterator last, unsigned permutationSize)
 Constructs a reorder_iterator that will iterate through a random subset of size permutationSize of a random permutation of the population referenced by first and last. More...
 
template<class ElementIterator >
reorder_iterator< ElementIterator > trsl::random_permutation_iterator (ElementIterator first, ElementIterator last)
 Constructs a reorder_iterator that will iterate through a random permutation of the population referenced by first and last. More...
 
© Copyright 2007-2011 Renaud Detry.
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt.)
Revised Wed Jan 8 2020 14:43:31.