openModeller  Version 1.4.0
PreJackknife Class Reference

#include <PreJackknife.hh>

Inheritance diagram for PreJackknife:
Collaboration diagram for PreJackknife:

List of all members.

Public Member Functions

 PreJackknife ()
 ~PreJackknife ()
string getDescription () const
bool checkParameters (const PreParameters &parameters) const
bool runImplementation ()
void resetState (PreParameters &params)
void getAcceptedParameters (stringMap &info)
void getLayersetResultSpec (stringMap &info)
void getLayerResultSpec (stringMap &info)

Detailed Description

Declaration of Jackknife class

Author:
Fabrício Rodrigues (fabricio . poliusp at gmail . com)
Renato De Giovanni (renato at cria . org . br)
Id:
PreJackknife.hh 4887 2009-03-03 20:12:34Z rdg

LICENSE INFORMATION

Copyright(c), CRIA, Reference Center on Environmental Information

http://www.cria.org.br

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details:

http://www.gnu.org/copyleft/gpl.html Jackknife class

Definition at line 38 of file PreJackknife.hh.


Constructor & Destructor Documentation

Default constructor.

Definition at line 44 of file PreJackknife.cpp.

Destructor.

Definition at line 51 of file PreJackknife.cpp.


Member Function Documentation

bool PreJackknife::checkParameters ( const PreParameters parameters) const [virtual]

Checks if the supplied parameters fits the requirements of each PRE algorithm implementation.

note: Error log messages must be generated. No exceptions generated.

parameters: The parameters to be checked. return true if the parameters are OK. false if not.

Implements PreAlgorithm.

Definition at line 56 of file PreJackknife.cpp.

References Log::error(), Log::instance(), and PreMultiContainer< PreMultiContainerKeyT >::retrieve().

Here is the call graph for this function:

void PreJackknife::getAcceptedParameters ( stringMap info) [virtual]

Implements PreAlgorithm.

Definition at line 78 of file PreJackknife.cpp.

string PreJackknife::getDescription ( ) const [inline, virtual]

Return a description about the algorithm.

Returns:
Description about the algorithm.

Implements PreAlgorithm.

Definition at line 52 of file PreJackknife.hh.

void PreJackknife::getLayerResultSpec ( stringMap info) [virtual]

Implements PreAlgorithm.

Definition at line 97 of file PreJackknife.cpp.

void PreJackknife::getLayersetResultSpec ( stringMap info) [virtual]

Implements PreAlgorithm.

Definition at line 86 of file PreJackknife.cpp.

Reset the supplied parameters with internal state.

params: The supplied parameters.

Reimplemented from PreAlgorithm.

bool PreJackknife::runImplementation ( ) [virtual]

Runs the current algorithm implementation.

return true if OK. false on error.

Implements PreAlgorithm.

Definition at line 102 of file PreJackknife.cpp.

References ConfusionMatrix::calculate(), createSampler(), Log::debug(), Log::error(), ConfusionMatrix::getAccuracy(), Log::info(), Log::instance(), ConfusionMatrix::reset(), splitSampler(), and PreMultiContainer< PreMultiContainerKeyT >::store().

Here is the call graph for this function:


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