Files

59 lines
5.8 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 660 255" width="660" height="255"><title>最长下降子序列的转移</title><defs><marker id="a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0 0L10 5L0 10Z" fill="#416687"/></marker></defs><rect width="100%" height="100%" fill="white"/><g font-family="Microsoft YaHei,Arial,sans-serif" fill="#263c52" stroke-linecap="round">
<rect x="10" y="15" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="45.0" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18">i</text>
<rect x="80" y="15" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="115.0" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18">1</text>
<rect x="150" y="15" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="185.0" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18">2</text>
<rect x="220" y="15" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="255.0" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
<rect x="290" y="15" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="325.0" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18">4</text>
<rect x="360" y="15" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="395.0" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18">5</text>
<rect x="430" y="15" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="465.0" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18">6</text>
<rect x="500" y="15" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="535.0" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18">7</text>
<rect x="570" y="15" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="605.0" y="50.0" text-anchor="middle" dominant-baseline="central" font-size="18">8</text>
<rect x="10" y="85" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="45.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">a[i]</text>
<rect x="80" y="85" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="115.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">8</text>
<rect x="150" y="85" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="185.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
<rect x="220" y="85" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="255.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">4</text>
<rect x="290" y="85" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="325.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">6</text>
<rect x="360" y="85" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="395.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">2</text>
<rect x="430" y="85" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="465.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
<rect x="500" y="85" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="535.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">5</text>
<rect x="570" y="85" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="605.0" y="120.0" text-anchor="middle" dominant-baseline="central" font-size="18">4</text>
<rect x="10" y="155" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="45.0" y="190.0" text-anchor="middle" dominant-baseline="central" font-size="18">f[i]</text>
<rect x="80" y="155" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="115.0" y="190.0" text-anchor="middle" dominant-baseline="central" font-size="18">1</text>
<rect x="150" y="155" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="185.0" y="190.0" text-anchor="middle" dominant-baseline="central" font-size="18">2</text>
<rect x="220" y="155" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="255.0" y="190.0" text-anchor="middle" dominant-baseline="central" font-size="18">2</text>
<rect x="290" y="155" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="325.0" y="190.0" text-anchor="middle" dominant-baseline="central" font-size="18">2</text>
<rect x="360" y="155" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="395.0" y="190.0" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
<rect x="430" y="155" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="465.0" y="190.0" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
<rect x="500" y="155" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="535.0" y="190.0" text-anchor="middle" dominant-baseline="central" font-size="18">3</text>
<rect x="570" y="155" width="70" height="70" stroke="#67859e" fill="white" stroke-width="1.5"/>
<text x="605.0" y="190.0" text-anchor="middle" dominant-baseline="central" font-size="18">4</text>
<path d="M605 230 Q360.0 283 115 228" fill="none" stroke="#67859e" marker-end="url(#a)"/>
<path d="M605 230 Q465.0 262 325 228" fill="none" stroke="#67859e" marker-end="url(#a)"/>
<path d="M605 230 Q570.0 241 535 228" fill="none" stroke="#67859e" marker-end="url(#a)"/>
</g></svg>