Beispiel #1
0
 /// <summary>
 /// Create a new Variable object with this VariableType within the specified Problem.
 /// </summary>
 /// <param name="name">Name to give to the variable</param>
 /// <param name="p">Problem to add the variable to</param>
 /// <param name="condition">Optional condition for when the variable should be defined in a given solution.</param>
 public abstract Variable Instantiate(object name, Problem p, Literal condition = null);
Beispiel #2
0
 /// <inheritdoc />
 protected DomainVariable(object name, Problem problem, Literal condition) : base(name, problem, condition)
 {
 }
Beispiel #3
0
 /// <inheritdoc />
 public override Variable Instantiate(object name, Problem p, Literal condition = null)
 {
     // ReSharper disable once ObjectCreationAsStatement
     return(new FDVariable <T>(name, this, condition));
 }