random.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <armadillo> // arma::vec
4 #include <vector> // vector
5 
6 namespace pass
7 {
11 double random_double_uniform_in_range(double min, double max);
12 
16 int random_integer_uniform_in_range(int min, int max);
17 
21 arma::rowvec integers_uniform_in_range(const int min, const int max, const int count);
22 
27 arma::vec random_neighbour(const arma::vec &agent,
28  const double minimal_distance,
29  const double maximal_distance);
30 
31 } // namespace pass
arma::rowvec integers_uniform_in_range(const int min, const int max, const int count)
Definition: random.cpp:29
double random_double_uniform_in_range(double min, double max)
Definition: random.cpp:6
arma::vec random_neighbour(const arma::vec &agent, const double minimal_distance, const double maximal_distance)
Definition: random.cpp:48
Definition: adaptive_parameter_search.hpp:5
int random_integer_uniform_in_range(int min, int max)
Definition: random.cpp:13