Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/18/10 17:18:51 (14 years ago)
Author:
cneumuel
Message:

#1215 worked on MetaOptimization

  • split configurations into ValueConfigurations and ParameterConfigurations
Location:
branches/HeuristicLab.MetaOptimization
Files:
4 added
3 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.MetaOptimization

    • Property svn:ignore
      •  

        old new  
        11HeuristicLab.MetaOptimization.suo
         2HeuristicLab.MetaOptimization.Test
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encodings/Crossovers/ParameterConfigurationCrossover.cs

    r4832 r4839  
    1 using System;
    2 using System.Collections.Generic;
    3 using System.Linq;
    4 using System.Text;
     1using HeuristicLab.Common;
     2using HeuristicLab.Core;
     3using HeuristicLab.Data;
     4using HeuristicLab.Encodings.IntegerVectorEncoding;
     5using HeuristicLab.Encodings.RealVectorEncoding;
    56using HeuristicLab.Operators;
     7using HeuristicLab.Optimization;
     8using HeuristicLab.Parameters;
    69using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    7 using HeuristicLab.Core;
    8 using HeuristicLab.Parameters;
    9 using HeuristicLab.Encodings.RealVectorEncoding;
    10 using HeuristicLab.Encodings.BinaryVectorEncoding;
    11 using HeuristicLab.Encodings.IntegerVectorEncoding;
    12 using HeuristicLab.Collections;
    13 using HeuristicLab.Data;
    14 using HeuristicLab.Optimization;
    15 using HeuristicLab.Common;
    1610
    1711namespace HeuristicLab.Problems.MetaOptimization.Encodings.Crossovers {
     
    7973      IntegerVector integerChild = HeuristicLab.Encodings.IntegerVectorEncoding.DiscreteCrossover.Apply(
    8074        RandomParameter.ActualValue,
    81         new IntegerVector(new IntArray(new int[] { ((IntValue)parameter1.Value).Value })),
    82         new IntegerVector(new IntArray(new int[] { ((IntValue)parameter2.Value).Value })));
     75        new IntegerVector(new IntArray(new int[] { ((IntValue)parameter1.ActualValueConfiguration).Value })),
     76        new IntegerVector(new IntArray(new int[] { ((IntValue)parameter2.ActualValueConfiguration).Value })));
    8377      return new IntValue(integerChild[0]);
    8478    }
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encodings/ValueTypeParameterConfiguration.cs

    r4832 r4839  
    1818    }
    1919
    20     public ValueTypeParameterConfiguration(ParameterConfiguration parentConfiguration, string parameterName, IValueParameter valueParameter) : base(parentConfiguration, parameterName, valueParameter) {
     20    public ValueTypeParameterConfiguration(string parameterName, IValueParameter valueParameter) : base(parameterName, valueParameter) {
    2121      this.ranges = new ItemList<IRange<T>>();
    2222      this.ranges.ItemsAdded += new CollectionItemsChangedEventHandler<IndexedItem<IRange<T>>>(ranges_ItemsAdded);
Note: See TracChangeset for help on using the changeset viewer.