Last change
on this file was 127, checked in by Wouter Pasman, 6 years ago |
#41 ROLL BACK of rev.126 . So this version is equal to rev. 125
|
File size:
574 bytes
|
Rev | Line | |
---|
[127] | 1 | package agents.anac.y2010.AgentFSEGA;
|
---|
| 2 |
|
---|
| 3 | import genius.core.utility.Evaluator;
|
---|
| 4 |
|
---|
| 5 | public class EvaluatorHypothesis extends Hypothesis
|
---|
| 6 | {
|
---|
| 7 | private Evaluator dEval;
|
---|
| 8 | private String sDescription;
|
---|
| 9 |
|
---|
| 10 | public EvaluatorHypothesis (Evaluator pEval, String pDescription)
|
---|
| 11 | {
|
---|
| 12 | dEval = pEval;
|
---|
| 13 | sDescription = pDescription;
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | public Evaluator getEvaluator()
|
---|
| 17 | {
|
---|
| 18 | return dEval;
|
---|
| 19 | }
|
---|
| 20 |
|
---|
| 21 | public String getDescription()
|
---|
| 22 | {
|
---|
| 23 | return sDescription;
|
---|
| 24 | }
|
---|
| 25 |
|
---|
| 26 | public String toString()
|
---|
| 27 | {
|
---|
| 28 | return "Evaluator hypothesis " + sDescription + ": " + dEval.toString();
|
---|
| 29 | }
|
---|
| 30 | }
|
---|
| 31 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.