Table of Contents

Interface INotifyExpression<T>

Namespace
NMF.Expressions
Assembly
NMF.Expressions.dll

Represents a typed expression with additional information on the program flow

public interface INotifyExpression<out T> : INotifyValue<T>, INotifyExpression, INotifiable, IDisposable

Type Parameters

T

The type of the expression

Inherited Members
Extension Methods

Methods

ApplyParameters(IDictionary<string, object>, IDictionary<INotifiable, INotifiable>)

Applies the given set of parameters to the expression

INotifyExpression<out T> ApplyParameters(IDictionary<string, object> parameters, IDictionary<INotifiable, INotifiable> trace)

Parameters

parameters IDictionary<string, object>

A set of parameter values

trace IDictionary<INotifiable, INotifiable>

A trace to make sure parameters are only applied once for every DDG node

Returns

INotifyExpression<T>

A new expression with all parameter placeholders replaced with the parameter values

Remarks

In case that the current expression is parameter free, it simply returns itself

Reduce()

Simplifies the current expression

INotifyExpression<out T> Reduce()

Returns

INotifyExpression<T>

A simpler expression repüresenting the same incremental value (e.g. a constant if this expression can be constant), otherwise itself