Empirical
Namespaces | Typedefs | Functions
World_reflect.h File Reference

Handle reflection on organisms to setup reasonable defaults in World. More...

#include <functional>
#include <type_traits>
#include "../base/assert.h"
#include "../meta/reflection.h"

Go to the source code of this file.

Namespaces

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

Typedefs

template<typename ORG >
using emp::find_genome_t = decltype(Org2Genome< ORG >(true))
 

Functions

template<typename WORLD , typename ORG >
void emp::SetDefaultFitFun (WORLD &world)
 
template<typename WORLD , typename ORG >
void emp::SetDefaultMutFun (WORLD &world)
 
template<typename WORLD , typename ORG >
void emp::SetDefaultPrintFun (WORLD &world)
 
template<typename WORLD , typename ORG >
void emp::SetDefaultGetGenomeFun (WORLD &world)
 

Detailed Description

Handle reflection on organisms to setup reasonable defaults in World.

Note
This file is part of Empirical, https://github.com/devosoft/Empirical
Date
2017-2018
Note
None of the functions defined here should be called from outside the world object; as such the comments below are not in Doxygen format and should only be used by LIBRARY developers working on World.