openModeller
Version 1.4.0
|
Go to the source code of this file.
Classes | |
class | ExtGarpRule |
Defines | |
#define | eps 10e-6 |
Functions | |
TEST (initialize, GarpRule) | |
bool | checkEqualArray (Scalar *array1, Scalar *array2, int size, double veps) |
TEST (copy, GarpRule) | |
TEST (clone, GarpRule) | |
TEST (getCertainty1, GarpRule) | |
TEST (getCertainty2, GarpRule) | |
TEST (getError, GarpRule) | |
TEST (Similar1, GarpRule) | |
TEST (Similar2, GarpRule) | |
TEST (Similar3, GarpRule) | |
TEST (Similar4, GarpRule) | |
Variables | |
Scalar | genes1 [8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8} |
Scalar | genes2 [8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8} |
Scalar | genes3 [8] = {-0.2, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8} |
Scalar | genes4 [8] = {+0.7, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8} |
Scalar | genes5 [8] = {-0.8, +0.8, -1.0, +1.0, -0.8, +0.8, -0.8, +0.8} |
Scalar | genes6 [8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8} |
Scalar | genes7 [8] = {-0.8, +0.8, -1.0, +0.9, -0.8, +0.8, -0.8, +0.8} |
Scalar | genes8 [8] = {-0.8, +0.8, -0.8, +0.8, -0.8, +0.8, -0.8, +0.8} |
Unit tests for rules_base.cpp
LICENSE INFORMATION
Copyright(c), The Center for Research, University of Kansas, 2385 Irving Hill Road, Lawrence, KS 66044-4755, USA. Copyright(c), CRIA - Centro de Referencia em Informacao Ambiental
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
Definition in file test_rules_base.cpp.
#define eps 10e-6 |
Definition at line 76 of file test_rules_base.cpp.
Referenced by TEST().
bool checkEqualArray | ( | Scalar * | array1, |
Scalar * | array2, | ||
int | size, | ||
double | veps | ||
) |
Definition at line 98 of file test_rules_base.cpp.
Referenced by testEvaluate().
Definition at line 78 of file test_rules_base.cpp.
References eps, GarpRule::getChrom1(), and GarpRule::getChrom2().
Definition at line 113 of file test_rules_base.cpp.
References GarpRule::copy(), eps, GarpRule::getChrom1(), and GarpRule::getChrom2().
Definition at line 136 of file test_rules_base.cpp.
References GarpRule::clone(), eps, GarpRule::getChrom1(), and GarpRule::getChrom2().
Definition at line 156 of file test_rules_base.cpp.
References eps, GarpRule::getCertainty(), and ExtGarpRule::setPrediction().
Definition at line 170 of file test_rules_base.cpp.
References eps, GarpRule::getCertainty(), and ExtGarpRule::setPrediction().
Definition at line 184 of file test_rules_base.cpp.
References eps, and GarpRule::getError().
Definition at line 202 of file test_rules_base.cpp.
References genes1, genes2, ExtGarpRule::setGenes(), and GarpRule::similar().
Definition at line 218 of file test_rules_base.cpp.
References genes3, genes4, ExtGarpRule::setGenes(), and GarpRule::similar().
Definition at line 234 of file test_rules_base.cpp.
References genes5, genes6, ExtGarpRule::setGenes(), and GarpRule::similar().
Definition at line 250 of file test_rules_base.cpp.
References genes7, genes8, ExtGarpRule::setGenes(), and GarpRule::similar().
Definition at line 199 of file test_rules_base.cpp.
Definition at line 200 of file test_rules_base.cpp.
Definition at line 215 of file test_rules_base.cpp.
Definition at line 216 of file test_rules_base.cpp.
Definition at line 231 of file test_rules_base.cpp.
Definition at line 232 of file test_rules_base.cpp.
Referenced by TEST().
Definition at line 247 of file test_rules_base.cpp.
Referenced by TEST().
Definition at line 248 of file test_rules_base.cpp.
Referenced by TEST().