Public Member Functions | List of all members
Generation Class Reference

#include <MP_probe.hxx>

Inheritance diagram for Generation:
Inheritance graph
Collaboration diagram for Generation:
Collaboration graph

Public Member Functions

double get_avg_fit ()
int get_generation ()
GenerationDuplicatesget_dup_tree ()
void set_length ()
void check_for_results ()
bool insert (probe_combi_statistic *pcs)
void init_valuation ()
void gen_determ_combis (int beg, int len, int &pos_counter, probe_combi_statistic *p)
bool calcFitness (bool use_genetic_algo, double old_avg_fit)
void init_roulette_wheel ()
Generationcreate_next_generation ()
probe_combi_statisticsingle_in_generation (probe_combi_statistic *field)
void print ()
 Generation (int len, int gen_nr)
 ~Generation ()

Detailed Description

Definition at line 102 of file MP_probe.hxx.

Constructor & Destructor Documentation

Generation::Generation ( int  len,
int  gen_nr 
Generation::~Generation ( )

Definition at line 328 of file MP_Generation.cxx.

Member Function Documentation

double Generation::get_avg_fit ( )

Definition at line 124 of file MP_probe.hxx.

Referenced by ProbeValuation::evolution().

int Generation::get_generation ( )

Definition at line 125 of file MP_probe.hxx.

Referenced by ProbeValuation::evolution().

GenerationDuplicates* Generation::get_dup_tree ( )

Definition at line 126 of file MP_probe.hxx.

Referenced by create_next_generation().

void Generation::set_length ( )

Definition at line 127 of file MP_probe.hxx.

Referenced by create_next_generation().

void Generation::check_for_results ( )
bool Generation::insert ( probe_combi_statistic pcs)

Definition at line 268 of file MP_Generation.cxx.

References probe_combi_statistic::duplicate(), and MAXPOPULATION.

Referenced by create_next_generation().

void Generation::init_valuation ( )
void Generation::gen_determ_combis ( int  beg,
int  len,
int pos_counter,
probe_combi_statistic p 
bool Generation::calcFitness ( bool  use_genetic_algo,
double  old_avg_fit 
void Generation::init_roulette_wheel ( )

Definition at line 126 of file MP_Generation.cxx.


Referenced by calcFitness().

Generation * Generation::create_next_generation ( )
probe_combi_statistic * Generation::single_in_generation ( probe_combi_statistic field)

Definition at line 16 of file MP_Generation.cxx.

References GenerationDuplicates::insert(), NULp, and result.

void Generation::print ( )

Definition at line 31 of file MP_Generation.cxx.

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