Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/30/13 16:54:43 (11 years ago)
Author:
sforsten
Message:

#1980:

  • added multiple discretizer to GAssist
  • created ensembles for LCS problems and edited CrossValidation to use them
Location:
branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3/CombinedIntegerVectorClassificationProblem.cs

    r9242 r9411  
    8787    public CombinedIntegerVectorClassificationProblem(CombinedIntegerVectorClassificationProblemData problemData, XCSEvaluator evaluator, UniformRandomCombinedIntegerVectorCreator solutionCreator, ICoveringSolutionCreator coveringSolutionCreator)
    8888      : base(problemData, evaluator, solutionCreator, coveringSolutionCreator) {
    89       Parameters.Add(new FixedValueParameter<CombinedIntegerVectorComparer>("ClassifierComparer", new CombinedIntegerVectorComparer()));
     89      Parameters.Add(new FixedValueParameter<CombinedIntegerVectorComparer>("ClassifierComparer", problemData.ConcreteClassifierComparer));
    9090      Parameters.Add(new FixedValueParameter<ItemSet<IAction>>("PossibleActions", new ItemSet<IAction>(ClassifierComparer)));
    9191      Parameters.Add(new FixedValueParameter<ItemSet<CombinedIntegerVector>>("PossibleActionsConcreteClass", new ItemSet<CombinedIntegerVector>(ClassifierComparer)));
  • branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3/CombinedIntegerVectorClassificationProblemData.cs

    r9352 r9411  
    5454      get { return LengthParameter.Value; }
    5555    }
    56 
    5756    public IntValue ActionLength {
    5857      get { return ActionLengthParameter.Value; }
    5958    }
    60 
    6159    public IntMatrix Bounds {
    6260      get { return BoundsParameter.Value; }
     61    }
     62    public CombinedIntegerVectorComparer ConcreteClassifierComparer {
     63      get { return new CombinedIntegerVectorComparer(); }
     64    }
     65    public override IClassifierComparer ClassifierComparer {
     66      get { return ConcreteClassifierComparer; }
    6367    }
    6468    #endregion
Note: See TracChangeset for help on using the changeset viewer.