public CombinedFormula Prepare(LeftFormula m, bool partial = false)
 {
     CombinedFormula              = new CombinedFormula(m, this, partial);
     CombinedFormula.LeftFormula  = m;
     CombinedFormula.RightFormula = this;
     return(CombinedFormula);
 }
        public Reckoner GetReckoner(Formula f, LeftFormula m)
        {
            CombinedReckoner reckoner = CombineReckoner(f, m);
            Reckoner         ev       = new Reckoner(reckoner.Reckon);

            return(ev);
        }
 public CombinedFormula Prepare(Formula f, LeftFormula m, bool partial = false)
 {
     CombinedFormula              = new CombinedFormula(m, f, partial);
     CombinedFormula.LeftFormula  = m;
     CombinedFormula.RightFormula = f;
     return(CombinedFormula);
 }
Exemple #4
0
 public CombinedFormula(LeftFormula m, Formula e, bool partial = false)
 {
     lexpr        = m;
     expr         = e;
     this.partial = partial;
 }
        public CombinedReckoner CombineReckoner(Formula f, LeftFormula m)
        {
            CombinedReckoner reckoner = Compiler.Compile(new CombinedFormula(m, f));

            return(reckoner);
        }