Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/08/10 16:33:50 (15 years ago)
Author:
mkofler
Message:

Worked on #852 (PSO)

Location:
trunk/sources/HeuristicLab.Problems.TestFunctions/3.3
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/HeuristicLab.Problems.TestFunctions-3.3.csproj

    r3702 r3719  
    101101    <Compile Include="Evaluators\ZakharovEvaluator.cs" />
    102102    <Compile Include="HeuristicLabProblemsTestFunctionsPlugin.cs" />
     103    <Compile Include="Interfaces\IRealVectorPSODecoder.cs" />
    103104    <Compile Include="Interfaces\IBestSingleObjectiveTestFunctionSolutionAnalyzer.cs" />
    104105    <Compile Include="Interfaces\IRastriginMoveEvaluator.cs" />
     
    123124    <Compile Include="MoveEvaluators\AdditiveMoveEvaluator.cs" />
    124125    <Compile Include="MoveEvaluators\RealVectorAdditiveMoveWrapper.cs" />
     126    <Compile Include="RealVectorToRealVectorDecoder.cs" />
     127    <Compile Include="RealVectorToRealVectorEncoder.cs" />
    125128    <Compile Include="SingleObjectiveTestFunctionSolution.cs" />
    126129    <Compile Include="SingleObjectiveTestFunctionProblem.cs" />
  • trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs

    r3685 r3719  
    221221      if (Bounds.Columns != 2 || Bounds.Rows < 1)
    222222        Bounds = new DoubleMatrix(1, 2);
     223      ParameterizeOperators();
    223224    }
    224225    private void Bounds_ItemChanged(object sender, EventArgs<int, int> e) {
     
    227228      if (e.Value2 == 1 && Bounds[e.Value, 0] >= Bounds[e.Value, 1])
    228229        Bounds[e.Value, 0] = Bounds[e.Value, 1] - 0.1;
     230      ParameterizeOperators();
    229231    }
    230232    private void MoveGenerator_AdditiveMoveParameter_ActualNameChanged(object sender, EventArgs e) {
     
    355357      }
    356358      foreach (IRealVectorPSOEncoder op in Operators.OfType<IRealVectorPSOEncoder>()) {
    357         ((ILookupParameter)op.OriginalRealVectorParameter).ActualName = SolutionCreator.RealVectorParameter.ActualName;
     359        ((ILookupParameter)op.OriginalRealVectorParameter).ActualName = SolutionCreator.RealVectorParameter.ActualName;
     360        op.BoundsParameter.Value = (DoubleMatrix)BoundsParameter.Value.Clone();
     361        op.BoundsParameter.ActualName = "ParticleBounds";
    358362      }
    359363    }
Note: See TracChangeset for help on using the changeset viewer.