Show / Hide Table of Contents

    Class OperatorExpression

    An operator expression connects (a number of) Expressions, using an operator as, e.g., Min, Plus, Times, etc.

    Inheritance
    System.Object
    Expression
    OperatorExpression
    Abs
    Ceil
    Floor
    Max
    Min
    Plus
    Times
    Inherited Members
    Expression.IsLinear
    Expression.NonZeroTerms
    Expression.Constant
    Expression.Evaluate(IDictionary<String, Double>)
    Expression._bigMUserValue
    Expression.BigM
    Expression.EmptyExpression
    Expression.Sum(IEnumerable<Expression>)
    Expression.Sum(IEnumerable<Double>)
    Expression.Sum(IEnumerable<Term>)
    Expression.Sum(IEnumerable<Variable>)
    Expression.Sum(Int32, Int32, Func<Int32, Expression>)
    Expression.Sum(Int32, Int32, Func<Int32, Term>)
    Expression.Minimum(IEnumerable<Expression>, Nullable<Double>)
    Expression.Maximum(IEnumerable<Expression>, Nullable<Double>)
    Expression.Absolute(Expression, Nullable<Double>)
    Expression.Floor(Expression, Nullable<Double>)
    Expression.Ceiling(Expression, Nullable<Double>)
    Expression.Normalize()
    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
    [DataContract]
    [Serializable]
    public abstract class OperatorExpression : Expression, IOperator, IOperatorExpression

    Constructors

    OperatorExpression(IEnumerable<Expression>, Int32, Int32)

    Initializes a new instance of the OperatorExpression class.

    Declaration
    protected OperatorExpression(IEnumerable<Expression> expressions, int min, int max)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<Expression> expressions

    The expressions.

    System.Int32 min

    The minimal number of elements in expressions

    System.Int32 max

    The maximal number of elements in expressions

    Properties

    ContainsAtMostOneVariable

    Declaration
    public override bool ContainsAtMostOneVariable { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Expression.ContainsAtMostOneVariable

    ContainsNoVariables

    Declaration
    public override bool ContainsNoVariables { get; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Expression.ContainsNoVariables

    Expressions

    Gets the expressions.

    Declaration
    public ReadOnlyCollection<Expression> Expressions { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<Expression>
    Implements
    IOperatorExpression.Expressions

    PreservesLinearity

    Gets a value indicating whether the Expression preserves linearity.

    Declaration
    public abstract bool PreservesLinearity { get; }
    Property Value
    Type Description
    System.Boolean
    Implements
    IOperator.PreservesLinearity

    Terms

    Gets the terms.

    Declaration
    public override IEnumerable<Term> Terms { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<Term>

    The terms.

    Overrides
    Expression.Terms

    Variables

    Gets the variables with non-0 term-factors.

    Declaration
    public override IEnumerable<Variable> Variables { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<Variable>
    Overrides
    Expression.Variables

    Extension Methods

    ReflectionHelper.GetFieldValue(Object, String)
    ReflectionHelper.SetFieldValue(Object, String, Object)
    ExtensionMethods.Clone<T>(T)
    ExtensionMethods.ThrowIfArgumentIsNull<T>(T, String)
    Back to top Copyright © OPTANO GmbH generated with DocFX
    Privacy Policy | Impressum – Legal Notice