ROOT logo
// @(#)root/tmva $Id: GeneticGenes.cxx 29122 2009-06-22 06:51:30Z brun $    
// Author: Peter Speckmayer

/**********************************************************************************
 * Project: TMVA - a Root-integrated toolkit for multivariate data analysis       *
 * Package: TMVA                                                                  *
 * Class  : TMVA::GeneticGenes                                                    *
 * Web    : http://tmva.sourceforge.net                                           *
 *                                                                                *
 * Description:                                                                   *
 *      Implementation (see header for description)                               *
 *                                                                                *
 * Authors (alphabetical):                                                        *
 *      Peter Speckmayer <speckmay@mail.cern.ch>  - CERN, Switzerland             *
 *                                                                                *
 * Copyright (c) 2005:                                                            *
 *      CERN, Switzerland                                                         *
 *      MPI-K Heidelberg, Germany                                                 *
 *                                                                                *
 * Redistribution and use in source and binary forms, with or without             *
 * modification, are permitted according to the terms listed in LICENSE           *
 * (http://tmva.sourceforge.net/LICENSE)                                          *
 **********************************************************************************/

#include "TMVA/GeneticGenes.h"
#include "TMVA/GeneticPopulation.h"

//_______________________________________________________________________
//                                                                      
// Cut optimisation interface class for genetic algorithm               //
//_______________________________________________________________________

ClassImp(TMVA::GeneticGenes)
   
//_______________________________________________________________________
TMVA::GeneticGenes::GeneticGenes( std::vector<Double_t> & f  ) 
{
   // Constructor:
   // set the factors of this individual
   fFactors = f;
   fFitness = 0;
}

Bool_t TMVA::operator <(const TMVA::GeneticGenes& first, const TMVA::GeneticGenes& second)
{
   return first.fFitness < second.fFitness;
}
 GeneticGenes.cxx:1
 GeneticGenes.cxx:2
 GeneticGenes.cxx:3
 GeneticGenes.cxx:4
 GeneticGenes.cxx:5
 GeneticGenes.cxx:6
 GeneticGenes.cxx:7
 GeneticGenes.cxx:8
 GeneticGenes.cxx:9
 GeneticGenes.cxx:10
 GeneticGenes.cxx:11
 GeneticGenes.cxx:12
 GeneticGenes.cxx:13
 GeneticGenes.cxx:14
 GeneticGenes.cxx:15
 GeneticGenes.cxx:16
 GeneticGenes.cxx:17
 GeneticGenes.cxx:18
 GeneticGenes.cxx:19
 GeneticGenes.cxx:20
 GeneticGenes.cxx:21
 GeneticGenes.cxx:22
 GeneticGenes.cxx:23
 GeneticGenes.cxx:24
 GeneticGenes.cxx:25
 GeneticGenes.cxx:26
 GeneticGenes.cxx:27
 GeneticGenes.cxx:28
 GeneticGenes.cxx:29
 GeneticGenes.cxx:30
 GeneticGenes.cxx:31
 GeneticGenes.cxx:32
 GeneticGenes.cxx:33
 GeneticGenes.cxx:34
 GeneticGenes.cxx:35
 GeneticGenes.cxx:36
 GeneticGenes.cxx:37
 GeneticGenes.cxx:38
 GeneticGenes.cxx:39
 GeneticGenes.cxx:40
 GeneticGenes.cxx:41
 GeneticGenes.cxx:42
 GeneticGenes.cxx:43
 GeneticGenes.cxx:44
 GeneticGenes.cxx:45
 GeneticGenes.cxx:46
 GeneticGenes.cxx:47