Optimization Framework |
Expression Members |
Expression Class Constructors Methods Operators Properties See Also Send Feedback |
The Expression type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Expression | Initializes a new instance of the Expression class |
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Evaluate |
Evaluates the expression using the specified variable values.
| |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Sum(IEnumerable<(Of <<'(Double>)>>)) |
Sums up the specified values.
| |
Sum(IEnumerable<(Of <<'(Expression>)>>)) |
Sums the specified expressions.
| |
Sum(IEnumerable<(Of <<'(Term>)>>)) |
Sums the specified terms.
| |
Sum(IEnumerable<(Of <<'(Variable>)>>)) |
Sums the specified variables.
| |
Sum(Int32, Int32, Func<(Of <<'(Int32, Expression>)>>)) |
Sums the specified range of expressions.
| |
Sum(Int32, Int32, Func<(Of <<'(Int32, Term>)>>)) |
Sums the specified range of terms.
| |
ToString | (Inherited from Object.) |
Operators
Properties
Name | Description | |
---|---|---|
Constant |
Gets the constant of this expression.
| |
ExpressionLowerEstimate |
Gives a lower estimate on the value of an Expression.
ToDO: Very experimental. Should be able to estimate linear combinations of variables with finite bounds.
In the default case -infinity is returned!
| |
ExpressionUpperEstimate |
Gives an upper estimate in the value of an Expression.
ToDO: Very experimental. Should be able to estimate linear combinations of variables with finite bounds.
In the default case -infinity is returned!
| |
isLinear |
Gets or sets a value indicating whether this instance is linear.
| |
Terms |
Gets a list of the terms in this expression. It does not contain any operators and does not tell you anything aobut how they are combined with operators.
| |
Variables |
Gets the variables in this expression.
|