00001 // DNA.h: interface for the CDNA class. 00002 // 00004 00005 #if !defined(AFX_DNA_H__B03B7764_4F0E_11D3_8AFC_00105AC65E34__INCLUDED_) 00006 #define AFX_DNA_H__B03B7764_4F0E_11D3_8AFC_00105AC65E34__INCLUDED_ 00007 00008 #if _MSC_VER >= 1000 00009 #pragma once 00010 #endif // _MSC_VER >= 1000 00011 00012 class CCell; 00013 00014 class CDNA 00015 { 00016 public: 00017 int CheckTerm(); 00018 void Divide(); 00019 double OddGD(); 00020 void AdvanceFork(); 00021 void OldInit(); 00022 void Termination(); 00023 void ComputeBoxes(); 00024 void EcoInit(); 00025 CDNA(const CDNA& rDNA, CCell* pCell); 00026 CDNA(CCell* pCell); //Constructor 00027 virtual ~CDNA(); 00028 int NTOT; 00029 int NORG; 00030 double MidBound; 00031 00032 private: 00033 int NFTERM; 00034 double gamma(double Z); 00035 double Equilibrium(); 00036 CDNA(); //Default, not to be used 00037 CCell* m_pCell; //Pointer to the parent cell 00038 double GD; //Gene dosage 00039 int NPOS; //Number of fork positions 00040 double DnaABoxes[3]; //number of DnaA boxes 00041 int NumForks[3]; //Number of replicating forks in DNA (formerly NF) 00042 double ForkPos[3]; //Fork position (% total DNA length, formerly FPOS) 00043 double TotalGD; 00044 int NumChrome; //Number of chromosomes 00045 double DnaA; 00046 double Kd[3]; 00047 }; 00048 00049 #endif // !defined(AFX_DNA_H__B03B7764_4F0E_11D3_8AFC_00105AC65E34__INCLUDED_)