Node values that are to be considered fixed.
    simplify : bool
        Whether to simplify the expression using espresso (the default is True).

    Returns
    -------
    str
        String with substitutions made according to fd.

    &#34;&#34;&#34;
    s2 = s
    for k,v in fd.items():
        s2 = re.sub(rf&#34;\b{k}\b&#34;,str(v),s2)
    if simplify:
        s2 = pyboolnet.boolean_logic.minimize_espresso(s2)
    return s2</code></pre>
</details>
</dd>
<dt id="pystablemotifs.restrict_space.rspace"><