RockyML  0.0.1
A High-Performance Scientific Computing Framework
rocky::zagros::dena::container Class Reference

factories for soultion containers More...

#include <dena.h>

Static Public Member Functions

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...
 

Detailed Description

factories for soultion containers

Member Function Documentation

◆ create()

static flow rocky::zagros::dena::container::create ( std::string  id,
int  n_particles,
int  group_size 
)
inlinestatic

create a solution

Parameters
idstd::string container's id
n_particlesint number of particles
group_sizeint 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
idtarget container
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
desdestination container
srcsource container
Returns
* flow

The documentation for this class was generated from the following file: