Empirical
Classes | Namespaces | Functions
World_structure.h File Reference

Functions for popular world structure methods. More...

#include "../base/assert.h"
#include "../base/vector.h"
#include "../data/Trait.h"
#include "../tools/Random.h"
#include "../tools/vector_utils.h"

Go to the source code of this file.

Classes

class  emp::World< ORG >
 Setup a World with a population of organisms that can evolve or deal with ecological effects. More...
 
class  emp::WorldPosition
 
class  emp::WorldVector< T >
 A vector that can be indexed with a WorldPosition. More...
 
struct  emp::World_MinDistInfo< ORG >
 Build a class to track distances between organisms. More...
 

Namespaces

 emp
 If we are in emscripten, make sure to include the header.
 

Functions

template<typename ORG >
void emp::SetPools (World< ORG > &world, size_t num_pools, size_t pool_size, bool synchronous_gen=false)
 
template<typename ORG >
void emp::SetMapElites (World< ORG > &world, TraitSet< ORG > traits, const emp::vector< size_t > &trait_counts)
 
template<typename ORG >
void emp::SetMapElites (World< ORG > &world, TraitSet< ORG > traits)
 
template<typename ORG >
void emp::SetMapElites (World< ORG > &world, const emp::vector< size_t > &trait_counts)
 
template<typename ORG >
void emp::SetMapElites (World< ORG > &world)
 
template<typename ORG >
void emp::SetDiverseElites (World< ORG > &world, TraitSet< ORG > traits, size_t world_size)
 This first version will setup a Diverse-Elites world and specify traits to use. More...
 
template<typename ORG >
void emp::SetDiverseElites (World< ORG > &world, size_t world_size)
 Setup a Diverse-Elites world, given the provided world already has set of phenotypes. More...
 

Detailed Description

Functions for popular world structure methods.

Note
This file is part of Empirical, https://github.com/devosoft/Empirical
Date
2017-2018