// // 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); }
public BinarySynthOperation(FigSynthProblem ell, Figure r) { leftProblem = ell; rightProblem = new UnarySynth(r); }
public BinarySynthOperation(Figure ell, Figure r) { leftProblem = new UnarySynth(ell); rightProblem = new UnarySynth(r); }