evaluation

abstract fun evaluation(matches: Map<HashString, ITreeNode<out Any>>): Double

This evaluates the expression. If the matches map contains values which are not instanced, and the expression value cannot consequently be computed, 0d is returned.

Return

A number representing the value for this expression. If the expression can't be computed, NaN is returned.

Parameters

matches

the map that binds each variable with its own value