openModeller  Version 1.5.0
PreJackknife Class Reference

#include <PreJackknife.hh>

Inheritance diagram for PreJackknife:
Inheritance graph
Collaboration diagram for PreJackknife:
Collaboration graph

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)
 
- Public Member Functions inherited from PreAlgorithm
virtual ~PreAlgorithm ()
 
bool apply ()
 
bool reset (const PreParameters &params)
 
void resetState (PreParameters &params)
 
const PreParametersgetParameters () const
 
void getLayerResult (const string layer_id, PreParameters &result)
 

Additional Inherited Members

- Public Types inherited from PreAlgorithm
typedef std::map< string, string > stringMap
 
- Static Public Member Functions inherited from PreAlgorithm
static PreAlgorithmDefaultObject (const PreParameters &params)
 
- Protected Member Functions inherited from PreAlgorithm
 PreAlgorithm ()
 
bool checkInternalParameters () const
 
- Protected Attributes inherited from PreAlgorithm
PreParameters params_
 
std::map< string, PreParametersresult_by_layer_
 

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

PreJackknife::PreJackknife ( )

Default constructor.

Definition at line 44 of file PreJackknife.cpp.

PreJackknife::~PreJackknife ( )

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
inlinevirtual

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.

void PreJackknife::resetState ( PreParameters params)
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: