factories for soultion containers
More...
#include <dena.h>
|
static flow | create (std::string id, int n_particles, int group_size) |
| create a solution More...
|
|
static flow | create (std::string id, int n_particles) |
|
static flow | create (std::string id) |
|
static flow | take_best (std::string des, std::string src) |
| take best solutions from another container only if any of the solutions in source was better than any solution in the destination More...
|
|
static flow | eval (std::string id) |
| evaluate all solutions in a container More...
|
|
factories for soultion containers
◆ create()
static flow rocky::zagros::dena::container::create |
( |
std::string |
id, |
|
|
int |
n_particles, |
|
|
int |
group_size |
|
) |
| |
|
inlinestatic |
create a solution
- Parameters
-
id | std::string container's id |
n_particles | int number of particles |
group_size | int size of each group |
- Returns
- * flow
◆ eval()
static flow rocky::zagros::dena::container::eval |
( |
std::string |
id | ) |
|
|
inlinestatic |
evaluate all solutions in a container
- Parameters
-
- Returns
- * flow
◆ take_best()
static flow rocky::zagros::dena::container::take_best |
( |
std::string |
des, |
|
|
std::string |
src |
|
) |
| |
|
inlinestatic |
take best solutions from another container only if any of the solutions in source was better than any solution in the destination
- Parameters
-
des | destination container |
src | source container |
- Returns
- * flow
The documentation for this class was generated from the following file: