Show / Hide Table of Contents

    Class ExpressionNormalizer

    Class used for normalizing an expression. ConstantExpressions should be added up or expanded (to show if the expression is linear or quadratic or nonlinear) Another goal is to eliminate as many ConstantExpressions as possible.

    Inheritance
    System.Object
    ExpressionNormalizer
    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.Exporter
    Assembly: Optimization.dll
    Syntax
    public class ExpressionNormalizer : IExpressionVisitor<Expression>

    Methods

    Visit(Expression)

    Returns the normalized expression

    Declaration
    public Expression Visit(Expression expression)
    Parameters
    Type Name Description
    Expression expression

    The Optimization.Model.Expression

    Returns
    Type Description
    Expression

    The normalized expression

    Implements
    IExpressionVisitor<T>.Visit(Expression)

    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