function used for computing the value</span>
<span class="sd">            of the terminal node in the tree. The names of the created</span>
<span class="sd">            nodes must be used as the parameters of the function.</span>

<span class="sd">        &quot;&quot;&quot;</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">data</span><span class="p">[</span><span class="n">name</span><span class="p">]</span> <span class="o">=</span> <span class="p">{</span>
            <span