parallel_swarm_search.hpp
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace pass
6 {
17 {
18 public:
24  arma::uword swarm_size;
25 
31  double inertia;
32 
40 
48 
58 
59 #if defined(SUPPORT_MPI)
60 
65  arma::uword migration_stall;
66 #endif
67 
71  parallel_swarm_search() noexcept;
72 
73  virtual optimise_result optimise(const pass::problem &problem);
74 
75 private:
81 #if defined(SUPPORT_OPENMP)
82  int number_threads;
83 #endif
84 };
85 } // namespace pass
Definition: optimiser.hpp:83
double neighbourhood_probability
Definition: parallel_swarm_search.hpp:57
Definition: optimiser.hpp:25
arma::uword swarm_size
Definition: parallel_swarm_search.hpp:24
parallel_swarm_search() noexcept
Definition: parallel_swarm_search.cpp:5
virtual optimise_result optimise(const pass::problem &problem)
Definition: parallel_swarm_search.cpp:24
Definition: problem.hpp:20
Definition: parallel_swarm_search.hpp:16
double cognitive_acceleration
Definition: parallel_swarm_search.hpp:39
Definition: adaptive_parameter_search.hpp:5
double inertia
Definition: parallel_swarm_search.hpp:31
double social_acceleration
Definition: parallel_swarm_search.hpp:47