Leaf#

module wntr.sim.aml.expr

class Leaf[source]#

Bases: ExpressionBase


evaluate()[source]#

Evaluate the expression numerically.

Returns:

val – The floating point value of the expression.

Return type:

float

abstractmethod get_floats()#
abstractmethod get_leaves()#
abstractmethod get_params()#
get_rpn(leaf_ndx_map)[source]#
abstractmethod get_vars()#
abstractmethod is_expression_type()#
abstractmethod is_float_type()#
is_leaf()[source]#
abstractmethod is_parameter_type()#
is_relational()#
abstractmethod is_variable_type()#
last_node()[source]#
operators()[source]#
reverse_ad()[source]#
reverse_sd()[source]#
property value#