Evocosm - A C++ Framework for Evolutionary Computing

Main Index

Created by Scott Robert Ladd at Coyote Gulch Productions.


Static Public Member Functions | Static Protected Member Functions | Static Protected Attributes | List of all members
libevocosm::globals Class Reference

Elements shared by all classes in Evocosm. More...

#include <evocommon.h>

Inheritance diagram for libevocosm::globals:
libevocosm::analyzer< function_solution > libevocosm::analyzer< libevocosm::function_solution > libevocosm::evocosm< libevocosm::function_solution > libevocosm::landscape< function_solution > libevocosm::landscape< libevocosm::function_solution > libevocosm::analyzer< OrganismType > libevocosm::evocosm< OrganismType > libevocosm::evoreal libevocosm::fuzzy_machine< InSize, OutSize > libevocosm::landscape< OrganismType > libevocosm::mutator< OrganismType > libevocosm::organism< Genotype > libevocosm::reproducer< OrganismType > libevocosm::roulette_wheel libevocosm::scaler< OrganismType > libevocosm::selector< OrganismType > libevocosm::simple_machine< InSize, OutSize > libevocosm::state_machine< InputT, OutputT > libevocosm::mutator< function_solution > libevocosm::mutator< libevocosm::function_solution > libevocosm::organism< vector< double > > libevocosm::reproducer< function_solution > libevocosm::reproducer< libevocosm::function_solution > libevocosm::scaler< libevocosm::function_solution > libevocosm::selector< libevocosm::function_solution >

Static Public Member Functions

static void set_seed (uint32_t a_seed)
 Set the seed for the random number generator.
 
static uint32_t get_seed ()
 Set the seed for the random number generator.
 
static std::string version ()
 Get version number.
 

Static Protected Member Functions

static size_t rand_index (size_t n)
 Static function to allow use of g_random function pointer in random_shuffle.
 

Static Protected Attributes

static prng g_random
 A shared random number generator.
 
static std::string g_version
 Version number.
 

Detailed Description

All Evocosm classes are derived from this class, a singleton for shared attributes.


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

© 1996-2005 Scott Robert Ladd. All rights reserved.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.