Phoenix.Optimization
Overview
Class to hold contraint informationInheritance

Declaration
Description
Class to hold contraint informationPublic Member Functions
Properties
Properties inherited from IVariableName
Constructor & Destructor Documentation
OptConstraint()
constraint- Constraint to be copied
OptConstraint()
name- Name of the constraint.lowerBound- Lower bound of the constraint, or NaN if no lower constraint.upperBound- Upper bound of the constraint, or NaN if no upper constraint.
Member Function Documentation
Compare
x- Test value 1y- Test value 2
Equals
obj- The object to compare with the current object.
- true if the specified Object is equal to the current Object; otherwise, false.
Equals
constraint- The OptConstraint object to compare with the current OptConstraint.
- true if the specified OptConstraint is equal to the current OptConstraint; otherwise, false.
GetConstraintViolation
p- The value to test
- The value of the constraint violation
GetHashCode
- A hash code for the current OptConstraint.
operator!=
a- The first OptConstraint to compare.b- The second OptConstraint to compare.
- true if the OptConstraints are not considered equal; otherwise, false.
operator==
a- The first OptConstraint to compare.b- The second OptConstraint to compare.
- true if the OptConstraints are considered equal; otherwise, false.