openModeller
Version 1.4.0
|
Go to the source code of this file.
Data used to test GarpRule::evaluate()
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_evaluate_data.cpp.
#define NUM_SAMPLE_SETS 5 |
Definition at line 539 of file test_rules_evaluate_data.cpp.
Scalar RuleGenes1_1[4] = {-0.51, +0.51, -0.51, +0.51} |
Definition at line 128 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes1_2[4] = {-0.51, +0.51, -0.51, +0.51} |
Definition at line 143 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes1_3[4] = {-0.51, +0.51, -0.51, +0.51} |
Definition at line 158 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes1_4[4] = {-0.51, +0.51, -0.51, +0.51} |
Definition at line 173 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes1_5[4] = {-0.50, -0.50, -0.50, -0.50} |
Definition at line 188 of file test_rules_evaluate_data.cpp.
Scalar RuleGenes1_6[4] = {-0.50, +0.00, -0.50, +0.00} |
Definition at line 203 of file test_rules_evaluate_data.cpp.
Scalar RuleGenes2_1[4] = {-0.51, +0.51, -0.51, +0.51} |
Definition at line 288 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes2_2[4] = {-0.51, +0.51, -0.51, +0.51} |
Definition at line 303 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes2_3[4] = {-1.01, +1.01, -1.01, +1.01} |
Definition at line 319 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes2_4[4] = {-1.01, +1.01, -1.01, +1.01} |
Definition at line 334 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes3_1[4] = {-0.51, -0.49, -1.00, +1.00} |
Definition at line 380 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes3_2[4] = {-0.51, -0.49, -0.51, -0.49} |
Definition at line 395 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes4_1[4] = {-0.51, -0.49, -1.00, +1.00} |
Definition at line 449 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes4_2[4] = {-0.51, -0.49, -0.51, -0.49} |
Definition at line 464 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes4_3[4] = {-1.00, +1.00, -0.51, -0.39} |
Definition at line 479 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes4_4[4] = {-0.51, -0.49, -1.00, +1.00} |
Definition at line 494 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes4_5[4] = {-0.51, -0.49, -0.51, -0.49} |
Definition at line 509 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RuleGenes4_6[4] = {-1.00, +1.00, -0.51, -0.39} |
Definition at line 524 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs1_1[10] |
{-1000, 0.5238095238, 0.5000, -1000, 0.5238095238, 0.5000, -1000, 0.5238095238, 0.0, -1000 }
Definition at line 130 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs1_2[10] |
{-1000, 0.5238095238, 0.5000, -1000, 0.5238095238, 0.5000, -1000, 0.5238095238, 0.0, -1000 }
Definition at line 145 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs1_3[10] |
{-1000, 0.4761904762, 0.5000, -1000, 0.4761904762, 0.5000, -1000, 0.4761904762, 0.0, -1000 }
Definition at line 160 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs1_4[10] |
{-1000, 0.4761904762, 0.5000, -1000, 0.4761904762, 0.5000, -1000, 0.4761904762, 0.0, -1000 }
Definition at line 175 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs1_5[10] |
{-1000, 0.0476190476, 0.5000, -1000, 0.0476190476, 0.5000, -1000, 0.0476190476, 0.0, -1000 }
Definition at line 190 of file test_rules_evaluate_data.cpp.
Scalar RulePerfs1_6[10] |
{-1000, 0.0476190476, 0.5000, -1000, 0.0476190476, 0.5000, -1000, 0.0476190476, 0.0, -1000 }
Definition at line 205 of file test_rules_evaluate_data.cpp.
Scalar RulePerfs2_1[10] |
{-1000, 0.5238095238, 0.6666666667, -1000, 0.5238095238, 0.6666666667, -1000, 0.5238095238, 0.0, -1000 }
Definition at line 290 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs2_2[10] |
{-1000, 0.5238095238, 0.3333333333, -1000, 0.5238095238, 0.3333333333, -1000, 0.5238095238, 0.0, -1000 }
Definition at line 305 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs2_3[10] |
{-1000, 1.0000000000, 0.6666666667, -1000, 1.0000000000, 0.6666666667, -1000, 1.0000000000, 0.0, -1000 }
Definition at line 321 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs2_4[10] |
{-1000, 1.0000000000, 0.3333333333, -1000, 1.0000000000, 0.3333333333, -1000, 1.0000000000, 0.0, -1000 }
Definition at line 336 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs3_1[10] |
{-1000, 0.1666666667, 0.1666666667, -1000, 0.1666666667, 1.0000, -1000, 0.1666666667, 0.0000000000, -1000 }
Definition at line 382 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs3_2[10] |
{-1000, 0.1250000000, 0.1666666667, -1000, 0.1250000000, 1.0000, -1000, 0.1250000000, 0.0000000000, -1000 }
Definition at line 397 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs4_1[10] |
{-1000, 0.4285714286, 0.4285714286, -1000, 0.4285714286, 1.0000, -1000, 0.4285714286, 4.4721359550, -1000 }
Definition at line 451 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs4_2[10] |
{-1000, 0.3142857143, 0.4285714286, -1000, 0.3142857143, 1.0000, -1000, 0.3142857143, 3.8297084310, -1000 }
Definition at line 466 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs4_3[10] |
{-1000, 0.3428571429, 0.4285714286, -1000, 0.3428571429, 0.9166666667, -1000, 0.3428571429, 3.4166666667, -1000 }
Definition at line 481 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs4_4[10] |
{-1000, 0.5714285714, 0.5714285714, -1000, 0.5714285714, 1.0000, -1000, 0.5714285714, 3.8729833462, -1000 }
Definition at line 496 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs4_5[10] |
{-1000, 0.6857142857, 0.5714285714, -1000, 0.6857142857, 0.8333333333, -1000, 0.6857142857, 2.5927248644, -1000 }
Definition at line 511 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePerfs4_6[10] |
{-1000, 0.6571428571, 0.5714285714, -1000, 0.6571428571, 0.8260869565, -1000, 0.6571428571, 2.4679099883, -1000 }
Definition at line 526 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred1_1 = 1.0 |
Definition at line 127 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred1_2 = 0.0 |
Definition at line 142 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred1_3 = 1.0 |
Definition at line 157 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred1_4 = 0.0 |
Definition at line 172 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred1_5 = 1.0 |
Definition at line 187 of file test_rules_evaluate_data.cpp.
Scalar RulePred1_6 = 0.0 |
Definition at line 202 of file test_rules_evaluate_data.cpp.
Scalar RulePred2_1 = 1.0 |
Definition at line 287 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred2_2 = 0.0 |
Definition at line 302 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred2_3 = 1.0 |
Definition at line 318 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred2_4 = 0.0 |
Definition at line 333 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred3_1 = 1.0 |
Definition at line 379 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred3_2 = 1.0 |
Definition at line 394 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred4_1 = 1.0 |
Definition at line 448 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred4_2 = 1.0 |
Definition at line 463 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred4_3 = 1.0 |
Definition at line 478 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred4_4 = 0.0 |
Definition at line 493 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred4_5 = 0.0 |
Definition at line 508 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar RulePred4_6 = 0.0 |
Definition at line 523 of file test_rules_evaluate_data.cpp.
Referenced by TEST().
Scalar SampleSetValues1[84][3] |
Definition at line 38 of file test_rules_evaluate_data.cpp.
Scalar SampleSetValues2[84][3] |
Definition at line 219 of file test_rules_evaluate_data.cpp.
Scalar SampleSetValues3[24][3] |
{ { +0.0, -1.0000, -1.0000 }, { +0.0, -0.9000, -0.9000 }, { +0.0, -0.8000, -0.8000 }, { +0.0, -0.7000, -0.7000 }, { +0.0, -0.6000, -0.6000 }, { +1.0, -0.5000, -0.5000 }, { +1.0, -0.5000, -0.0000 }, { +1.0, -0.5000, -0.5000 }, { +1.0, -0.5000, -0.5000 }, { +0.0, -0.4000, -0.4000 }, { +0.0, -0.3000, -0.3000 }, { +0.0, -0.2000, -0.2000 }, { +0.0, -0.1000, -0.1000 }, { +0.0, -0.0000, -0.0000 }, { +0.0, +0.1000, +0.1000 }, { +0.0, +0.2000, +0.2000 }, { +0.0, +0.3000, +0.3000 }, { +0.0, +0.4000, +0.4000 }, { +0.0, +0.5000, +0.5000 }, { +0.0, +0.6000, +0.6000 }, { +0.0, +0.7000, +0.7000 }, { +0.0, +0.8000, +0.8000 }, { +0.0, +0.9000, +0.9000 }, { +0.0, +1.0000, +1.0000 }, }
Definition at line 350 of file test_rules_evaluate_data.cpp.
Scalar SampleSetValues4[35][3] |
Definition at line 409 of file test_rules_evaluate_data.cpp.
struct HardcodedSample SamplesSet[NUM_SAMPLE_SETS] |
{ { 0, 0, NULL}, { 84, 2, (Scalar *) SampleSetValues1 }, { 63, 2, (Scalar *) SampleSetValues2 }, { 24, 2, (Scalar *) SampleSetValues3 }, { 35, 2, (Scalar *) SampleSetValues4 } }
Definition at line 541 of file test_rules_evaluate_data.cpp.
Referenced by getSampleSet().