evaluation

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

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, an exception is thrown.

Parameters

matches

the map that binds each variable with its own value