<h2 id="returns">Returns</h2>
<dl>
<dt><code>str</code></dt>
<dd>String with substitutions made according to fd.</dd>
</dl></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def reduce_rspace_string(s,fd,simplify=True):
    &#34;&#34;&#34;Replaces variables in the string s with the fixed values given by the dictionary fd.

    Parameters
    ----------
    s : str
        Boolean expression in BNET format.
    fd : partial state dictionary
        