Changeset 9194 for branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Analyzer/XCSSolutionAnalyzer.cs
- Timestamp:
- 01/28/13 17:54:46 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Analyzer/XCSSolutionAnalyzer.cs
r9175 r9194 66 66 get { return (ValueLookupParameter<ResultCollection>)Parameters["Results"]; } 67 67 } 68 public ILookupParameter<IClassifierComparer> ClassifierComparerParameter { 69 get { return (ILookupParameter<IClassifierComparer>)Parameters["ClassifierComparer"]; } 70 } 68 71 69 72 public ResultCollection Results { get { return ResultsParameter.ActualValue; } } … … 84 87 Parameters.Add(new LookupParameter<IConditionActionProblemData>("ProblemData", "")); 85 88 Parameters.Add(new ValueLookupParameter<ResultCollection>("Results", "The result collection where the solution should be stored.")); 89 Parameters.Add(new LookupParameter<IClassifierComparer>("ClassifierComparer")); 86 90 } 87 91 … … 105 109 106 110 XCSModel xcsModel = new XCSModel(xcsClassifiers); 107 111 xcsModel.ClassifierComparer = ClassifierComparerParameter.ActualValue; 108 112 UseCurrentXCSSolution(xcsModel.CreateConditionActionSolution(problemData)); 109 113 return base.Apply();
Note: See TracChangeset
for help on using the changeset viewer.