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

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