Cheaters.h File Reference

the file provide the interface to configure the behaviour of the cheaters.
More precisely, it is possible to configure the following elements: More...

Classes

class  FT::Cheater< Engine >
 This class modelize a generic cheater and is used as a base class for specialized cheaters. A cheat interviene at different granularity of tasks. More...
class  FT::BernouilliCheater< Engine >
class  FT::ExponentialCheater< Engine >

Namespaces

namespace  FT
 

Namespace for everything linked to Fault tolerance aspects.


Enumerations

enum  FT::eprng_t {
  FT::PRNG_RAND,
  FT::PRNG_RAND48,
  FT::PRNG_MT19937
}
 

Pseudo random generator to be used -- see http://www.boost.org/libs/random/random-generators.html.

More...
enum  FT::edistribution_t {
  FT::UNIFORM,
  FT::EXPONENTIAL,
  FT::REVERSE_EXPONENTIAL,
  FT::NORMAL,
  FT::LOGNORMAL,
  FT::UNDEFINED
}
 

Distribution to be used -- see http://www.boost.org/libs/random/random-distributions.html.

More...
enum  FT::task_level_t {
  FT::NO_TASK_LEVEL = 0x0u,
  FT::TASK_LEVEL_0 = 0x1u,
  FT::TASK_LEVEL_1 = 0x2u,
  FT::ANY_TASK_LEVEL = 0xFFu
}
enum  FT::task_type_t {
  FT::TASK_GENERATE = 0x1u,
  FT::TASK_ASSIGN_INPUT_VALUE_TO_TERMINALS = 0x2u,
  FT::TASK_EVALUATE = 0x4u,
  FT::TASK_FITNESS = 0x8u,
  FT::TASK_ELITISM = 0x10u,
  FT::TASK_RUN_SINGLE_GENERATION = 0x20u,
  FT::TASK_TOURNAMENT_SELECTION = 0x40u,
  FT::TASK_INDIVIDUAL_OPERATOR = 0x80u,
  FT::ALL_TASKS = 0xFFu
}
enum  FT::cheat_mode_t {
  FT::CHEAT_UNIFORM,
  FT::CHEAT_OVER_GENERATIONS,
  FT::CHEAT_OVER_SEQUENTIAL_ORDER
}

Functions

std::ostream & FT::operator<< (std::ostream &os, const eprng_t prng)
std::ostream & FT::operator<< (std::ostream &os, const edistribution_t d)
std::ostream & FT::operator<< (std::ostream &os, const task_level_t c)
std::ostream & FT::operator<< (std::ostream &os, const task_type_t t)
std::ostream & FT::operator<< (std::ostream &os, const cheat_mode_t t)
template<class T >
std::ostream & FT::operator<< (std::ostream &os, const Cheater< T > &c)
template<class T >
std::ostream & FT::operator<< (std::ostream &os, const BernouilliCheater< T > &c)
template<class T >
std::ostream & FT::operator<< (std::ostream &os, const ExponentialCheater< T > &c)

Variables

const size_t FT::LEVEL_0_WIDTH = 6

Detailed Description

the file provide the interface to configure the behaviour of the cheaters.
More precisely, it is possible to configure the following elements:

Author:
Marek Ostaszewski <Marek.Ostaszewski@uni.lu>, Sebastien Varrette <Sebastien.Varrette@uni.lu>
Date:
Fri May 16 2008

Copyright (c) 2008 Marek Ostaszewski, Sebastien Varrette (see COPYING)


Generated on Fri Dec 11 22:28:17 2009 for LibGEP by  doxygen 1.6.1