SORTIE C++ Test Documentation
Functions
TestRipleysKCalculator.h File Reference
#include <fstream>

Functions

void CreateTrees (clTreePopulation *p_oPop, clPlot *p_oPlot, float fOffset)
 Tests the class clRipleysKCalculator.
 
void CheckRipleysKRun1Results (clGrid *p_oGrid)
 Checks the results of the Ripley's K grid for the first run.
 
const char * WriteRipleysKCalculatorXMLFile1 ()
 Writes the parameter file for normal processing.
 
const char * WriteRipleysKCalculatorXMLFile2 ()
 Writes the parameter file for normal processing.
 
const char * WriteRipleysKCalculatorXMLFile3 ()
 Writes the parameter file for normal processing.
 
const char * WriteRipleysKCalculatorXMLFile4 ()
 Writes the parameter file for normal processing.
 
const char * WriteRipleysKCalculatorXMLErrorFile1 ()
 Writes an error file where the max distance is less than the increment.
 
const char * WriteRipleysKCalculatorXMLErrorFile2 ()
 Writes an error file where the max distance is less than zero.
 
const char * WriteRipleysKCalculatorXMLErrorFile3 ()
 Writes an error file where the increment is less than zero.
 
void WriteRipleysKCalculatorCommonStuff (std::fstream &oOut)
 Writes common portions of the test parameter files between the plot and the analysis parameters.
 

Function Documentation

void CheckRipleysKRun1Results ( clGrid *  p_oGrid)

Checks the results of the Ripley's K grid for the first run.

Parameters
p_oGridRipley's K grid.
void CreateTrees ( clTreePopulation *  p_oPop,
clPlot *  p_oPlot,
float  fOffset 
)

Tests the class clRipleysKCalculator.

Creates the set of testing trees.

Parameters
p_oPopTree population
p_oPlotPlot object
fOffsetAny offset to be applied to the tree coordinates
void WriteRipleysKCalculatorCommonStuff ( std::fstream &  oOut)

Writes common portions of the test parameter files between the plot and the analysis parameters.

Parameters
oOutFile stream to write to.
const char* WriteRipleysKCalculatorXMLErrorFile1 ( )

Writes an error file where the max distance is less than the increment.

Returns
Filename written.
const char* WriteRipleysKCalculatorXMLErrorFile2 ( )

Writes an error file where the max distance is less than zero.

Returns
Filename written.
const char* WriteRipleysKCalculatorXMLErrorFile3 ( )

Writes an error file where the increment is less than zero.

Returns
Filename written.
const char* WriteRipleysKCalculatorXMLFile1 ( )

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.

Returns
Filename written.
const char* WriteRipleysKCalculatorXMLFile2 ( )

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.

Returns
Filename written.
const char* WriteRipleysKCalculatorXMLFile3 ( )

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.

Returns
Filename written.
const char* WriteRipleysKCalculatorXMLFile4 ( )

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.

Returns
Filename written.