Esempio n. 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());
        }
Esempio n. 2
0
 protected ScrambleManipulator(ScrambleManipulator original, Cloner cloner) : base(original, cloner)
 {
 }
 protected ScrambleManipulator(ScrambleManipulator original, Cloner cloner) : base(original, cloner) { }