COPASI API  4.40.278
ResultData Class Reference

#include <CParameterEstimationUtils.h>

Public Member Functions

bool appliesTo (CDataModel *dataModel)
 
void applyToModelState (int row, const std::vector< std::string > &priorities)
 
void applyToModelStateFromOptTask (int row, COptTask *task, const std::vector< std::string > &priorities)
 
std::vector< std::string > getAllExperiments ()
 
FittingItemgetBestItem (const std::vector< FittingItem * > &items, const std::vector< std::string > &priorities)
 
double getBestValueFor (const std::string &name, CheckPoint *data, const std::vector< std::string > &priorities)
 
CFitTaskgetFitTask ()
 
size_t getIndex (const std::vector< FittingItem * > &items, const FittingItem *item)
 
std::vector< FittingItem * > getItems (const std::string &displayName)
 
COptTaskgetOptTask ()
 
int numCheckPoints ()
 
int numFittingItems ()
 
 ResultData ()
 
 ResultData (const std::vector< FittingItem * > &fittingItems, const std::vector< CheckPoint * > &checkPoints, CDataModel *dataModel=NULL, bool isOptimization=false)
 
void setOptItemStartValues (int row, COptTask *optTask)
 
void setTaskStartValues (int row)
 
void updateFitItems ()
 
void updateFitItemsFromOptItems (COptTask *optTask)
 
 ~ResultData ()
 

Public Attributes

std::vector< CheckPoint * > mCheckPoints
 
std::vector< FittingItem * > mFittingItems
 
bool mIsOptimization
 
CDataModelmpDataModel
 

Constructor & Destructor Documentation

◆ ResultData() [1/2]

ResultData::ResultData ( )

◆ ~ResultData()

ResultData::~ResultData ( )

References mCheckPoints, and mFittingItems.

◆ ResultData() [2/2]

ResultData::ResultData ( const std::vector< FittingItem * > &  fittingItems,
const std::vector< CheckPoint * > &  checkPoints,
CDataModel dataModel = NULL,
bool  isOptimization = false 
)

Member Function Documentation

◆ appliesTo()

◆ applyToModelState()

void ResultData::applyToModelState ( int  row,
const std::vector< std::string > &  priorities 
)

◆ applyToModelStateFromOptTask()

◆ getAllExperiments()

std::vector< std::string > ResultData::getAllExperiments ( )

References mFittingItems.

◆ getBestItem()

FittingItem * ResultData::getBestItem ( const std::vector< FittingItem * > &  items,
const std::vector< std::string > &  priorities 
)

Referenced by getBestValueFor().

◆ getBestValueFor()

double ResultData::getBestValueFor ( const std::string &  name,
CheckPoint data,
const std::vector< std::string > &  priorities 
)

◆ getFitTask()

◆ getIndex()

size_t ResultData::getIndex ( const std::vector< FittingItem * > &  items,
const FittingItem item 
)

Referenced by getBestValueFor().

◆ getItems()

std::vector< FittingItem * > ResultData::getItems ( const std::string &  displayName)

References mFittingItems, and sanitizeName().

Referenced by getBestValueFor().

◆ getOptTask()

◆ numCheckPoints()

int ResultData::numCheckPoints ( )

References mCheckPoints.

◆ numFittingItems()

int ResultData::numFittingItems ( )

References mFittingItems.

◆ setOptItemStartValues()

void ResultData::setOptItemStartValues ( int  row,
COptTask optTask 
)

◆ setTaskStartValues()

void ResultData::setTaskStartValues ( int  row)

◆ updateFitItems()

void ResultData::updateFitItems ( )

◆ updateFitItemsFromOptItems()

Member Data Documentation

◆ mCheckPoints

std::vector<CheckPoint*> ResultData::mCheckPoints

◆ mFittingItems

◆ mIsOptimization

bool ResultData::mIsOptimization

◆ mpDataModel


The documentation for this class was generated from the following files: