Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/18/13 16:51:42 (12 years ago)
Author:
sforsten
Message:

#1980:

  • made classes in Problems.ConditionActionClassification abstract
  • added Problems.VariableVectorClassification and Problems.CombinedIntegerVectorClassification
  • LCS works now with arbitrary problems, which implement ConditionActionClassificationProblem
Location:
branches/LearningClassifierSystems
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/LearningClassifierSystems

    • Property svn:ignore
      •  

        old new  
        11*.suo
         2bin
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.VariableVector/3.3/Creators/UniformRandomVariableVectorCreator.cs

    r9194 r9226  
    2020#endregion
    2121
    22 using System.Linq;
    2322using HeuristicLab.Common;
    2423using HeuristicLab.Core;
    2524using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2625
    27 namespace HeuristicLab.Encodings.VariableVector.Creators {
     26namespace HeuristicLab.Encodings.VariableVector {
    2827  [Item("UniformRandomVariableVectorCreator", "Description missing")]
    2928  [StorableClass]
     
    4645
    4746    protected override VariableVector Create(IRandom random, VariableVector sampleVariableVector, double spreadPercentage) {
    48       var result = new VariableVector(sampleVariableVector.Condition.Values.Select(x => x.GetEmptyCopy()), sampleVariableVector.Action.Values.Select(x => x.GetEmptyCopy()));
     47      var result = sampleVariableVector.GetEmptyCopy();
    4948      result.Randomize(random, spreadPercentage);
    5049      return result;
Note: See TracChangeset for help on using the changeset viewer.