public override LayoutQuery OptimizedUsingExample(SpecificLayout example)
        {
            MaxScore_LayoutQuery result = this;

            if (this.MinScore.CompareTo(example.Score) < 0)
            {
                result = this.Clone((MaxScore_LayoutQuery)null);
                result.setMinScore(example.Score);
            }
            return(result);
        }
        public override LayoutQuery OptimizedPastDimensions(LayoutDimensions example)
        {
            MaxScore_LayoutQuery result   = this;
            LayoutScore          minScore = example.Score.Plus(LayoutScore.Tiny);

            if (this.MinScore.CompareTo(minScore) < 0)
            {
                result = this.Clone((MaxScore_LayoutQuery)null);
                result.setMinScore(minScore);
                if (!result.Accepts(result.ProposedSolution_ForDebugging))
                {
                    result.ProposedSolution_ForDebugging = null;
                }
            }
            return(result);
        }