ARB
Public Member Functions | List of all members
probe_combi_statistic Class Reference

#include <MP_probe.hxx>

Inheritance diagram for probe_combi_statistic:
Inheritance graph
[legend]
Collaboration diagram for probe_combi_statistic:
Collaboration graph
[legend]

Public Member Functions

void set_probe_combi (int j, probe *f)
 
probeget_probe_combi (int j)
 
double get_fitness ()
 
double get_expected_children ()
 
int sub_expected_children (double val)
 
void init_stats ()
 
void scale (double a, double b)
 
bool ok_for_next_gen (int &len_roul_wheel)
 
void sub_life_counter ()
 
void init_life_counter ()
 
bool is_dead ()
 
void sigma_truncation (double average_fit, double dev)
 
double calc_fitness (int len_of_field)
 
double calc_expected_children (double average_fitness)
 
void mutate_Probe ()
 
void crossover_Probes (probe_combi_statistic *pcombi2)
 
void swap (probe **a, probe **b)
 
void sort (long feld_laenge)
 
probe_combi_statisticduplicate ()
 
probe_combi_statisticcheck_duplicates (GenerationDuplicates *dup_tree=NULp)
 
int calc_index_system3 (int *field)
 
void print ()
 
void print (probe *p)
 
void print (probe **arr, int length)
 
 probe_combi_statistic (probe **pc=NULp, probe_tabs *ps=NULp, double exp=0, double fit=0, int lifec=MAXLIFEFORCOMBI)
 
 ~probe_combi_statistic ()
 

Detailed Description

Definition at line 45 of file MP_probe.hxx.

Constructor & Destructor Documentation

probe_combi_statistic::probe_combi_statistic ( probe **  pc = NULp,
probe_tabs ps = NULp,
double  exp = 0,
double  fit = 0,
int  lifec = MAXLIFEFORCOMBI 
)

Definition at line 14 of file MP_probe_combi_statistic.cxx.

References mp_gl_awars, awar_vars::no_of_probes, and NULp.

Referenced by duplicate().

probe_combi_statistic::~probe_combi_statistic ( )

Definition at line 35 of file MP_probe_combi_statistic.cxx.

Member Function Documentation

void probe_combi_statistic::set_probe_combi ( int  j,
probe f 
)
inline

Definition at line 63 of file MP_probe.hxx.

Referenced by Generation::gen_determ_combis(), and Generation::init_valuation().

probe* probe_combi_statistic::get_probe_combi ( int  j)
inline
double probe_combi_statistic::get_fitness ( )
inline

Definition at line 66 of file MP_probe.hxx.

Referenced by Generation::calcFitness(), and ProbeValuation::insert_in_result_list().

double probe_combi_statistic::get_expected_children ( )
inline

Definition at line 67 of file MP_probe.hxx.

Referenced by ok_for_next_gen().

int probe_combi_statistic::sub_expected_children ( double  val)

Definition at line 143 of file MP_probe_combi_statistic.cxx.

References MULTROULETTEFACTOR, and result.

void probe_combi_statistic::init_stats ( )

Definition at line 252 of file MP_probe_combi_statistic.cxx.

References MAXLIFEFORCOMBI.

Referenced by crossover_Probes(), and mutate_Probe().

void probe_combi_statistic::scale ( double  a,
double  b 
)
inline

Definition at line 70 of file MP_probe.hxx.

Referenced by Generation::calcFitness().

bool probe_combi_statistic::ok_for_next_gen ( int len_roul_wheel)
void probe_combi_statistic::sub_life_counter ( )
inline

Definition at line 74 of file MP_probe.hxx.

Referenced by Generation::create_next_generation().

void probe_combi_statistic::init_life_counter ( )

Definition at line 55 of file MP_probe_combi_statistic.cxx.

References MAXLIFEFORCOMBI.

Referenced by Generation::create_next_generation().

bool probe_combi_statistic::is_dead ( )
inline

Definition at line 76 of file MP_probe.hxx.

Referenced by ok_for_next_gen().

void probe_combi_statistic::sigma_truncation ( double  average_fit,
double  dev 
)

Definition at line 201 of file MP_probe_combi_statistic.cxx.

References SIGMATRUNCATION_CONST.

double probe_combi_statistic::calc_fitness ( int  len_of_field)
double probe_combi_statistic::calc_expected_children ( double  average_fitness)

Definition at line 323 of file MP_probe_combi_statistic.cxx.

Referenced by Generation::calcFitness().

void probe_combi_statistic::mutate_Probe ( )
void probe_combi_statistic::crossover_Probes ( probe_combi_statistic pcombi2)
void probe_combi_statistic::swap ( probe **  a,
probe **  b 
)
inline

Definition at line 66 of file MP_probe_combi_statistic.cxx.

References help().

Referenced by crossover_Probes().

void probe_combi_statistic::sort ( long  feld_laenge)

Definition at line 59 of file MP_probe_combi_statistic.cxx.

Referenced by check_duplicates().

probe_combi_statistic * probe_combi_statistic::duplicate ( )
probe_combi_statistic * probe_combi_statistic::check_duplicates ( GenerationDuplicates dup_tree = NULp)
int probe_combi_statistic::calc_index_system3 ( int field)
void probe_combi_statistic::print ( )

Definition at line 130 of file MP_probe_combi_statistic.cxx.

References mp_gl_awars, awar_vars::no_of_probes, and probe_tabs::print().

Referenced by print().

void probe_combi_statistic::print ( probe p)

Definition at line 126 of file MP_probe_combi_statistic.cxx.

References probe::allowed_mismatches, and probe::probe_index.

void probe_combi_statistic::print ( probe **  arr,
int  length 
)

Definition at line 138 of file MP_probe_combi_statistic.cxx.

References length, and print().


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