A context in which a set of variables are bound to values
Ejemplo n.º 1
0
 /// <summary>
 /// Applies the series of calculators to the specified runtime
 /// </summary>
 /// <param name="runtime">A runtime to which the series of calculators is applied</param>
 public void ApplyCalculation(GraspRuntime runtime)
 {
     foreach(var calculator in Calculators)
     {
         calculator.ApplyCalculation(runtime);
     }
 }
Ejemplo n.º 2
0
 void ICalculator.ApplyCalculation(GraspRuntime runtime)
 {
     Contract.Requires(runtime != null);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Applies the function to the specified runtime
 /// </summary>
 /// <param name="runtime">A runtime to which the function is applied</param>
 public void ApplyCalculation(GraspRuntime runtime)
 {
     runtime.SetVariableValue(OutputVariable, Function(runtime));
 }