Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/04/13 20:46:18 (12 years ago)
Author:
sforsten
Message:

#1980:

  • added GA subsumption
  • simplified deletion before covering
  • simplified XCSDeletionOperator
Location:
branches/LearningClassifierSystems/HeuristicLab.Encodings.CombinedIntegerVectorEncoding/3.3
Files:
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.CombinedIntegerVectorEncoding/3.3/CombinedIntegerVectorManipulator.cs

    r9089 r9110  
    3939      get { return (ILookupParameter<CombinedIntegerVector>)Parameters["Child"]; }
    4040    }
    41     public ILookupParameter<CombinedIntegerVector> ParentParameter {
     41    public ILookupParameter<CombinedIntegerVector> FetchedClassifierParameter {
    4242      get { return (ILookupParameter<CombinedIntegerVector>)Parameters["Parent"]; }
    4343    }
     
    5757
    5858    public sealed override IOperation Apply() {
    59       ChildParameter.ActualValue = Manipulate(RandomParameter.ActualValue, ChildParameter.ActualValue, ParentParameter.ActualValue);
     59      ChildParameter.ActualValue = Manipulate(RandomParameter.ActualValue, FetchedClassifierParameter.ActualValue, ChildParameter.ActualValue);
    6060      return base.Apply();
    6161    }
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.CombinedIntegerVectorEncoding/3.3/Covering/CombinedIntegerVectorCoveringCreator.cs

    r9090 r9110  
    7575      CombinedIntegerVector action = (CombinedIntegerVector)ActionParameter.ActualValue.Action;
    7676
    77       newCondition = UniformSomePositionInConditionManipulator.ManipulateCondition(RandomParameter.ActualValue, condition, newCondition, ChangeSymbolProbabilityParameter.ActualValue.Value);
     77      newCondition = UniformSomePositionManipulator.ManipulateCondition(RandomParameter.ActualValue, condition, newCondition, ChangeSymbolProbabilityParameter.ActualValue.Value);
    7878
    7979      CreatedClassifierParameter.ActualValue = new CombinedIntegerVector(newCondition, newCondition.Bounds, action, action.Bounds);
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.CombinedIntegerVectorEncoding/3.3/HeuristicLab.Encodings.CombinedIntegerVectorEncoding-3.3.csproj

    r9105 r9110  
    119119    </Compile>
    120120    <Compile Include="Manipulator\UniformOnePositionInConditionManipulator.cs" />
    121     <Compile Include="Manipulator\UniformSomePositionInConditionManipulator.cs" />
     121    <Compile Include="Manipulator\UniformSomePositionManipulator.cs" />
    122122    <Compile Include="Plugin.cs" />
    123123    <None Include="Properties\AssemblyInfo.cs.frame" />
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.CombinedIntegerVectorEncoding/3.3/Interfaces/ICombinedIntegerVectorManipulator.cs

    r9089 r9110  
    2929  public interface ICombinedIntegerVectorManipulator : IManipulator, ICombinedIntegerVectorOperator {
    3030    ILookupParameter<CombinedIntegerVector> ChildParameter { get; }
    31     ILookupParameter<CombinedIntegerVector> ParentParameter { get; }
     31    ILookupParameter<CombinedIntegerVector> FetchedClassifierParameter { get; }
    3232  }
    3333}
  • branches/LearningClassifierSystems/HeuristicLab.Encodings.CombinedIntegerVectorEncoding/3.3/Manipulator/UniformSomePositionManipulator.cs

    r9106 r9110  
    2727
    2828namespace HeuristicLab.Encodings.CombinedIntegerVectorEncoding {
    29   public class UniformSomePositionInConditionManipulator : CombinedIntegerVectorManipulator {
     29  public class UniformSomePositionManipulator : CombinedIntegerVectorManipulator {
    3030
    3131    public IValueLookupParameter<PercentValue> ProbabilityParameter {
     
    3737
    3838    [StorableConstructor]
    39     protected UniformSomePositionInConditionManipulator(bool deserializing) : base(deserializing) { }
    40     protected UniformSomePositionInConditionManipulator(UniformSomePositionInConditionManipulator original, Cloner cloner)
     39    protected UniformSomePositionManipulator(bool deserializing) : base(deserializing) { }
     40    protected UniformSomePositionManipulator(UniformSomePositionManipulator original, Cloner cloner)
    4141      : base(original, cloner) {
    4242    }
    4343    public override IDeepCloneable Clone(Cloner cloner) {
    44       return new UniformSomePositionInConditionManipulator(this, cloner);
     44      return new UniformSomePositionManipulator(this, cloner);
    4545    }
    46     public UniformSomePositionInConditionManipulator()
     46    public UniformSomePositionManipulator()
    4747      : base() {
    4848      Parameters.Add(new ValueLookupParameter<PercentValue>("Probability", "The probability for each dimension to be manipulated.", new PercentValue(0.5)));
Note: See TracChangeset for help on using the changeset viewer.