Expression Members

Fabrica Bolos GLPK

Collapse imageExpand ImageCopy imageCopyHover image

The Expression type exposes the following members.

Constructors

  NameDescription
Protected methodExpression
Initializes a new instance of the Expression class

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodEvaluate
Evaluates the expression using the specified variable values.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberSum(IEnumerable<(Of <<'(Double>)>>))
Sums up the specified values.
Public methodStatic memberSum(IEnumerable<(Of <<'(Expression>)>>))
Sums the specified expressions.
Public methodStatic memberSum(IEnumerable<(Of <<'(Term>)>>))
Sums the specified terms.
Public methodStatic memberSum(IEnumerable<(Of <<'(Variable>)>>))
Sums the specified variables.
Public methodStatic memberSum(Int32, Int32, Func<(Of <<'(Int32, Expression>)>>))
Sums the specified range of expressions.
Public methodStatic memberSum(Int32, Int32, Func<(Of <<'(Int32, Term>)>>))
Sums the specified range of terms.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Operators

  NameDescription
Public operatorStatic memberAddition(Double, Expression)
Adds a constant to an expression
Public operatorStatic memberAddition(Expression, Expression)
Implements the operator +.
Public operatorStatic memberAddition(Expression, Variable)
Implements the operator +.
Public operatorStatic memberAddition(Expression, Double)
Adds a constant to an expression
Public operatorStatic memberAddition(Variable, Expression)
Implements the operator +.
Public operatorStatic memberEquality(Expression, Expression)
Implements the operator ==.
Public operatorStatic memberEquality(Expression, Variable)
Public operatorStatic memberEquality(Expression, Double)
Implements the operator ==.
Public operatorStatic memberEquality(Variable, Expression)
Creates a new equality constraint
Public operatorStatic memberGreaterThanOrEqual(Double, Expression)
Implements the operator >=.
Public operatorStatic memberGreaterThanOrEqual(Expression, Expression)
Implements the operator >=.
Public operatorStatic memberGreaterThanOrEqual(Expression, Variable)
Implements the operator >=.
Public operatorStatic memberGreaterThanOrEqual(Expression, Double)
Implements the operator >=.
Public operatorStatic memberGreaterThanOrEqual(Variable, Expression)
Implements the operator >=.
Public operatorStatic memberInequality(Expression, Expression)
Please construct inequalities using <= and >=
Public operatorStatic memberInequality(Expression, Variable)
Please construct inequalities using <= and >=
Public operatorStatic memberInequality(Expression, Double)
Please construct inequalities using <= and >=
Public operatorStatic memberInequality(Variable, Expression)
Please construct inequalities using <= and >=
Public operatorStatic memberLessThanOrEqual(Double, Expression)
Implements the operator <=.
Public operatorStatic memberLessThanOrEqual(Expression, Expression)
Implements the operator <=.
Public operatorStatic memberLessThanOrEqual(Expression, Variable)
Implements the operator <=.
Public operatorStatic memberLessThanOrEqual(Expression, Double)
Implements the operator <=.
Public operatorStatic memberLessThanOrEqual(Variable, Expression)
Implements the operator <=.
Public operatorStatic memberMultiply(Double, Expression)
Implements the operator *.
Public operatorStatic memberMultiply(Expression, Expression)
Implements the operator *.
Public operatorStatic memberMultiply(Expression, Double)
Implements the operator *.
Public operatorStatic memberSubtraction(Double, Expression)
Implements the operator -.
Public operatorStatic memberSubtraction(Expression, Expression)
Implements the operator -.
Public operatorStatic memberSubtraction(Expression, Variable)
Implements the operator -.
Public operatorStatic memberSubtraction(Expression, Double)
Implements the operator -.
Public operatorStatic memberSubtraction(Variable, Expression)
Implements the operator -.

Properties

  NameDescription
Public propertyConstant
Gets the constant of this expression.
Public propertyExpressionLowerEstimate
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!
Public propertyExpressionUpperEstimate
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!
Public propertyisLinear
Gets or sets a value indicating whether this instance is linear.
Public propertyTerms
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.
Public propertyVariables
Gets the variables in this expression.

See Also