00001 #include "EGFRTraffickingEnsembleDirector.h"
00002
00003 CEGFRTraffickingEnsembleDirector::CEGFRTraffickingEnsembleDirector(int ensembleSize)
00004 :CEnsembleCombinationDirector(ensembleSize)
00005 {
00006 double maxSimTime = 241.0;
00007 int intTime = (int) (maxSimTime + 2);
00008 double stepSize = 0.0001;
00009 double frequency = 1.0;
00010 double moveTol = 1.0e-6;
00011 bool rateFlag = true;
00012 bool chemFlag = false;
00013 bool logsFlag = false;
00014 double timeWeight = 1.0;
00015 double rateWeight = 0.0;
00016 double chemWeight = 0.0;
00017 int nCells = 1;
00018
00019 int oldcnt = 0;
00020 int newcnt = 0;
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00117 m_vpExperiments.push_back(new Experiment(m_vpNetworks[oldcnt],"EGF at 5 ng/ml, Bao 2000"));
00118
00119 m_vpExperiments[oldcnt]->AddDataFileToList("../DataFiles/TimeSeries/InternalizedEGFREGFYarden.dat");
00120
00121 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00122
00123 m_vpMinimizables.push_back(new SingleNetworkMinimizable());
00124
00125 m_vpMinimizables[oldcnt]->Initialize(m_vpExperiments[oldcnt],m_vpMovers[oldcnt],nCells,rateFlag,chemFlag,logsFlag,timeWeight,rateWeight,chemWeight);
00126 m_vpMinimizables[oldcnt]->SetRateConstantsWeight(0.0);
00127
00128 m_vpEnsembleDataPlotters.push_back(new GnuPlotterEnsembleDataDirectorObserver());
00129 m_vpEnsembleDataPlotters[oldcnt]->SetTitle("EGF at 5 ng/ml, Bao 2000 : ODE");
00130 m_vpEnsembleDataPlotters[oldcnt]->FixMinimizable(oldcnt);
00131 this->Attach(m_vpEnsembleDataPlotters[oldcnt]);
00132 oldcnt++;
00133
00134
00135
00136 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00137 m_vpExperiments.push_back(new Experiment(m_vpNetworks[oldcnt],"EGF at 100 nM, Davis 1992"));
00138
00139 m_vpExperiments[oldcnt]->AddDataFileToList("../DataFiles/TimeSeries/SurfaceEGFREGFDavis100nM.dat");
00140
00141 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00142
00143 m_vpMinimizables.push_back(new SingleNetworkMinimizable());
00144
00145 m_vpMinimizables[oldcnt]->Initialize(m_vpExperiments[oldcnt],m_vpMovers[oldcnt],nCells,rateFlag,chemFlag,logsFlag,timeWeight,rateWeight,chemWeight);
00146 m_vpMinimizables[oldcnt]->GetConversionFactor(47)->SetFactorFixed(true);
00147 m_vpMinimizables[oldcnt]->GetConversionFactor(47)->SetFactorValue(100.0/82000.0);
00148 m_vpMinimizables[oldcnt]->SetRateConstantsWeight(0.0);
00149
00150 m_vpEnsembleDataPlotters.push_back(new GnuPlotterEnsembleDataDirectorObserver());
00151 m_vpEnsembleDataPlotters[oldcnt]->SetTitle("EGF at 100 nM, Davis 1992 : ODE");
00152 m_vpEnsembleDataPlotters[oldcnt]->FixMinimizable(oldcnt);
00153 this->Attach(m_vpEnsembleDataPlotters[oldcnt]);
00154 oldcnt++;
00155
00156
00157
00158 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00159 m_vpExperiments.push_back(new Experiment(m_vpNetworks[oldcnt],"EGF at 10 nM, Davis 1992"));
00160
00161 m_vpExperiments[oldcnt]->AddDataFileToList("../DataFiles/TimeSeries/SurfaceEGFREGFDavis10nM.dat");
00162
00163 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00164
00165 m_vpMinimizables.push_back(new SingleNetworkMinimizable());
00166
00167 m_vpMinimizables[oldcnt]->Initialize(m_vpExperiments[oldcnt],m_vpMovers[oldcnt],nCells,rateFlag,chemFlag,logsFlag,timeWeight,rateWeight,chemWeight);
00168 m_vpMinimizables[oldcnt]->GetConversionFactor(47)->SetFactorFixed(true);
00169 m_vpMinimizables[oldcnt]->GetConversionFactor(47)->SetFactorValue(100.0/82000.0);
00170 m_vpMinimizables[oldcnt]->SetRateConstantsWeight(0.0);
00171
00172 m_vpEnsembleDataPlotters.push_back(new GnuPlotterEnsembleDataDirectorObserver());
00173 m_vpEnsembleDataPlotters[oldcnt]->SetTitle("EGF at 10 nM, Davis 1992 : ODE");
00174 m_vpEnsembleDataPlotters[oldcnt]->FixMinimizable(oldcnt);
00175 this->Attach(m_vpEnsembleDataPlotters[oldcnt]);
00176 oldcnt++;
00177
00178
00179
00180 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00181 m_vpExperiments.push_back(new Experiment(m_vpNetworks[oldcnt],"EGF at 1 nM, Davis 1992"));
00182
00183 m_vpExperiments[oldcnt]->AddDataFileToList("../DataFiles/TimeSeries/SurfaceEGFREGFDavis1nM.dat");
00184
00185 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00186
00187 m_vpMinimizables.push_back(new SingleNetworkMinimizable());
00188
00189 m_vpMinimizables[oldcnt]->Initialize(m_vpExperiments[oldcnt],m_vpMovers[oldcnt],nCells,rateFlag,chemFlag,logsFlag,timeWeight,rateWeight,chemWeight);
00190 m_vpMinimizables[oldcnt]->GetConversionFactor(47)->SetFactorFixed(true);
00191 m_vpMinimizables[oldcnt]->GetConversionFactor(47)->SetFactorValue(100.0/82000.0);
00192 m_vpMinimizables[oldcnt]->SetRateConstantsWeight(0.0);
00193
00194 m_vpEnsembleDataPlotters.push_back(new GnuPlotterEnsembleDataDirectorObserver());
00195 m_vpEnsembleDataPlotters[oldcnt]->SetTitle("EGF at 1 nM, Davis 1992 : ODE");
00196 m_vpEnsembleDataPlotters[oldcnt]->FixMinimizable(oldcnt);
00197 this->Attach(m_vpEnsembleDataPlotters[oldcnt]);
00198 oldcnt++;
00199
00200
00201
00202 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00203 m_vpExperiments.push_back(new Experiment(m_vpNetworks[oldcnt],"EGF at 100 ng/ml, Levkowitz 1999"));
00204
00205 m_vpExperiments[oldcnt]->AddDataFileToList("../DataFiles/TimeSeries/SurfaceEGFREGFLevkowitz.dat");
00206
00207 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00208
00209 m_vpMinimizables.push_back(new SingleNetworkMinimizable());
00210
00211 m_vpMinimizables[oldcnt]->Initialize(m_vpExperiments[oldcnt],m_vpMovers[oldcnt],nCells,rateFlag,chemFlag,logsFlag,timeWeight,rateWeight,chemWeight);
00212 m_vpMinimizables[oldcnt]->GetConversionFactor(47)->SetFactorFixed(true);
00213 m_vpMinimizables[oldcnt]->GetConversionFactor(47)->SetFactorValue(100.0/80000.0);
00214 m_vpMinimizables[oldcnt]->SetRateConstantsWeight(0.0);
00215
00216 m_vpEnsembleDataPlotters.push_back(new GnuPlotterEnsembleDataDirectorObserver());
00217 m_vpEnsembleDataPlotters[oldcnt]->SetTitle("EGF at 100 ng/ml, Levkowitz 1999 : ODE");
00218 m_vpEnsembleDataPlotters[oldcnt]->FixMinimizable(oldcnt);
00219 this->Attach(m_vpEnsembleDataPlotters[oldcnt]);
00220 oldcnt++;
00221
00222
00223
00224 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00225 m_vpExperiments.push_back(new Experiment(m_vpNetworks[oldcnt],"EGF at 100 ng/ml, Y1045F EGFR, Levkowitz 1999"));
00226
00227 m_vpExperiments[oldcnt]->AddDataFileToList("../DataFiles/TimeSeries/SurfaceEGFREGFY1045FLevkowitz.dat");
00228
00229 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00230
00231 m_vpMinimizables.push_back(new SingleNetworkMinimizable());
00232
00233 m_vpMinimizables[oldcnt]->Initialize(m_vpExperiments[oldcnt],m_vpMovers[oldcnt],nCells,rateFlag,chemFlag,logsFlag,timeWeight,rateWeight,chemWeight);
00234 m_vpMinimizables[oldcnt]->GetConversionFactor(47)->SetFactorFixed(true);
00235 m_vpMinimizables[oldcnt]->GetConversionFactor(47)->SetFactorValue(100.0/80000.0);
00236 m_vpMinimizables[oldcnt]->SetRateConstantsWeight(0.0);
00237
00238 m_vpEnsembleDataPlotters.push_back(new GnuPlotterEnsembleDataDirectorObserver());
00239 m_vpEnsembleDataPlotters[oldcnt]->SetTitle("EGF at 100 ng/ml, Y1045 EGFR, Levkowitz 1999 : ODE");
00240 m_vpEnsembleDataPlotters[oldcnt]->FixMinimizable(oldcnt);
00241 this->Attach(m_vpEnsembleDataPlotters[oldcnt]);
00242 oldcnt++;
00243
00244
00245
00246 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00247 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00248 int nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00249 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00250 m_vpRunnables.push_back(new CRunnable());
00251 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00252
00253 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00254 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR overexpressed, EGF at 100 ng/ml : ODE");
00255 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00256 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00257 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00258 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00259 oldcnt++;
00260 newcnt++;
00261
00262
00263 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00264 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00265 nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00266 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00267 m_vpRunnables.push_back(new CRunnable());
00268 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00269
00270 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00271 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR + wt Cdc42, EGF at 100 ng/ml : ODE");
00272 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00273 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00274 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00275 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00276 oldcnt++;
00277 newcnt++;
00278
00279
00280 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00281 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00282 nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00283 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00284 m_vpRunnables.push_back(new CRunnable());
00285 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00286
00287 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00288 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR + Cdc42(Q61L), EGF at 100 ng/ml : ODE");
00289 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00290 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00291 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00292 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00293 oldcnt++;
00294 newcnt++;
00295
00296
00297 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00298 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00299 nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00300 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00301 m_vpRunnables.push_back(new CRunnable());
00302 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00303
00304 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00305 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR + Cdc42(T17N), EGF at 100 ng/ml : ODE");
00306 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00307 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00308 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00309 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00310 oldcnt++;
00311 newcnt++;
00312
00313
00314
00315 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00316 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00317 nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00318 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00319 m_vpRunnables.push_back(new CRunnable());
00320 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00321
00322 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00323 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR + Cdc42(dL8), EGF at 100 ng/ml : ODE");
00324 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00325 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00326 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00327 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00328 oldcnt++;
00329 newcnt++;
00330
00331
00332 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00333 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00334 nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00335 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00336 m_vpRunnables.push_back(new CRunnable());
00337 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00338
00339 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00340 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR + Cdc42(Lss), EGF at 100 ng/ml : ODE");
00341 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00342 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00343 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00344 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00345 oldcnt++;
00346 newcnt++;
00347
00348
00349 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00350 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00351 nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00352 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00353 m_vpRunnables.push_back(new CRunnable());
00354 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00355
00356 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00357 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR + Cdc42(Q61L/dL8), EGF at 100 ng/ml : ODE");
00358 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00359 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00360 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00361 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00362 oldcnt++;
00363 newcnt++;
00364
00365
00366 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00367 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00368 nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00369 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00370 m_vpRunnables.push_back(new CRunnable());
00371 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00372
00373 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00374 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR + Cdc42(Q61L/Lss), EGF at 100 ng/ml : ODE");
00375 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00376 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00377 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00378 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00379 oldcnt++;
00380 newcnt++;
00381
00382
00383 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00384 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00385 nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00386 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00387 m_vpRunnables.push_back(new CRunnable());
00388 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00389
00390 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00391 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR + Cdc42(F28L), EGF at 100 ng/ml : ODE");
00392 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00393 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00394 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00395 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00396 oldcnt++;
00397 newcnt++;
00398
00399
00400 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00401 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00402 nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00403 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00404 m_vpRunnables.push_back(new CRunnable());
00405 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00406
00407 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00408 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR + Cdc42(F28L/dL8), EGF at 100 ng/ml : ODE");
00409 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00410 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00411 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00412 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00413 oldcnt++;
00414 newcnt++;
00415
00416
00417 m_vpNetworks.push_back(new CEGFRTraffickingNetwork());
00418 m_vpMovers.push_back(new CQualityControlCashKarpMover(frequency,stepSize,moveTol));
00419 nChemicals = m_vpNetworks[oldcnt]->GetNumberOfChemicals();
00420 m_vpCellObservers.push_back(new CellAverageObserver(nChemicals,intTime,1));
00421 m_vpRunnables.push_back(new CRunnable());
00422 m_vpRunnables[newcnt]->SetComponents(m_vpNetworks[oldcnt],m_vpMovers[oldcnt],m_vpCellObservers[newcnt]);
00423
00424 m_vpEnsembleRunPlotters.push_back(new GnuPlotterEnsembleRunDirectorObserver());
00425 m_vpEnsembleRunPlotters[newcnt]->SetTitle("EGFR + Cdc42(F28L/Lss), EGF at 100 ng/ml : ODE");
00426 m_vpEnsembleRunPlotters[newcnt]->FixRunnable(newcnt);
00427 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(58);
00428 m_vpEnsembleRunPlotters[newcnt]->AddChemicalToList(59);
00429 this->Attach(m_vpEnsembleRunPlotters[newcnt]);
00430
00431
00432
00433 SumAllocate();
00434
00435
00436 DefineRuns();
00437
00438
00439 DefineExperiments();
00440
00441
00442 LoadEnsembleInfo("ensemble.par");
00443 }
00444
00445 CEGFRTraffickingEnsembleDirector::~CEGFRTraffickingEnsembleDirector(void)
00446 {
00447 for(int i = 0; i < m_vpEnsembleRunPlotters.size(); i++)
00448 {
00449 this->Detach(m_vpEnsembleRunPlotters[i]);
00450 }
00451 for(i = 0; i < m_vpEnsembleDataPlotters.size(); i++)
00452 {
00453 this->Detach(m_vpEnsembleDataPlotters[i]);
00454 }
00455 }
00456
00457
00458 void CEGFRTraffickingEnsembleDirector::DefineRuns()
00459 {
00460 int cnt = 0;
00461
00462 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(64);
00463 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00464 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00465 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00466 cnt++;
00467
00468
00469
00470 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(64);
00471 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00472 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00473 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(35)->SetInitialAmount(2*600000);
00474 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00475 cnt++;
00476
00477
00478 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(64);
00479 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(59);
00480 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(58);
00481 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(25);
00482 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(24);
00483 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(17);
00484 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(16);
00485 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(6);
00486 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00487 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00488
00489 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(35)->SetInitialAmount(0.0);
00490 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(36)->SetInitialAmount(2*600000);
00491 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00492 cnt++;
00493
00494
00495 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(64);
00496 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(5);
00497 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(4);
00498 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(3);
00499 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(2);
00500 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00501 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00502 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(35)->SetInitialAmount(2*600000);
00503 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00504 cnt++;
00505
00506
00507 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(64);
00508 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(22);
00509 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(20);
00510 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00511 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00512
00513 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(35)->SetInitialAmount(2*600000);
00514 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00515 cnt++;
00516
00517
00518 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(64);
00519 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(55);
00520 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(54);
00521 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00522 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00523
00524 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(35)->SetInitialAmount(2*600000);
00525 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00526 cnt++;
00527
00528
00529 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(64);
00530 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(59);
00531 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(58);
00532 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(25);
00533 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(24);
00534 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(22);
00535 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(20);
00536 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(17);
00537 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(16);
00538 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(6);
00539 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00540 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00541
00542 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(35)->SetInitialAmount(0.0);
00543 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(36)->SetInitialAmount(2*600000);
00544 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00545 cnt++;
00546
00547
00548 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(64);
00549 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(59);
00550 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(58);
00551 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(55);
00552 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(54);
00553 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(25);
00554 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(24);
00555 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(17);
00556 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(16);
00557 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(6);
00558 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00559 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00560
00561 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(35)->SetInitialAmount(0.0);
00562 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(36)->SetInitialAmount(2*600000);
00563 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00564 cnt++;
00565
00566
00567 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00568 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00569
00570 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(35)->SetInitialAmount(0.0);
00571 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(36)->SetInitialAmount(2*600000);
00572 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00573 cnt++;
00574
00575
00576 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(22);
00577 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(20);
00578 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00579 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00580
00581 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(35)->SetInitialAmount(0.0);
00582 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(36)->SetInitialAmount(2*600000);
00583 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00584 cnt++;
00585
00586
00587 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(55);
00588 m_vpRunnables[cnt]->GetReactionNetwork()->RemoveReaction(54);
00589 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00590 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(100000);
00591
00592 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(35)->SetInitialAmount(0.0);
00593 m_vpRunnables[cnt]->GetReactionNetwork()->GetChemical(36)->SetInitialAmount(2*600000);
00594 m_vpRunnables[cnt]->GetReactionNetwork()->ChemicalReset();
00595 cnt++;
00596
00597
00598 return;
00599 }
00600
00601 void CEGFRTraffickingEnsembleDirector::DefineExperiments()
00602 {
00603
00604
00605
00606
00607
00608
00609
00610
00611
00612
00613
00614
00615
00616
00617
00618
00619
00620
00621
00622
00623
00624
00625
00626
00627
00628
00629
00630
00631 m_vpMinimizables[0]->GetExperiment()->GetReactionNetwork()->RemoveReaction(64);
00632 m_vpMinimizables[0]->GetExperiment()->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(600000.0);
00633 m_vpMinimizables[0]->GetExperiment()->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(80000.0);
00634 m_vpMinimizables[0]->GetExperiment()->GetReactionNetwork()->ChemicalReset();
00635
00636
00637 m_vpMinimizables[1]->GetExperiment()->GetReactionNetwork()->RemoveReaction(64);
00638 m_vpMinimizables[1]->GetExperiment()->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(7.2e+007);
00639 m_vpMinimizables[1]->GetExperiment()->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(82000);
00640 m_vpMinimizables[1]->GetExperiment()->GetReactionNetwork()->ChemicalReset();
00641
00642
00643 m_vpMinimizables[2]->GetExperiment()->GetReactionNetwork()->RemoveReaction(64);
00644 m_vpMinimizables[2]->GetExperiment()->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(7.2e+006);
00645 m_vpMinimizables[2]->GetExperiment()->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(82000);
00646 m_vpMinimizables[2]->GetExperiment()->GetReactionNetwork()->ChemicalReset();
00647
00648
00649 m_vpMinimizables[3]->GetExperiment()->GetReactionNetwork()->RemoveReaction(64);
00650 m_vpMinimizables[3]->GetExperiment()->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(7.2e+005);
00651 m_vpMinimizables[3]->GetExperiment()->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(82000);
00652 m_vpMinimizables[3]->GetExperiment()->GetReactionNetwork()->ChemicalReset();
00653
00654
00655 m_vpMinimizables[4]->GetExperiment()->GetReactionNetwork()->RemoveReaction(64);
00656 m_vpMinimizables[4]->GetExperiment()->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00657 m_vpMinimizables[4]->GetExperiment()->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(80000);
00658 m_vpMinimizables[4]->GetExperiment()->GetReactionNetwork()->ChemicalReset();
00659
00660
00661 m_vpMinimizables[5]->GetExperiment()->GetReactionNetwork()->RemoveReaction(64);
00662 m_vpMinimizables[5]->GetExperiment()->GetReactionNetwork()->RemoveReaction(42);
00663 m_vpMinimizables[5]->GetExperiment()->GetReactionNetwork()->RemoveReaction(41);
00664 m_vpMinimizables[5]->GetExperiment()->GetReactionNetwork()->RemoveReaction(40);
00665 m_vpMinimizables[5]->GetExperiment()->GetReactionNetwork()->GetChemical(0)->SetInitialAmount(1.2e+007);
00666 m_vpMinimizables[5]->GetExperiment()->GetReactionNetwork()->GetChemical(2)->SetInitialAmount(80000);
00667 m_vpMinimizables[5]->GetExperiment()->GetReactionNetwork()->ChemicalReset();
00668 }