Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

Chromosome.h

Go to the documentation of this file.
00001 /*
00002  * @file    Chromosome.h
00003  * @author  Antonio Jesus Nebro Urbaneja
00004  * @version 1.0
00005  * @date    29 January 2004
00006  * @brief   Header file of Chromosome.cpp
00007  */
00008 
00009 #include <Configuration.h>
00010 
00011 #include <Random.h>
00012 
00013 #include <BinaryGene.h>
00014 #include <RealGene.h>
00015 #include <BinaryGrayRealGene.h>
00016 #include <BinaryRealGene.h>
00017 
00018 #include <MultiobjectiveProblem.h>
00019 
00020 #ifndef __CHROMOSOME__
00021 #define __CHROMOSOME__
00022 
00027 class Chromosome {
00028 public:
00029   int                     length_  ; 
00030   MultiobjectiveProblem * problem_ ; 
00031   Gene                 ** gene_    ; 
00032   
00033   
00034   // Constructors
00035   Chromosome(MultiobjectiveProblem * problem, Random * random) ;
00036   Chromosome(Chromosome & chromosome) ;
00037   Chromosome(Chromosome * chromosome) ;
00038   
00039   // Destructor
00040   ~Chromosome() ;
00041   
00042   // Operators
00043   Chromosome & operator=(Chromosome & chromosome) ;
00044   friend ostream& operator<< (ostream& outputStream, Chromosome& chromosome) ;
00045 } ; // Chromosome
00046 
00047 #endif

Generated on Wed Feb 11 10:38:00 2004 for Paes by doxygen 1.3.3