Ignore:
Timestamp:
04/27/11 09:22:20 (11 years ago)
Author:
abeham
Message:

#1465

  • updated branch from trunk
Location:
branches/histogram
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/histogram

  • branches/histogram/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs

    r6046 r6055  
    379379    private void ParameterizeSolutionCreator() {
    380380      SolutionCreator.LengthParameter.Value = new IntValue(ProblemSize.Value);
     381      SolutionCreator.LengthParameter.Hidden = true;
     382      SolutionCreator.BoundsParameter.ActualName = BoundsParameter.Name;
     383      SolutionCreator.BoundsParameter.Hidden = true;
    381384    }
    382385    private void ParameterizeEvaluator() {
    383386      Evaluator.PointParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     387      Evaluator.PointParameter.Hidden = true;
    384388      BestKnownSolutionParameter.Value = Evaluator.GetBestKnownSolution(ProblemSize.Value);
    385389    }
     
    387391      foreach (IRealVectorCrossover op in Operators.OfType<IRealVectorCrossover>()) {
    388392        op.ParentsParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     393        op.ParentsParameter.Hidden = true;
    389394        op.ChildParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     395        op.ChildParameter.Hidden = true;
    390396        op.BoundsParameter.ActualName = BoundsParameter.Name;
     397        op.BoundsParameter.Hidden = true;
    391398      }
    392399      foreach (IRealVectorManipulator op in Operators.OfType<IRealVectorManipulator>()) {
    393400        op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     401        op.RealVectorParameter.Hidden = true;
    394402        op.BoundsParameter.ActualName = BoundsParameter.Name;
     403        op.BoundsParameter.Hidden = true;
    395404      }
    396405      foreach (IRealVectorMoveOperator op in Operators.OfType<IRealVectorMoveOperator>()) {
    397406        op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     407        op.RealVectorParameter.Hidden = true;
    398408      }
    399409      foreach (IRealVectorMoveGenerator op in Operators.OfType<IRealVectorMoveGenerator>()) {
    400410        op.BoundsParameter.ActualName = BoundsParameter.Name;
     411        op.BoundsParameter.Hidden = true;
    401412      }
    402413      foreach (ISingleObjectiveTestFunctionAdditiveMoveEvaluator op in Operators.OfType<ISingleObjectiveTestFunctionAdditiveMoveEvaluator>()) {
    403414        op.QualityParameter.ActualName = Evaluator.QualityParameter.ActualName;
    404         op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     415        op.QualityParameter.Hidden = true;
     416        op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     417        op.RealVectorParameter.Hidden = true;
    405418      }
    406419      foreach (IRealVectorParticleCreator op in Operators.OfType<IRealVectorParticleCreator>()) {
    407420        op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     421        op.RealVectorParameter.Hidden = true;
    408422        op.BoundsParameter.ActualName = BoundsParameter.Name;
     423        op.BoundsParameter.Hidden = true;
    409424        op.ProblemSizeParameter.ActualName = ProblemSizeParameter.Name;
     425        op.ProblemSizeParameter.Hidden = true;
    410426      }
    411427      foreach (IRealVectorParticleUpdater op in Operators.OfType<IRealVectorParticleUpdater>()) {
    412428        op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     429        op.RealVectorParameter.Hidden = true;
    413430        op.BoundsParameter.ActualName = BoundsParameter.Name;
     431        op.BoundsParameter.Hidden = true;
    414432      }
    415433      foreach (IRealVectorSwarmUpdater op in Operators.OfType<IRealVectorSwarmUpdater>()) {
    416434        op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     435        op.RealVectorParameter.Hidden = true;
    417436        op.MaximizationParameter.ActualName = MaximizationParameter.Name;
    418       }
    419       foreach (var op in Operators.OfType<IRealVectorMultiNeighborhoodShakingOperator>())
    420         op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     437        op.MaximizationParameter.Hidden = true;
     438      }
     439      foreach (var op in Operators.OfType<IRealVectorMultiNeighborhoodShakingOperator>()) {
     440        op.RealVectorParameter.ActualName = SolutionCreator.RealVectorParameter.ActualName;
     441        op.RealVectorParameter.Hidden = true;
     442      }
    421443    }
    422444    private void UpdateStrategyVectorBounds() {
Note: See TracChangeset for help on using the changeset viewer.