15#ifndef _RBT_GPGENOME_H_
16#define _RBT_GPGENOME_H_
18#include "rxdock/Rand.h"
19#include "rxdock/geneticprogram/GPChromosome.h"
20#include "rxdock/geneticprogram/GPTypes.h"
25namespace geneticprogram {
29 static const std::string _CT;
44 static void SetStructure(
int,
int,
int,
int,
int,
int,
int,
int);
45 static int GetNIP() {
return npi; }
46 static void SetNIP(
int n) { npi = n; }
47 static int GetNIF() {
return nfi; }
48 static int GetNN() {
return nn; }
49 static int GetNO() {
return no; }
50 static int GetNSFI() {
return nsfi; }
51 static void SetNSFI(
int n) { nsfi = n; }
55 void SetFitness(
double f) { fitness = f; }
56 double GetFitness()
const {
return fitness; }
59 friend std::ostream &operator<<(std::ostream &s,
const GPGenome &p);
60 std::ostream &Print(std::ostream &)
const;
66 static int npi, nfi, nsfi, no, nn, nf, nr, nc, l;
75typedef std::vector<GPGenomePtr> GPGenomeList;
76typedef GPGenomeList::iterator GPGenomeListIter;
77typedef GPGenomeList::const_iterator GPGenomeListConstIter;
79std::ostream &operator<<(std::ostream &s,
const GPGenome &p);
Definition GPChromosome.h:27