53 lines
5.7 KiB
XML
53 lines
5.7 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="733" viewBox="0 0 1200 733" role="img" aria-labelledby="title desc">
|
||
<title id="title">二分查找与二分答案:本章知识结构</title>
|
||
<desc id="desc">根据教材扫描图人工重绘的矢量教学示意图。文字与线条可无损缩放。</desc>
|
||
<defs><marker id="arrow" markerWidth="9" markerHeight="9" refX="8" refY="4.5" orient="auto" markerUnits="userSpaceOnUse"><path d="M0 0 L9 4.5 L0 9 Z" fill="#417b63"/></marker></defs>
|
||
<rect width="1200" height="733" fill="white"/>
|
||
<g font-family="Microsoft YaHei, Noto Sans CJK SC, Arial, sans-serif" fill="#193b32" stroke-linecap="round" stroke-linejoin="round">
|
||
<rect x="330" y="15" width="540" height="60" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="600.0" y="45.0" text-anchor="middle" dominant-baseline="central" font-size="27" fill="#193b32">二分查找与二分答案</text>
|
||
<path d="M330 45 H25 V574.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<line x1="25" y1="260.0" x2="55" y2="260.0" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="55" y="225.0" width="185" height="70" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="147.5" y="260.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">二分查找</text>
|
||
<path d="M240 260.0 C265 260.0 265 191.0 290 191.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="290" y="162.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
||
<text x="450.0" y="191.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例13-1:有序序列中查找元素</text>
|
||
<path d="M610 191.0 C645 191.0 645 127.0 680 127.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="680" y="100.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="912.5" y="127.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">二分查找的思想</text>
|
||
<path d="M610 191.0 C645 191.0 645 191.0 680 191.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="680" y="164.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="912.5" y="191.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">二分边界问题</text>
|
||
<path d="M610 191.0 C645 191.0 645 255.0 680 255.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="680" y="228.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="912.5" y="255.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">实现二分查找</text>
|
||
<path d="M240 260.0 C265 260.0 265 361.0 290 361.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="290" y="332.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
||
<text x="450.0" y="361.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例13-2:A−B数对</text>
|
||
<path d="M610 361.0 C645 361.0 645 329.0 680 329.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="680" y="302.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="912.5" y="329.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">lower_bound()</text>
|
||
<path d="M610 361.0 C645 361.0 645 393.0 680 393.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="680" y="366.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="912.5" y="393.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">upper_bound()</text>
|
||
<line x1="25" y1="574.0" x2="55" y2="574.0" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="55" y="539.0" width="185" height="70" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="147.5" y="574.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">二分答案</text>
|
||
<path d="M240 574.0 C265 574.0 265 529.0 290 529.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="290" y="487.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
||
<text x="450.0" y="513.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例13-3:砍树</text>
|
||
<text x="450.0" y="544.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例13-4:进击的奶牛</text>
|
||
<path d="M610 529.0 C645 529.0 645 497.0 680 497.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="680" y="470.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="912.5" y="497.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">单调性判断</text>
|
||
<path d="M610 529.0 C645 529.0 645 561.0 680 561.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="680" y="534.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="912.5" y="561.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">验证答案是否可行</text>
|
||
<path d="M240 574.0 C265 574.0 265 643.0 290 643.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="290" y="614.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
||
<text x="450.0" y="643.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例13-5:一元三次方程求解</text>
|
||
<path d="M610 643.0 C645 643.0 645 643.0 680 643.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
||
<rect x="680" y="616.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
||
<text x="912.5" y="643.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">实数上的二分答案</text>
|
||
</g></svg> |