Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/12/15 10:53:12 (10 years ago)
Author:
mkommend
Message:

#2174: Fixed operator wiring bugs in Integer- and PermutationEncoding.

Location:
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/Encodings
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/Encodings/IntegerEncoding.cs

    r11739 r11746  
    185185
    186186    public override void ConfigureOperators(IEnumerable<IOperator> operators) {
    187       ConfigureBoundedOperators(Operators.OfType<IBoundedIntegerVectorOperator>());
    188       ConfigureCreators(Operators.OfType<IIntegerVectorCreator>());
    189       ConfigureCrossovers(Operators.OfType<IIntegerVectorCrossover>());
    190       ConfigureManipulators(Operators.OfType<IIntegerVectorManipulator>());
    191       ConfigureShakingOperators(Operators.OfType<IIntegerVectorMultiNeighborhoodShakingOperator>());
    192       ConfigureStrategyVectorOperator(Operators.OfType<IIntegerVectorStdDevStrategyParameterOperator>());
     187      ConfigureBoundedOperators(operators.OfType<IBoundedIntegerVectorOperator>());
     188      ConfigureCreators(operators.OfType<IIntegerVectorCreator>());
     189      ConfigureCrossovers(operators.OfType<IIntegerVectorCrossover>());
     190      ConfigureManipulators(operators.OfType<IIntegerVectorManipulator>());
     191      ConfigureShakingOperators(operators.OfType<IIntegerVectorMultiNeighborhoodShakingOperator>());
     192      ConfigureStrategyVectorOperator(operators.OfType<IIntegerVectorStdDevStrategyParameterOperator>());
    193193    }
    194194
  • branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/Encodings/PermutationEncoding.cs

    r11739 r11746  
    159159
    160160    public override void ConfigureOperators(IEnumerable<IOperator> operators) {
    161       ConfigureCreators(Operators.OfType<IPermutationCreator>());
    162       ConfigureCrossovers(Operators.OfType<IPermutationCrossover>());
    163       ConfigureManipulators(Operators.OfType<IPermutationManipulator>());
    164       ConfigureShakingOperators(Operators.OfType<IPermutationMultiNeighborhoodShakingOperator>());
    165       ConfigureMoveOperators(Operators.OfType<IPermutationMoveOperator>());
    166       ConfigureInversionMoveOperators(Operators.OfType<IPermutationInversionMoveOperator>());
    167       ConfigureScrambleMoveOperators(Operators.OfType<IPermutationScrambleMoveOperator>());
    168       ConfigureSwap2MoveOperators(Operators.OfType<IPermutationSwap2MoveOperator>());
    169       ConfigureTranslocationMoveOperators(Operators.OfType<IPermutationTranslocationMoveOperator>());
     161      ConfigureCreators(operators.OfType<IPermutationCreator>());
     162      ConfigureCrossovers(operators.OfType<IPermutationCrossover>());
     163      ConfigureManipulators(operators.OfType<IPermutationManipulator>());
     164      ConfigureShakingOperators(operators.OfType<IPermutationMultiNeighborhoodShakingOperator>());
     165      ConfigureMoveOperators(operators.OfType<IPermutationMoveOperator>());
     166      ConfigureInversionMoveOperators(operators.OfType<IPermutationInversionMoveOperator>());
     167      ConfigureScrambleMoveOperators(operators.OfType<IPermutationScrambleMoveOperator>());
     168      ConfigureSwap2MoveOperators(operators.OfType<IPermutationSwap2MoveOperator>());
     169      ConfigureTranslocationMoveOperators(operators.OfType<IPermutationTranslocationMoveOperator>());
    170170    }
    171171
Note: See TracChangeset for help on using the changeset viewer.