Пример #1
0
 /// <summary>
 /// Constructs the effect.
 /// </summary>
 /// <param name="assignOperator">Assignment operator.</param>
 /// <param name="function">Numeric function.</param>
 /// <param name="value">Numeric value to be assigned.</param>
 public NumericAssignEffect(AssignOperator assignOperator, NumericFunction function, NumericExpression value)
 {
     AssignOperator = assignOperator;
     Function       = function;
     Value          = value;
 }
Пример #2
0
 /// <summary>
 /// Constructs the durative constraint.
 /// </summary>
 /// <param name="durationComparer">Duration comparer specifier.</param>
 /// <param name="value">Numeric expression to compare.</param>
 public CompareDurativeConstraint(DurationComparer durationComparer, NumericExpression value)
 {
     DurationComparer = durationComparer;
     Value            = value;
 }
Пример #3
0
 /// <summary>
 /// Constructs the durative effect.
 /// </summary>
 /// <param name="numericExpression">Numeric expression.</param>
 public CompoundTimedNumericExpression(NumericExpression numericExpression)
 {
     NumericExpression = numericExpression;
 }
Пример #4
0
 /// <summary>
 /// Constructs the numeric operation.
 /// </summary>
 /// <param name="argument">Numeric argument.</param>
 public UnaryMinus(NumericExpression argument)
 {
     Argument = argument;
 }
Пример #5
0
 /// <summary>
 /// Constructs the numeric operation.
 /// </summary>
 /// <param name="argument1">First numeric argument.</param>
 /// <param name="argument2">Second numeric argument.</param>
 public Divide(NumericExpression argument1, NumericExpression argument2)
 {
     Argument1 = argument1;
     Argument2 = argument2;
 }
Пример #6
0
 /// <summary>
 /// Constructs the numeric operation.
 /// </summary>
 /// <param name="argument1">First numeric argument.</param>
 /// <param name="argument2">Second numeric argument.</param>
 public Minus(NumericExpression argument1, NumericExpression argument2)
 {
     Argument1 = argument1;
     Argument2 = argument2;
 }
Пример #7
0
 /// <summary>
 /// Constructs the expression.
 /// </summary>
 /// <param name="numComparer">Numeric comparer.</param>
 /// <param name="numExpression1">First numeric argument.</param>
 /// <param name="numExpression2">Second numeric argument.</param>
 public NumericCompareExpression(NumericComparer numComparer, NumericExpression numExpression1, NumericExpression numExpression2)
 {
     NumericComparer    = numComparer;
     NumericExpression1 = numExpression1;
     NumericExpression2 = numExpression2;
 }