Méthode | Description | |
---|---|---|
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.
|
Méthode | Description | |
---|---|---|
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. |
Résultat | double |
public IsViolated ( double input ) : bool | ||
input | double | The function point. |
Résultat | bool |
public LinearConstraint ( IObjectiveFunction function, Expression |
||
function | IObjectiveFunction | The objective function to which this /// constraint refers to. |
constraint | Expression |
A |
Résultat | System |
public LinearConstraint ( IObjectiveFunction function, string constraint ) : System | ||
function | IObjectiveFunction | The objective function to which /// this constraint refers to. |
constraint | string | A |
Résultat | 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 |
|
Résultat | System |
public LinearConstraint ( int numberOfVariables ) : System | ||
numberOfVariables | int | The number of variables in the constraint. |
Résultat | 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. | |
Résultat | 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. | |
Résultat | bool |