Пример #1
0
 public SymbolicDataAnalysisExpressionTreeLinearInterpreter()
     : base("SymbolicDataAnalysisExpressionTreeLinearInterpreter", "Linear (non-recursive) interpreter for symbolic expression trees (does not support ADFs).")
 {
     Parameters.Add(new FixedValueParameter <BoolValue>(CheckExpressionsWithIntervalArithmeticParameterName, CheckExpressionsWithIntervalArithmeticParameterDescription, new BoolValue(false)));
     Parameters.Add(new FixedValueParameter <IntValue>(EvaluatedSolutionsParameterName, "A counter for the total number of solutions the interpreter has evaluated", new IntValue(0)));
     interpreter = new SymbolicDataAnalysisExpressionTreeInterpreter();
 }
Пример #2
0
 public SymbolicDataAnalysisExpressionTreeLinearInterpreter(string name, string description)
     : base(name, description)
 {
     Parameters.Add(new FixedValueParameter <BoolValue>(CheckExpressionsWithIntervalArithmeticParameterName, CheckExpressionsWithIntervalArithmeticParameterDescription, new BoolValue(false)));
     Parameters.Add(new FixedValueParameter <IntValue>(EvaluatedSolutionsParameterName, "A counter for the total number of solutions the interpreter has evaluated", new IntValue(0)));
     interpreter = new SymbolicDataAnalysisExpressionTreeInterpreter();
 }
Пример #3
0
 public SymbolicDataAnalysisExpressionTreeLinearInterpreter()
     : base("SymbolicDataAnalysisExpressionTreeLinearInterpreter", "Linear (non-recursive) interpreter for symbolic expression trees (does not support ADFs).")
 {
     Parameters.Add(new ValueParameter <BoolValue>(CheckExpressionsWithIntervalArithmeticParameterName, "Switch that determines if the interpreter checks the validity of expressions with interval arithmetic before evaluating the expression.", new BoolValue(false)));
     Parameters.Add(new ValueParameter <IntValue>(EvaluatedSolutionsParameterName, "A counter for the total number of solutions the interpreter has evaluated", new IntValue(0)));
     interpreter = new SymbolicDataAnalysisExpressionTreeInterpreter();
 }
Пример #4
0
 private void AfterDeserialization()
 {
     if (interpreter == null)
     {
         interpreter = new SymbolicDataAnalysisExpressionTreeInterpreter();
     }
 }
 protected SymbolicDataAnalysisExpressionTreeInterpreter(SymbolicDataAnalysisExpressionTreeInterpreter original,
                                                         Cloner cloner)
     : base(original, cloner)
 {
 }
Пример #6
0
 private SymbolicDataAnalysisExpressionTreeLinearInterpreter(SymbolicDataAnalysisExpressionTreeLinearInterpreter original, Cloner cloner)
     : base(original, cloner)
 {
     interpreter = cloner.Clone(original.interpreter);
 }
Пример #7
0
 private SymbolicDataAnalysisExpressionTreeLinearInterpreter(bool deserializing)
     : base(deserializing)
 {
     interpreter = new SymbolicDataAnalysisExpressionTreeInterpreter();
 }
 protected SymbolicDataAnalysisExpressionTreeInterpreter(SymbolicDataAnalysisExpressionTreeInterpreter original, Cloner cloner) : base(original, cloner) { }
Пример #9
0
 private SymbolicDataAnalysisExpressionTreeLinearInterpreter(StorableConstructorFlag _) : base(_)
 {
     interpreter = new SymbolicDataAnalysisExpressionTreeInterpreter();
 }
 private void AfterDeserialization() {
   if (interpreter == null) interpreter = new SymbolicDataAnalysisExpressionTreeInterpreter();
 }
 public SymbolicDataAnalysisExpressionTreeLinearInterpreter()
   : base("SymbolicDataAnalysisExpressionTreeLinearInterpreter", "Linear (non-recursive) interpreter for symbolic expression trees (does not support ADFs).") {
   Parameters.Add(new ValueParameter<BoolValue>(CheckExpressionsWithIntervalArithmeticParameterName, "Switch that determines if the interpreter checks the validity of expressions with interval arithmetic before evaluating the expression.", new BoolValue(false)));
   Parameters.Add(new ValueParameter<IntValue>(EvaluatedSolutionsParameterName, "A counter for the total number of solutions the interpreter has evaluated", new IntValue(0)));
   interpreter = new SymbolicDataAnalysisExpressionTreeInterpreter();
 }
 private SymbolicDataAnalysisExpressionTreeLinearInterpreter(SymbolicDataAnalysisExpressionTreeLinearInterpreter original, Cloner cloner)
   : base(original, cloner) {
   interpreter = cloner.Clone(original.interpreter);
 }