예제 #1
0
        public override IOperation Apply()
        {
            InversionMove move        = InversionMoveParameter.ActualValue;
            Permutation   permutation = PermutationParameter.ActualValue;
            DoubleValue   moveQuality = MoveQualityParameter.ActualValue;
            DoubleValue   quality     = QualityParameter.ActualValue;

            InversionManipulator.Apply(permutation, move.Index1, move.Index2);
            quality.Value = moveQuality.Value;

            return(base.Apply());
        }
 protected InversionManipulator(InversionManipulator original, Cloner cloner) : base(original, cloner) { }
 protected InversionManipulator(InversionManipulator original, Cloner cloner) : base(original, cloner)
 {
 }