Show / Hide Table of Contents

    Class Z3Visitor

    This is a helper class to create an expression for the Z3 Solver visiting all nodes of an Expression.

    Inheritance
    System.Object
    Z3Visitor
    Namespace: OPTANO.Modeling.Optimization.Solver.Z3
    Assembly: Optimization.Solver.Z3.dll
    Syntax
    public class Z3Visitor : object, IExpressionVisitor<ArithExpr>

    Constructors

    Z3Visitor(Dictionary<String, ArithExpr>, Context)

    Initializes a new instance of the Z3Visitor class. Initializes a new instance of of the class. Constructor used for creating an expression-visitor for Z3.

    Declaration
    public Z3Visitor(Dictionary<string, ArithExpr> variables, Context ctx)
    Parameters
    Type Name Description
    Dictionary<System.String, ArithExpr> variables

    All variables of a model in Z3.

    Context ctx

    The ctx.

    Methods

    VisitExpression(Expression)

    The visit expression.

    Declaration
    public ArithExpr VisitExpression(Expression exp)
    Parameters
    Type Name Description
    Expression exp

    The exp.

    Returns
    Type Description
    ArithExpr

    The .

    Explicit Interface Implementations

    IExpressionVisitor<ArithExpr>.Visit(Expression)

    Returns the corresponding expression of the Z3 Solver.

    Declaration
    ArithExpr IExpressionVisitor<ArithExpr>.Visit(Expression exp)
    Parameters
    Type Name Description
    Expression exp

    The Expression.

    Returns
    Type Description
    ArithExpr

    The expression of the Z3 Solver.

    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