Ignore:
Timestamp:
04/27/11 09:22:20 (9 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.Knapsack/3.3/KnapsackProblem.cs

    r6046 r6055  
    287287          (KnapsackEvaluator)Evaluator;
    288288        knapsackEvaluator.BinaryVectorParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName;
     289        knapsackEvaluator.BinaryVectorParameter.Hidden = true;
    289290        knapsackEvaluator.KnapsackCapacityParameter.ActualName = KnapsackCapacityParameter.Name;
     291        knapsackEvaluator.KnapsackCapacityParameter.Hidden = true;
    290292        knapsackEvaluator.WeightsParameter.ActualName = WeightsParameter.Name;
     293        knapsackEvaluator.WeightsParameter.Hidden = true;
    291294        knapsackEvaluator.ValuesParameter.ActualName = ValuesParameter.Name;
     295        knapsackEvaluator.ValuesParameter.Hidden = true;
    292296        knapsackEvaluator.PenaltyParameter.ActualName = PenaltyParameter.Name;
     297        knapsackEvaluator.PenaltyParameter.Hidden = true;
    293298      }
    294299    }
    295300    private void ParameterizeAnalyzer() {
    296301      BestKnapsackSolutionAnalyzer.MaximizationParameter.ActualName = MaximizationParameter.Name;
     302      BestKnapsackSolutionAnalyzer.MaximizationParameter.Hidden = true;
    297303      BestKnapsackSolutionAnalyzer.BestKnownQualityParameter.ActualName = BestKnownQualityParameter.Name;
     304      BestKnapsackSolutionAnalyzer.BestKnownQualityParameter.Hidden = true;
    298305      BestKnapsackSolutionAnalyzer.BestKnownSolutionParameter.ActualName = BestKnownSolutionParameter.Name;
     306      BestKnapsackSolutionAnalyzer.BestKnownSolutionParameter.Hidden = true;
    299307      BestKnapsackSolutionAnalyzer.BinaryVectorParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName;
     308      BestKnapsackSolutionAnalyzer.BinaryVectorParameter.Hidden = true;
    300309      BestKnapsackSolutionAnalyzer.KnapsackCapacityParameter.ActualName = KnapsackCapacityParameter.Name;
     310      BestKnapsackSolutionAnalyzer.KnapsackCapacityParameter.Hidden = true;
    301311      BestKnapsackSolutionAnalyzer.WeightsParameter.ActualName = WeightsParameter.Name;
     312      BestKnapsackSolutionAnalyzer.WeightsParameter.Hidden = true;
    302313      BestKnapsackSolutionAnalyzer.ValuesParameter.ActualName = ValuesParameter.Name;
    303       BestKnapsackSolutionAnalyzer.ResultsParameter.ActualName = "Results";
     314      BestKnapsackSolutionAnalyzer.ValuesParameter.Hidden = true;
    304315    }
    305316    private void InitializeOperators() {
     
    325336      foreach (IBinaryVectorCrossover op in Operators.OfType<IBinaryVectorCrossover>()) {
    326337        op.ParentsParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName;
     338        op.ParentsParameter.Hidden = true;
    327339        op.ChildParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName;
     340        op.ChildParameter.Hidden = true;
    328341      }
    329342      foreach (IBinaryVectorManipulator op in Operators.OfType<IBinaryVectorManipulator>()) {
    330343        op.BinaryVectorParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName;
     344        op.BinaryVectorParameter.Hidden = true;
    331345      }
    332346      foreach (IBinaryVectorMoveOperator op in Operators.OfType<IBinaryVectorMoveOperator>()) {
    333347        op.BinaryVectorParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName;
     348        op.BinaryVectorParameter.Hidden = true;
    334349      }
    335350      foreach (IKnapsackMoveEvaluator op in Operators.OfType<IKnapsackMoveEvaluator>()) {
    336351        op.KnapsackCapacityParameter.ActualName = KnapsackCapacityParameter.Name;
     352        op.KnapsackCapacityParameter.Hidden = true;
    337353        op.PenaltyParameter.ActualName = PenaltyParameter.Name;
     354        op.PenaltyParameter.Hidden = true;
    338355        op.WeightsParameter.ActualName = WeightsParameter.Name;
     356        op.WeightsParameter.Hidden = true;
    339357        op.ValuesParameter.ActualName = ValuesParameter.Name;
    340       }
    341       foreach (var op in Operators.OfType<IBinaryVectorMultiNeighborhoodShakingOperator>())
     358        op.ValuesParameter.Hidden = true;
     359      }
     360      foreach (var op in Operators.OfType<IBinaryVectorMultiNeighborhoodShakingOperator>()) {
    342361        op.BinaryVectorParameter.ActualName = SolutionCreator.BinaryVectorParameter.ActualName;
     362        op.BinaryVectorParameter.Hidden = true;
     363      }
    343364    }
    344365    #endregion
Note: See TracChangeset for help on using the changeset viewer.