Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/13 17:54:46 (11 years ago)
Author:
sforsten
Message:

#1980:

  • added necessary interface ICondition, IAction, IInput
  • removed not used class MatchSelector and interface IMatchSelector
  • added constructors to ItemDictionary
  • added new encoding
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.ConditionActionEncoding/3.3/Analyzer/XCSSolutionAnalyzer.cs

    r9175 r9194  
    6666      get { return (ValueLookupParameter<ResultCollection>)Parameters["Results"]; }
    6767    }
     68    public ILookupParameter<IClassifierComparer> ClassifierComparerParameter {
     69      get { return (ILookupParameter<IClassifierComparer>)Parameters["ClassifierComparer"]; }
     70    }
    6871
    6972    public ResultCollection Results { get { return ResultsParameter.ActualValue; } }
     
    8487      Parameters.Add(new LookupParameter<IConditionActionProblemData>("ProblemData", ""));
    8588      Parameters.Add(new ValueLookupParameter<ResultCollection>("Results", "The result collection where the solution should be stored."));
     89      Parameters.Add(new LookupParameter<IClassifierComparer>("ClassifierComparer"));
    8690    }
    8791
     
    105109
    106110      XCSModel xcsModel = new XCSModel(xcsClassifiers);
    107 
     111      xcsModel.ClassifierComparer = ClassifierComparerParameter.ActualValue;
    108112      UseCurrentXCSSolution(xcsModel.CreateConditionActionSolution(problemData));
    109113      return base.Apply();
Note: See TracChangeset for help on using the changeset viewer.