Files
scfg-induction/experiments/steps/anbn-step002-after.svg
T
2026-09-18 16:27:30 +00:00

145 lines
8.1 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="140pt"
viewBox="0.00 0.00 436.00 140.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 136.05)">
<title>grammar</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-136.05 431.75,-136.05 431.75,4 -4,4"/>
<text xml:space="preserve" text-anchor="middle" x="213.88" y="-114.75" font-family="Times,serif" font-size="14.00">anbn step 2 after: merge S,X</text>
<!-- nt_S -->
<g id="node1" class="node">
<title>nt_S</title>
<ellipse fill="none" stroke="red" stroke-width="2.5" cx="22" cy="-47.55" rx="18" ry="18"/>
<ellipse fill="none" stroke="red" stroke-width="2.5" cx="22" cy="-47.55" rx="22" ry="22"/>
<text xml:space="preserve" text-anchor="middle" x="22" y="-44.05" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">S</text>
</g>
<!-- pr_1 -->
<g id="node7" class="node">
<title>pr_1</title>
<polygon fill="none" stroke="red" stroke-width="2.5" points="146.25,-96.55 85.25,-96.55 85.25,-60.55 146.25,-60.55 146.25,-96.55"/>
<text xml:space="preserve" text-anchor="middle" x="115.75" y="-81.05" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">T_a S T_b</text>
<text xml:space="preserve" text-anchor="middle" x="115.75" y="-69.05" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=0.786</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="M44.21,-54.09C51.53,-56.39 59.77,-59.03 67.25,-61.55 69.3,-62.25 71.41,-62.96 73.52,-63.69"/>
<polygon fill="black" stroke="black" points="72.12,-66.91 82.72,-66.91 74.44,-60.3 72.12,-66.91"/>
</g>
<!-- pr_2 -->
<g id="node8" class="node">
<title>pr_2</title>
<polygon fill="none" stroke="red" stroke-width="2.5" points="142.75,-40.55 88.75,-40.55 88.75,-4.55 142.75,-4.55 142.75,-40.55"/>
<text xml:space="preserve" text-anchor="middle" x="115.75" y="-25.05" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">T_a T_b</text>
<text xml:space="preserve" text-anchor="middle" x="115.75" y="-13.05" font-family="Helvetica,sans-Serif" font-size="10.00" fill="red">p=0.214</text>
</g>
<!-- nt_S&#45;&gt;pr_2 -->
<g id="edge7" class="edge">
<title>nt_S&#45;&gt;pr_2</title>
<path fill="none" stroke="black" d="M44.03,-41.56C49.85,-39.92 56.16,-38.15 62,-36.55 66.81,-35.24 71.87,-33.87 76.87,-32.53"/>
<polygon fill="black" stroke="black" points="77.4,-36.01 86.16,-30.06 75.6,-29.25 77.4,-36.01"/>
</g>
<!-- nt_T_a -->
<g id="node2" class="node">
<title>nt_T_a</title>
<ellipse fill="none" stroke="black" cx="214.5" cy="-89.55" rx="27" ry="18"/>
<text xml:space="preserve" text-anchor="middle" x="214.5" y="-86.05" font-family="Helvetica,sans-Serif" font-size="10.00">T_a</text>
</g>
<!-- pr_3 -->
<g id="node9" class="node">
<title>pr_3</title>
<polygon fill="none" stroke="black" points="332.5,-107.55 278.5,-107.55 278.5,-71.55 332.5,-71.55 332.5,-107.55"/>
<text xml:space="preserve" text-anchor="middle" x="305.5" y="-92.05" font-family="Helvetica,sans-Serif" font-size="10.00">a</text>
<text xml:space="preserve" text-anchor="middle" x="305.5" y="-80.05" font-family="Helvetica,sans-Serif" font-size="10.00">p=1.000</text>
</g>
<!-- nt_T_a&#45;&gt;pr_3 -->
<g id="edge10" class="edge">
<title>nt_T_a&#45;&gt;pr_3</title>
<path fill="none" stroke="black" d="M241.72,-89.55C249.62,-89.55 258.44,-89.55 266.93,-89.55"/>
<polygon fill="black" stroke="black" points="266.64,-93.05 276.64,-89.55 266.64,-86.05 266.64,-93.05"/>
</g>
<!-- nt_T_b -->
<g id="node3" class="node">
<title>nt_T_b</title>
<ellipse fill="none" stroke="black" cx="214.5" cy="-23.55" rx="27" ry="18"/>
<text xml:space="preserve" text-anchor="middle" x="214.5" y="-20.05" font-family="Helvetica,sans-Serif" font-size="10.00">T_b</text>
</g>
<!-- pr_0 -->
<g id="node6" class="node">
<title>pr_0</title>
<polygon fill="none" stroke="black" points="332.5,-41.55 278.5,-41.55 278.5,-5.55 332.5,-5.55 332.5,-41.55"/>
<text xml:space="preserve" text-anchor="middle" x="305.5" y="-26.05" font-family="Helvetica,sans-Serif" font-size="10.00">b</text>
<text xml:space="preserve" text-anchor="middle" x="305.5" y="-14.05" 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,-23.55C249.62,-23.55 258.44,-23.55 266.93,-23.55"/>
<polygon fill="black" stroke="black" points="266.64,-27.05 276.64,-23.55 266.64,-20.05 266.64,-27.05"/>
</g>
<!-- tm_a -->
<g id="node4" class="node">
<title>tm_a</title>
<text xml:space="preserve" text-anchor="middle" x="400.75" y="-86.05" 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="-20.05" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#666666">b</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,-23.55C342.18,-23.55 352.69,-23.55 362.61,-23.55"/>
<polygon fill="black" stroke="black" points="362.34,-27.05 372.34,-23.55 362.34,-20.05 362.34,-27.05"/>
<text xml:space="preserve" text-anchor="middle" x="353.12" y="-25.5" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_1&#45;&gt;nt_S -->
<g id="edge5" class="edge">
<title>pr_1&#45;&gt;nt_S</title>
<path fill="none" stroke="black" d="M84.26,-68.25C74.72,-65.03 64.18,-61.47 54.56,-58.22"/>
<polygon fill="black" stroke="black" points="55.85,-54.96 45.25,-55.07 53.61,-61.59 55.85,-54.96"/>
<text xml:space="preserve" text-anchor="middle" x="64.62" y="-64.07" font-family="Helvetica,sans-Serif" font-size="9.00">2</text>
</g>
<!-- pr_1&#45;&gt;nt_T_a -->
<g id="edge4" class="edge">
<title>pr_1&#45;&gt;nt_T_a</title>
<path fill="none" stroke="black" d="M147.36,-82.03C156.57,-83.08 166.78,-84.24 176.36,-85.33"/>
<polygon fill="black" stroke="black" points="175.8,-88.79 186.13,-86.44 176.59,-81.83 175.8,-88.79"/>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-86.33" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_1&#45;&gt;nt_T_b -->
<g id="edge6" class="edge">
<title>pr_1&#45;&gt;nt_T_b</title>
<path fill="none" stroke="black" d="M147.36,-61.15C158.81,-54.64 171.79,-47.26 183.21,-40.77"/>
<polygon fill="black" stroke="black" points="184.88,-43.85 191.84,-35.86 181.42,-37.76 184.88,-43.85"/>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-53" font-family="Helvetica,sans-Serif" font-size="9.00">3</text>
</g>
<!-- pr_2&#45;&gt;nt_T_a -->
<g id="edge8" class="edge">
<title>pr_2&#45;&gt;nt_T_a</title>
<path fill="none" stroke="black" d="M143.85,-25.45C152.53,-27.28 161.86,-30.24 169.5,-35.05 180.65,-42.08 190.24,-52.92 197.6,-63.09"/>
<polygon fill="black" stroke="black" points="194.61,-64.91 203.1,-71.23 200.41,-60.99 194.61,-64.91"/>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-37" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
<!-- pr_2&#45;&gt;nt_T_b -->
<g id="edge9" class="edge">
<title>pr_2&#45;&gt;nt_T_b</title>
<path fill="none" stroke="black" d="M143.88,-4.41C151.96,-0.96 160.94,1.01 169.5,-1.05 174.42,-2.24 179.41,-4.07 184.17,-6.19"/>
<polygon fill="black" stroke="black" points="182.26,-9.15 192.77,-10.47 185.38,-2.88 182.26,-9.15"/>
<text xml:space="preserve" text-anchor="middle" x="166.88" y="-3" font-family="Helvetica,sans-Serif" font-size="9.00">2</text>
</g>
<!-- pr_3&#45;&gt;tm_a -->
<g id="edge11" class="edge">
<title>pr_3&#45;&gt;tm_a</title>
<path fill="none" stroke="black" d="M332.97,-89.55C342.18,-89.55 352.69,-89.55 362.61,-89.55"/>
<polygon fill="black" stroke="black" points="362.34,-93.05 372.34,-89.55 362.34,-86.05 362.34,-93.05"/>
<text xml:space="preserve" text-anchor="middle" x="353.12" y="-91.5" font-family="Helvetica,sans-Serif" font-size="9.00">1</text>
</g>
</g>
</svg>