Ejemplo n.º 1
0
 /// Author: Bert van Montfort
 /// <summary>
 /// Initializes a new instance of the <see cref="Shared.VariableCombo"/> class.
 /// </summary>
 /// <param name="leftSolver">Left solver.</param>
 /// <param name="rightSolver">Right solver.</param>
 /// <param name="mathOperator">Math operator.</param>
 public VariableCombo(VariableSolver leftSolver, VariableSolver rightSolver, EMathOperator mathOperator)
 {
     this.leftSolver = leftSolver;
     this.rightSolver = rightSolver;
     this.mathOperator = mathOperator;
     //XmlReader reader = XmlReader.Create (new StringReader ("<books><book><title>a</title></book></books>"));
 }
Ejemplo n.º 2
0
 /// Author: Bert van Montfort
 /// <summary>
 /// Creates a new 
 /// </summary>
 /// <param name="assignment">The VariableSolver to solve</param>
 public DefineVariable(VariableSolver assignment)
 {
     this.assignment = assignment;
 }
Ejemplo n.º 3
0
 /// Author: Bert van Montfort
 /// <summary>
 /// Creates a new ValueSolver.
 /// This solver checks for (i==5) and the like
 /// </summary>
 /// <param name="leftSolver">Left solver.</param>
 /// <param name="rightSolver">Right solver.</param>
 /// <param name="comparisonOperator">Comparison operator.</param>
 public ValueSolver(VariableSolver leftSolver, VariableSolver rightSolver, EComparisonOperator comparisonOperator)
 {
     this.leftSolver = leftSolver;
     this.rightSolver = rightSolver;
     this.comparisonOperator = comparisonOperator;
 }
Ejemplo n.º 4
0
 public VariableCombo(VariableSolver solverOne, VariableSolver solverTwo, EAssignmentOperator assignmentOperator)
 {
     //TODO remove this constructor
 }