Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/13 13:31:29 (11 years ago)
Author:
sforsten
Message:

#1980:

  • several small bug fixes
  • added windowing technique ILAS to GAssist
  • GAssist and XCS work now with real-valued features
  • severely improved the performance of XCS
Location:
branches/LearningClassifierSystems/HeuristicLab.Encodings.DecisionList/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.DecisionList/3.3

    • Property svn:ignore
      •  

        old new  
        11*.user
        22Plugin.cs
         3obj
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.DecisionList/3.3/Rule.cs

    r9352 r9392  
    8888    }
    8989
    90     public bool MatchInput(DecisionListInput target) {
     90    public bool MatchInput(IGAssistInput target) {
    9191      foreach (var variable in variables) {
    92         if (!target.InputDictionary.ContainsKey(variable.Key)) { throw new ArgumentException("Input doesn't contain variable"); }
    93         if (!variable.Value.Match(target.InputDictionary[variable.Key])) { return false; }
     92        if (!target.VariableNames.Contains(variable.Key)) { throw new ArgumentException("Input doesn't contain variable"); }
     93        if (!variable.Value.Match(target.GetVariableValue(variable.Key))) { return false; }
    9494      }
    9595      return true;
Note: See TracChangeset for help on using the changeset viewer.