SystemObject Extreme.Mathematics.OptimizationConstraintCollection
Namespace:
Extreme.Mathematics.Optimization
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public sealed class ConstraintCollection : IDictionary<string, Constraint>,
ICollection<KeyValuePair<string, Constraint>>, IEnumerable<KeyValuePair<string, Constraint>>,
IEnumerable
Public NotInheritable Class ConstraintCollection
Implements IDictionary(Of String, Constraint),
ICollection(Of KeyValuePair(Of String, Constraint)), IEnumerable(Of KeyValuePair(Of String, Constraint)),
IEnumerable
public ref class ConstraintCollection sealed : IDictionary<String^, Constraint^>,
ICollection<KeyValuePair<String^, Constraint^>>, IEnumerable<KeyValuePair<String^, Constraint^>>,
IEnumerable
[<SealedAttribute>]
type ConstraintCollection =
class
interface IDictionary<string, Constraint>
interface ICollection<KeyValuePair<string, Constraint>>
interface IEnumerable<KeyValuePair<string, Constraint>>
interface IEnumerable
end
The ConstraintCollection type exposes the following members.
| Name | Description |
---|
 | Count |
Returns the number of constraints in the collection.
|
 | ItemInt32 |
Gets a constraint from the collection.
|
 | ItemString | |
 | Keys |
Returns the collection of row names.
|
 | Values |
Gets the values that are contained in this collection.
|
Top
| Name | Description |
---|
 | Clear |
Removes all constraints from the collection.
|
 | Contains |
Determines if the specified constraint is in the collection.
|
 | ContainsName |
Returns a value whether the collection contains a constraint with the specified name.
|
 | CopyTo |
Copies all constraints in the collection to the specified array, starting at the specified index.
|
 | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
 | GetEnumerator |
Returns an IEnumeratorConstraint that iterates through the
collection.
|
 | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
 | GetLowerBounds |
Gets a vector that contains the lower bounds of the constraints.
|
 | GetType | Gets the Type of the current instance. (Inherited from Object.) |
 | GetUpperBounds |
Gets a vector that contains the upper bounds of the constraints.
|
 | Remove(Constraint) |
Removes a constraint from the collection.
|
 | Remove(String) |
Removes the constraint with the specified name from the collection.
|
 | ToString | Returns a string that represents the current object. (Inherited from Object.) |
 | TryGetValue | Gets the constraint with the specified name. |
Top
Top
Reference