Free cookie consent management tool by TermsFeed Policy Generator

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

#1465

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

Legend:

Unmodified
Added
Removed
  • branches/histogram

  • branches/histogram/HeuristicLab.Problems.TestFunctions/3.3/Analyzers/BestSingleObjectiveTestFunctionSolutionAnalyzer.cs

    r5445 r6055  
    8585      Parameters.Add(new ValueLookupParameter<ISingleObjectiveTestFunctionProblemEvaluator>("Evaluator", "The evaluator with which the solution is evaluated."));
    8686      Parameters.Add(new LookupParameter<DoubleMatrix>("Bounds", "The bounds of the function."));
     87
     88      MaximizationParameter.Hidden = true;
     89      RealVectorParameter.Hidden = true;
     90      QualityParameter.Hidden = true;
     91      BestSolutionParameter.Hidden = true;
     92      BestKnownSolutionParameter.Hidden = true;
     93      BestKnownQualityParameter.Hidden = true;
     94      ResultsParameter.Hidden = true;
     95      EvaluatorParameter.Hidden = true;
     96      BoundsParameter.Hidden = true;
    8797    }
    8898
  • 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.