From 8e18e2cc688296fb05fd04b7490e5bf4d9efdf3a Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 12 Mar 2012 18:26:12 +0100 Subject: some changes to rules and presentation uploaded --- Src/PyCatcher/src/evaluators.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Src/PyCatcher/src/evaluators.py') diff --git a/Src/PyCatcher/src/evaluators.py b/Src/PyCatcher/src/evaluators.py index 3170f4a..de624fa 100644 --- a/Src/PyCatcher/src/evaluators.py +++ b/Src/PyCatcher/src/evaluators.py @@ -4,6 +4,11 @@ class EvaluatorSelect: CONSERVATIVE = 0 WEIGHTED = 1 BAYES = 2 + MACHINE = 3 + +class StationClass: + BASE_STATION = 0 + CATCHER = 1 class Evaluator: @@ -28,4 +33,7 @@ class BayesEvaluator(Evaluator): return_type = type(int) class WeightedEvaluator(Evaluator): - return_type = type(int) \ No newline at end of file + return_type = type(int) + +class MachineLearningEvaluator(Evaluator): + return_type = type(StationClass) \ No newline at end of file -- cgit v1.2.3-55-g7522