A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
shuffle.h File Reference

Function to shuffle elements in a given range. More...

#include "random-variable-stream.h"
#include <algorithm>
#include <iterator>
+ Include dependency graph for shuffle.h:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

template<typename RND_ACCESS_ITER >
void ns3::Shuffle (RND_ACCESS_ITER first, RND_ACCESS_ITER last, Ptr< UniformRandomVariable > rv)
 Shuffle the elements in the range first to last.
 

Detailed Description

Function to shuffle elements in a given range.

Definition in file shuffle.h.