1 #ifndef rrSBMLTestSuiteModelSimulationH
2 #define rrSBMLTestSuiteModelSimulationH
5 #include "rrSBMLModelSimulation.h"
6 #include "rrStringUtils.h"
7 #include "rrRoadRunnerOptions.h"
8 #include "rrRoadRunnerData.h"
16 class RR_DECLSPEC TestSuiteModelSimulation :
public SBMLModelSimulation
19 int mCurrentCaseNumber;
20 std::string mIntegratorName;
21 std::filesystem::path mModelSettingsFileName;
22 RoadRunnerData mResultData;
23 RoadRunnerData mReferenceData;
24 RoadRunnerData mErrorData;
25 std::filesystem::path GetSettingsFileNameForCase(
int sim_case);
26 std::filesystem::path GetReferenceDataFileNameForCase(
int caseNr);
27 int mNrOfFailingPoints;
31 explicit TestSuiteModelSimulation(
const std::filesystem::path& dataOutputFolder =
"",
const std::filesystem::path& modelFilePath =
"",
const std::filesystem::path& modelFileName =
"");
32 ~TestSuiteModelSimulation()
override;
33 void SetCaseNumber(
int cNr);
34 void SetIntegrator(std::string integrator);
35 bool LoadReferenceData(std::filesystem::path refDataFileName =
"");
36 bool CreateErrorData();
38 bool CopyFilesToOutputFolder();
39 double LargestError();
41 int NrOfFailingPoints();
42 bool LoadSettings(
const std::filesystem::path& fName =
"")
override;
43 virtual bool LoadSettingsEx(
const std::filesystem::path& settingsFName);