Метод | Описание | |
---|---|---|
GetViolation ( double input ) : double |
Gets how much the constraint is being violated.
|
|
IsViolated ( double input ) : bool |
Gets whether this constraint is being violated (within the current tolerance threshold).
|
|
LinearConstraint ( IObjectiveFunction function, Expression |
Constructs a new linear constraint.
|
|
LinearConstraint ( IObjectiveFunction function, string constraint ) : System |
Constructs a new linear constraint.
|
|
LinearConstraint ( IObjectiveFunction function, string constraint, |
Constructs a new linear constraint.
|
|
LinearConstraint ( int numberOfVariables ) : System |
Constructs a new linear constraint.
|
|
TryParse ( string str, |
Attempts to create a LinearConstraint from a System.String representation.
|
|
TryParse ( string str, IObjectiveFunction function, |
Attempts to create a LinearConstraint from a System.String representation.
|
Метод | Описание | |
---|---|---|
LinearConstraint ( ) : System | ||
compute ( double input ) : double | ||
gradient ( double x ) : double[] | ||
parse ( double>.Dictionary |
||
parseExpression ( IObjectiveFunction function, Expression |
||
parseString ( IObjectiveFunction function, string constraint, |
public GetViolation ( double input ) : double | ||
input | double | The function point. |
Результат | double |
public IsViolated ( double input ) : bool | ||
input | double | The function point. |
Результат | bool |
public LinearConstraint ( IObjectiveFunction function, Expression |
||
function | IObjectiveFunction | The objective function to which this /// constraint refers to. |
constraint | Expression |
A |
Результат | System |
public LinearConstraint ( IObjectiveFunction function, string constraint ) : System | ||
function | IObjectiveFunction | The objective function to which /// this constraint refers to. |
constraint | string | A |
Результат | System |
public LinearConstraint ( IObjectiveFunction function, string constraint, |
||
function | IObjectiveFunction | The objective function to which /// this constraint refers to. |
constraint | string | A |
format | The culture information specifying how
/// numbers written in the |
|
Результат | System |
public LinearConstraint ( int numberOfVariables ) : System | ||
numberOfVariables | int | The number of variables in the constraint. |
Результат | System |
public static TryParse ( string str, |
||
str | string | The string containing the constraint in textual form. |
culture | The culture information specifying how
/// numbers written in the |
|
function | IObjectiveFunction | The objective function to which this constraint refers to. |
constraint | The resulting constraint, if it could be parsed. | |
Результат | bool |
public static TryParse ( string str, IObjectiveFunction function, |
||
str | string | The string containing the constraint in textual form. |
function | IObjectiveFunction | The objective function to which this constraint refers to. |
constraint | The resulting constraint, if it could be parsed. | |
Результат | bool |