Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/23/16 19:33:03 (8 years ago)
Author:
bburlacu
Message:

#2685: Revert accidental commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithmMainLoop.cs

    r14353 r14354  
    162162      Comparator maxSelectionPressureComparator = new Comparator();
    163163      Comparator maxEvaluatedSolutionsComparator = new Comparator();
    164       Comparator maxSolutionQualityComparator = new Comparator();
    165164      Placeholder comparisonFactorModifier = new Placeholder();
    166165      Placeholder analyzer2 = new Placeholder();
     
    168167      ConditionalBranch conditionalBranch2 = new ConditionalBranch();
    169168      ConditionalBranch conditionalBranch3 = new ConditionalBranch();
    170       ConditionalBranch conditionalBranch4 = new ConditionalBranch();
    171169
    172170      variableCreator.CollectedValues.Add(new ValueParameter<IntValue>("Generations", new IntValue(0))); // Class OffspringSelectionGeneticAlgorithm expects this to be called Generations
     
    225223      maxEvaluatedSolutionsComparator.RightSideParameter.ActualName = "MaximumEvaluatedSolutions";
    226224
    227       maxSolutionQualityComparator.Comparison = new Comparison(ComparisonType.GreaterOrEqual);
    228       maxSolutionQualityComparator.LeftSideParameter.ActualName = "MaximumQuality";
    229       maxSolutionQualityComparator.ResultParameter.ActualName = "TerminateMaximumQuality";
    230       maxSolutionQualityComparator.RightSideParameter.ActualName = "BestQuality";
    231 
    232225      comparisonFactorModifier.Name = "Update ComparisonFactor (placeholder)";
    233226      comparisonFactorModifier.OperatorParameter.ActualName = ComparisonFactorModifierParameter.Name;
     
    244237      conditionalBranch3.Name = "MaximumEvaluatedSolutions reached?";
    245238      conditionalBranch3.ConditionParameter.ActualName = "TerminateEvaluatedSolutions";
    246 
    247       conditionalBranch4.Name = "MaximumQuality reached?";
    248       conditionalBranch3.ConditionParameter.ActualName = "TerminateMaximumQuality";
    249239      #endregion
    250240
     
    259249      maxGenerationsComparator.Successor = maxSelectionPressureComparator;
    260250      maxSelectionPressureComparator.Successor = maxEvaluatedSolutionsComparator;
    261       maxEvaluatedSolutionsComparator.Successor = maxSolutionQualityComparator;
    262       maxSolutionQualityComparator.Successor = comparisonFactorModifier;
     251      maxEvaluatedSolutionsComparator.Successor = comparisonFactorModifier;
    263252      comparisonFactorModifier.Successor = analyzer2;
    264253      analyzer2.Successor = conditionalBranch1;
     
    269258      conditionalBranch2.TrueBranch = null;
    270259      conditionalBranch2.Successor = null;
    271       conditionalBranch3.FalseBranch = conditionalBranch4;
     260      conditionalBranch3.FalseBranch = mainOperator;
    272261      conditionalBranch3.TrueBranch = null;
    273262      conditionalBranch3.Successor = null;
    274       conditionalBranch4.FalseBranch = mainOperator;
    275       conditionalBranch4.TrueBranch = null;
    276       conditionalBranch4.Successor = null;
    277263      #endregion
    278264    }
Note: See TracChangeset for help on using the changeset viewer.