#include <iostream>#include "C1DRecObjective.h"#include "VecMat.h"#include <vector>Include dependency graph for MT Tools/1DMT/testrecobjective.cpp:

Go to the source code of this file.
Functions | |
| int | main () |
| int main | ( | void | ) |
Definition at line 6 of file MT Tools/1DMT/testrecobjective.cpp.
References GeneralObjective::CalcPerformance(), C1DRecObjective::endtime, C1DRecObjective::errorlevel, RecObjective(), C1DRecObjective::slowness, and C1DRecObjective::starttime.
00007 { 00008 const int tries = 200; 00009 C1DRecObjective RecObjective; 00010 CSacDataComp InputData; 00011 gplib::rvec model(6); 00012 InputData.GetData("test.rec"); 00013 RecObjective.starttime = 0; 00014 RecObjective.endtime = 10; 00015 RecObjective.errorlevel = 0.1; 00016 RecObjective.RecData = &InputData; 00017 RecObjective.SynthRec.slowness = 0.07; 00018 RecObjective.SynthRec.omega = 4; 00019 RecObjective.SynthRec.sigma = 0; 00020 RecObjective.SynthRec.shift = 0; 00021 RecObjective.SynthRec.c = 0.001; 00022 00023 std::vector<C1DRecObjective*> ObjVector; 00024 ObjVector.assign(tries,&RecObjective); 00025 for (int i = 0; i < model.size(); ++i) 00026 model(i) = i; 00027 for (int i =0; i < tries; ++i) 00028 RecObjective.CalcPerformance(model); 00029 for (int i = 0; i < tries; ++i) 00030 ObjVector.at(i)->CalcPerformance(model); 00031 }
Here is the call graph for this function:

1.5.1