Пример #1
0
        public override IOperation Apply()
        {
            ScrambleMove move        = ScrambleMoveParameter.ActualValue;
            Permutation  permutation = PermutationParameter.ActualValue;
            DoubleValue  moveQuality = MoveQualityParameter.ActualValue;
            DoubleValue  quality     = QualityParameter.ActualValue;

            ScrambleManipulator.Apply(permutation, move.StartIndex, move.ScrambledIndices);
            quality.Value = moveQuality.Value;

            return(base.Apply());
        }
Пример #2
0
 protected ScrambleManipulator(ScrambleManipulator original, Cloner cloner) : base(original, cloner)
 {
 }
 protected ScrambleManipulator(ScrambleManipulator original, Cloner cloner) : base(original, cloner) { }