79 lines
8.6 KiB
XML
79 lines
8.6 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1087" viewBox="0 0 1200 1087" 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="1087" 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 V904.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">例10-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="319.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="345.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例10-2:烤鸡</text>
|
|
<text x="450.0" y="376.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例10-3:三连击升级版</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">多重循环枚举</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">减少枚举的对象</text>
|
|
<line x1="25" y1="598.0" x2="55" y2="598.0" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="55" y="563.0" width="185" height="70" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="147.5" y="598.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">子集枚举</text>
|
|
<path d="M240 598.0 C265 598.0 265 529.0 290 529.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="500.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="529.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例10-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 598.0 C265 598.0 265 667.0 290 667.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="638.0" width="320" height="58" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="667.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例10-5:组合的输出</text>
|
|
<path d="M610 667.0 C645 667.0 645 635.0 680 635.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="608.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="635.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">集合的枚举</text>
|
|
<path d="M610 667.0 C645 667.0 645 699.0 680 699.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="672.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="699.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">枚举子集的复杂度分析</text>
|
|
<line x1="25" y1="904.0" x2="55" y2="904.0" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="55" y="869.0" width="185" height="70" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="147.5" y="904.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">排列枚举</text>
|
|
<path d="M240 904.0 C265 904.0 265 835.0 290 835.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="793.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="819.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例10-3(重现):三连击升级</text>
|
|
<text x="450.0" y="850.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">版</text>
|
|
<path d="M610 835.0 C645 835.0 645 803.0 680 803.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="776.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="803.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">枚举排列的原理</text>
|
|
<path d="M610 835.0 C645 835.0 645 867.0 680 867.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="840.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="867.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">使用next_permutation()求下一个序列</text>
|
|
<path d="M240 904.0 C265 904.0 265 973.0 290 973.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="290" y="931.0" width="320" height="84" rx="7" fill="white" stroke="#417b63" stroke-width="2"/>
|
|
<text x="450.0" y="957.6" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例10-6:全排列问题</text>
|
|
<text x="450.0" y="988.4" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">例10-7:火星人</text>
|
|
<path d="M610 973.0 C645 973.0 645 941.0 680 941.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="914.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="941.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">next_permutation()的熟练使用</text>
|
|
<path d="M610 973.0 C645 973.0 645 1005.0 680 1005.0" fill="none" stroke="#417b63" stroke-width="2"/>
|
|
<rect x="680" y="978.0" width="465" height="54" rx="7" fill="#edf5ed" stroke="#417b63" stroke-width="2"/>
|
|
<text x="912.5" y="1005.0" text-anchor="middle" dominant-baseline="central" font-size="22" fill="#193b32">枚举排列的复杂度分析</text>
|
|
</g></svg> |