Пример #1
0
        //
        // A symmetric scenario is one in which:
        //  1) The inner shapes are congruent
        //  2) The remaining atomic regions match 1-1.
        //
        public override bool IsSymmetricTo(FigSynthProblem that)
        {
            UnarySynth unarySynth = that as UnarySynth;

            if (unarySynth == null)
            {
                return(false);
            }

            // The outer shapes must be congruent.
            return(this.figure.CoordinateCongruent(unarySynth.figure));

            // The atomic regions have to match 1-1 and onto.
            // return base.IsSymmetricTo(that);
        }
Пример #2
0
 public BinarySynthOperation(FigSynthProblem ell, Figure r)
 {
     leftProblem = ell;
     rightProblem = new UnarySynth(r);
 }
Пример #3
0
 public BinarySynthOperation(Figure ell, Figure r)
 {
     leftProblem  = new UnarySynth(ell);
     rightProblem = new UnarySynth(r);
 }
Пример #4
0
 public BinarySynthOperation(Figure ell, Figure r)
 {
     leftProblem = new UnarySynth(ell);
     rightProblem = new UnarySynth(r);
 }