#include <TestConditOmegaCalculator.h>
Public Member Functions | |
void | TestConditOmegaCalculator () |
Performs all the tests from one function. | |
Protected Member Functions | |
void | TestNormalProcessingRun1 (clSimManager *p_oSimManager) |
Tests normal processing, run 1. | |
void | TestNormalProcessingRun2 (clSimManager *p_oSimManager) |
Tests normal processing, run 2. | |
void | TestErrorProcessing (clSimManager *p_oSimManager) |
Tests error processing. | |
void | CreateTrees (clTreePopulation *p_oPop, clPlot *p_oPlot, float fOffset) |
Creates the set of testing trees. | |
void | CheckRun1Results (clGridBase *p_oGrid) |
Checks the results of the Ripley's K grid for the first run. | |
char * | WriteXMLFile1 () |
Writes the parameter file for normal processing. | |
char * | WriteXMLFile2 () |
Writes the parameter file for normal processing. | |
char * | WriteXMLFile3 () |
Writes the parameter file for normal processing. | |
char * | WriteXMLFile4 () |
Writes the parameter file for normal processing. | |
char * | WriteXMLErrorFile1 () |
Writes an error file where the max distance is less than the increment. | |
char * | WriteXMLErrorFile2 () |
Writes an error file where the max distance is less than zero. | |
char * | WriteXMLErrorFile3 () |
Writes an error file where the increment is less than zero. | |
void | WriteCommonStuff (std::fstream &oOut) |
Writes common portions of the test parameter files between the plot and the analysis parameters. |
void clTestConditOmegaCalculator::TestConditOmegaCalculator | ( | ) |
Performs all the tests from one function.
void clTestConditOmegaCalculator::TestNormalProcessingRun1 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests normal processing, run 1.
WriteXMLFile1() does setup. Several trees are created and the Ripley's K calculated.
p_oSimManager | Sim Manager object to call for runs. |
void clTestConditOmegaCalculator::TestNormalProcessingRun2 | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests normal processing, run 2.
WriteXMLFile2() does setup. Several trees are created and the Ripley's K calculated.
p_oSimManager | Sim Manager object to call for runs. |
void clTestConditOmegaCalculator::TestErrorProcessing | ( | clSimManager * | p_oSimManager | ) | [protected] |
Tests error processing.
void clTestConditOmegaCalculator::CreateTrees | ( | clTreePopulation * | p_oPop, | |
clPlot * | p_oPlot, | |||
float | fOffset | |||
) | [protected] |
Creates the set of testing trees.
p_oPop | Tree population | |
p_oPlot | Plot object | |
fOffset | Any offset to be applied to the tree coordinates |
void clTestConditOmegaCalculator::CheckRun1Results | ( | clGridBase * | p_oGrid | ) | [protected] |
Checks the results of the Ripley's K grid for the first run.
p_oGrid | Ripley's K grid. |
char* clTestConditOmegaCalculator::WriteXMLFile1 | ( | ) | [protected] |
Writes the parameter file for normal processing.
There are 4 species; timestep length is 1 year; there is only one behavior, the Ripley's K calculator behavior.
char* clTestConditOmegaCalculator::WriteXMLFile2 | ( | ) | [protected] |
Writes the parameter file for normal processing.
There are 4 species; timestep length is 1 year; there is only one behavior, the Ripley's K calculator behavior.
char* clTestConditOmegaCalculator::WriteXMLFile3 | ( | ) | [protected] |
Writes the parameter file for normal processing.
There are 4 species; timestep length is 1 year; there is only one behavior, the Ripley's K calculator behavior.
char* clTestConditOmegaCalculator::WriteXMLFile4 | ( | ) | [protected] |
Writes the parameter file for normal processing.
There are 4 species; timestep length is 1 year; there is only one behavior, the Ripley's K calculator behavior.
char* clTestConditOmegaCalculator::WriteXMLErrorFile1 | ( | ) | [protected] |
Writes an error file where the max distance is less than the increment.
char* clTestConditOmegaCalculator::WriteXMLErrorFile2 | ( | ) | [protected] |
Writes an error file where the max distance is less than zero.
char* clTestConditOmegaCalculator::WriteXMLErrorFile3 | ( | ) | [protected] |
Writes an error file where the increment is less than zero.
void clTestConditOmegaCalculator::WriteCommonStuff | ( | std::fstream & | oOut | ) | [protected] |
Writes common portions of the test parameter files between the plot and the analysis parameters.
oOut | File stream to write to. |