Class OperatorConstraint
Represents a costraint group that is linked with a certain operator.
Inheritance
System.Object
OperatorConstraint
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: OPTANO.Modeling.Optimization.Operators
Assembly: Optimization.dll
Syntax
[Serializable]
public abstract class OperatorConstraint : IHaveName
Constructors
OperatorConstraint(IEnumerable<Constraint>, IEnumerable<Constraint>, String)
Initializes a new instance of the OperatorConstraint class
Declaration
protected OperatorConstraint(IEnumerable<Constraint> leftConstraints, IEnumerable<Constraint> rightConstraints, string name = "")
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<Constraint> | leftConstraints | Left Constraints |
System.Collections.Generic.IEnumerable<Constraint> | rightConstraints | Right Constraints |
System.String | name | Name of the operator Constraint |
Properties
LeftConstraints
Gets the left constraints.
Declaration
public ReadOnlyCollection<Constraint> LeftConstraints { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<Constraint> |
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
RightConstraints
Gets the right constraints.
Declaration
public ReadOnlyCollection<Constraint> RightConstraints { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<Constraint> |