Files
scfg-induction/experiments/nested_anbn-final.svg
T
2026-09-18 16:27:30 +00:00

143 lines
7.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 16.0.0 (0)
-->
<!-- Title: grammar Pages: 1 -->
<svg width="436pt" height="177pt"
viewBox="0.00 0.00 436.00 177.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 172.5)">
<title>grammar</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-172.5 431.75,-172.5 431.75,4 -4,4"/>
<text xml:space="preserve" text-anchor="middle" x="213.88" y="-151.2" font-family="Times,serif" font-size="14.00">nested_anbn (induced)</text>
<!-- nt_S -->
<g id="node1" class="node">
<title>nt_S</title>
<ellipse fill="none" stroke="black" stroke-width="2" cx="22" cy="-98" rx="18" ry="18"/>
<ellipse fill="none" stroke="black" stroke-width="2" cx="22" cy="-98" rx="22" ry="22"/>
<text xml:space="preserve" text-anchor="middle" x="22" y="-94.5" font-family="Helvetica,sans-Serif" font-size="10.00">S</text>
</g>
<!-- pr_1 -->
<g id="node8" class="node">
<title>pr_1</title>
<polygon fill="none" stroke="black" points="142.75,-144 88.75,-144 88.75,-108 142.75,-108 142.75,-144"/>
<text xml:space="preserve" text-anchor="middle" x="115.75" y="-128.5" font-family="Helvetica,sans-Serif" font-size="10.00">c</text>
<text xml:space="preserve" text-anchor="middle" x="115.75" y="-116.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=0.059</text>
</g>
<!-- nt_S&#45;&gt;pr_1 -->
<g id="edge3" class="edge">
<title>nt_S&#45;&gt;pr_1</title>
<path fill="none" stroke="black" d="M43.36,-104.21C53.44,-107.29 65.94,-111.1 77.64,-114.67"/>
<polygon fill="black" stroke="black" points="76.48,-117.98 87.06,-117.55 78.52,-111.28 76.48,-117.98"/>
</g>
<!-- pr_2 -->
<g id="node9" class="node">
<title>pr_2</title>
<polygon fill="none" stroke="black" points="146.25,-90 85.25,-90 85.25,-54 146.25,-54 146.25,-90"/>
<text xml:space="preserve" text-anchor="middle" x="115.75" y="-74.5" font-family="Helvetica,sans-Serif" font-size="10.00">T_a S T_b</text>
<text xml:space="preserve" text-anchor="middle" x="115.75" y="-62.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=0.941</text>
</g>
<!-- nt_S&#45;&gt;pr_2 -->
<g id="edge5" class="edge">
<title>nt_S&#45;&gt;pr_2</title>
<path fill="none" stroke="black" d="M43.36,-92.23C52.45,-89.65 63.5,-86.52 74.17,-83.5"/>
<polygon fill="black" stroke="black" points="74.92,-86.93 83.58,-80.83 73.01,-80.19 74.92,-86.93"/>
</g>
<!-- nt_T_a -->
<g id="node2" class="node">
<title>nt_T_a</title>
<ellipse fill="none" stroke="black" cx="214.5" cy="-72" rx="27" ry="18"/>
<text xml:space="preserve" text-anchor="middle" x="214.5" y="-68.5" font-family="Helvetica,sans-Serif" font-size="10.00">T_a</text>
</g>
<!-- pr_3 -->
<g id="node10" class="node">
<title>pr_3</title>
<polygon fill="none" stroke="black" points="332.5,-90 278.5,-90 278.5,-54 332.5,-54 332.5,-90"/>
<text xml:space="preserve" text-anchor="middle" x="305.5" y="-74.5" font-family="Helvetica,sans-Serif" font-size="10.00">a</text>
<text xml:space="preserve" text-anchor="middle" x="305.5" y="-62.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=1.000</text>
</g>
<!-- nt_T_a&#45;&gt;pr_3 -->
<g id="edge9" class="edge">
<title>nt_T_a&#45;&gt;pr_3</title>
<path fill="none" stroke="black" d="M241.72,-72C249.62,-72 258.44,-72 266.93,-72"/>
<polygon fill="black" stroke="black" points="266.64,-75.5 276.64,-72 266.64,-68.5 266.64,-75.5"/>
</g>
<!-- nt_T_b -->
<g id="node3" class="node">
<title>nt_T_b</title>
<ellipse fill="none" stroke="black" cx="214.5" cy="-18" rx="27" ry="18"/>
<text xml:space="preserve" text-anchor="middle" x="214.5" y="-14.5" font-family="Helvetica,sans-Serif" font-size="10.00">T_b</text>
</g>
<!-- pr_0 -->
<g id="node7" class="node">
<title>pr_0</title>
<polygon fill="none" stroke="black" points="332.5,-36 278.5,-36 278.5,0 332.5,0 332.5,-36"/>
<text xml:space="preserve" text-anchor="middle" x="305.5" y="-20.5" font-family="Helvetica,sans-Serif" font-size="10.00">b</text>
<text xml:space="preserve" text-anchor="middle" x="305.5" y="-8.5" font-family="Helvetica,sans-Serif" font-size="10.00">p=1.000</text>
</g>
<!-- nt_T_b&#45;&gt;pr_0 -->
<g id="edge1" class="edge">
<title>nt_T_b&#45;&gt;pr_0</title>
<path fill="none" stroke="black" d="M241.72,-18C249.62,-18 258.44,-18 266.93,-18"/>
<polygon fill="black" stroke="black" points="266.64,-21.5 276.64,-18 266.64,-14.5 266.64,-21.5"/>
</g>
<!-- tm_a -->
<g id="node4" class="node">
<title>tm_a</title>
<text xml:space="preserve" text-anchor="middle" x="400.75" y="-68.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#666666">a</text>
</g>
<!-- tm_b -->
<g id="node5" class="node">
<title>tm_b</title>
<text xml:space="preserve" text-anchor="middle" x="400.75" y="-14.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#666666">b</text>
</g>
<!-- tm_c -->
<g id="node6" class="node">
<title>tm_c</title>
<text xml:space="preserve" text-anchor="middle" x="214.5" y="-122.5" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#666666">c</text>
</g>
<!-- pr_0&#45;&gt;tm_b -->
<g id="edge2" class="edge">
<title>pr_0&#45;&gt;tm_b</title>
<path fill="none" stroke="black" d="M332.97,-18C342.18,-18 352.69,-18 362.61,-18"/>
<polygon fill="black" stroke="black" points="362.34,-21.5 372.34,-18 362.34,-14.5 362.34,-21.5"/>
<text xml:space="preserve" text-anchor="middle" x="353.12" y="-19.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_1&#45;&gt;tm_c -->
<g id="edge4" class="edge">
<title>pr_1&#45;&gt;tm_c</title>
<path fill="none" stroke="black" d="M143.19,-126C153.49,-126 165.47,-126 176.59,-126"/>
<polygon fill="black" stroke="black" points="176.25,-129.5 186.25,-126 176.25,-122.5 176.25,-129.5"/>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-127.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_2&#45;&gt;nt_S -->
<g id="edge7" class="edge">
<title>pr_2&#45;&gt;nt_S</title>
<path fill="none" stroke="black" d="M84.99,-68.56C77.36,-68.53 69.27,-69.27 62,-71.5 57.42,-72.91 52.9,-75.06 48.65,-77.53"/>
<polygon fill="black" stroke="black" points="46.98,-74.44 40.58,-82.88 50.85,-80.28 46.98,-74.44"/>
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-73.45" font-family="Helvetica,sans-Serif" font-size="9.00">2</text>
</g>
<!-- pr_2&#45;&gt;nt_T_a -->
<g id="edge6" class="edge">
<title>pr_2&#45;&gt;nt_T_a</title>
<path fill="none" stroke="black" d="M146.57,-72C155.8,-72 166.1,-72 175.8,-72"/>
<polygon fill="black" stroke="black" points="175.71,-75.5 185.71,-72 175.71,-68.5 175.71,-75.5"/>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-73.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_2&#45;&gt;nt_T_b -->
<g id="edge8" class="edge">
<title>pr_2&#45;&gt;nt_T_b</title>
<path fill="none" stroke="black" d="M146.57,-55.36C158.25,-48.84 171.63,-41.37 183.34,-34.83"/>
<polygon fill="black" stroke="black" points="184.77,-38.04 191.8,-30.11 181.36,-31.93 184.77,-38.04"/>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-46.95" font-family="Helvetica,sans-Serif" font-size="9.00">3</text>
</g>
<!-- pr_3&#45;&gt;tm_a -->
<g id="edge10" class="edge">
<title>pr_3&#45;&gt;tm_a</title>
<path fill="none" stroke="black" d="M332.97,-72C342.18,-72 352.69,-72 362.61,-72"/>
<polygon fill="black" stroke="black" points="362.34,-75.5 372.34,-72 362.34,-68.5 362.34,-75.5"/>
<text xml:space="preserve" text-anchor="middle" x="353.12" y="-73.95" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
</g>
</svg>