Changeset 9411 for branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification
- Timestamp:
- 04/30/13 16:54:43 (12 years ago)
- Location:
- branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3/CombinedIntegerVectorClassificationProblem.cs ¶
r9242 r9411 87 87 public CombinedIntegerVectorClassificationProblem(CombinedIntegerVectorClassificationProblemData problemData, XCSEvaluator evaluator, UniformRandomCombinedIntegerVectorCreator solutionCreator, ICoveringSolutionCreator coveringSolutionCreator) 88 88 : base(problemData, evaluator, solutionCreator, coveringSolutionCreator) { 89 Parameters.Add(new FixedValueParameter<CombinedIntegerVectorComparer>("ClassifierComparer", new CombinedIntegerVectorComparer()));89 Parameters.Add(new FixedValueParameter<CombinedIntegerVectorComparer>("ClassifierComparer", problemData.ConcreteClassifierComparer)); 90 90 Parameters.Add(new FixedValueParameter<ItemSet<IAction>>("PossibleActions", new ItemSet<IAction>(ClassifierComparer))); 91 91 Parameters.Add(new FixedValueParameter<ItemSet<CombinedIntegerVector>>("PossibleActionsConcreteClass", new ItemSet<CombinedIntegerVector>(ClassifierComparer))); -
TabularUnified branches/LearningClassifierSystems/HeuristicLab.Problems.CombinedIntegerVectorClassification/3.3/CombinedIntegerVectorClassificationProblemData.cs ¶
r9352 r9411 54 54 get { return LengthParameter.Value; } 55 55 } 56 57 56 public IntValue ActionLength { 58 57 get { return ActionLengthParameter.Value; } 59 58 } 60 61 59 public IntMatrix Bounds { 62 60 get { return BoundsParameter.Value; } 61 } 62 public CombinedIntegerVectorComparer ConcreteClassifierComparer { 63 get { return new CombinedIntegerVectorComparer(); } 64 } 65 public override IClassifierComparer ClassifierComparer { 66 get { return ConcreteClassifierComparer; } 63 67 } 64 68 #endregion
Note: See TracChangeset
for help on using the changeset viewer.