提交 be6af82a 编写于 作者: P PaParaZz1

Deploying to gh-pages from @ 1040c9fc 🚀

上级 e91fbbc1
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="291px" preserveAspectRatio="none" style="width:615px;height:291px;background:#FFFFFF;" version="1.1" viewBox="0 0 615 291" width="615px" zoomAndPan="magnify"><defs><filter height="300%" id="f616dkfnutmtg" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="368.5" cy="20" fill="#000000" filter="url(#f616dkfnutmtg)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f616dkfnutmtg)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="295" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="305" y="71.1387">Get the input value x.</text><polygon fill="#FEFECE" filter="url(#f616dkfnutmtg)" points="308.5,103.9688,428.5,103.9688,440.5,115.9688,428.5,127.9688,308.5,127.9688,296.5,115.9688,308.5,103.9688" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="120" x="308.5" y="119.7769">Value x's type is int?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="272.5" y="113.3745">Yes.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="440.5" y="113.3745">No.</text><polygon fill="#FEFECE" filter="url(#f616dkfnutmtg)" points="137.5,137.9688,293.5,137.9688,305.5,149.9688,293.5,161.9688,137.5,161.9688,125.5,149.9688,137.5,137.9688" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="156" x="137.5" y="153.7769">Value x's type is in [0, 10]?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="101.5" y="147.3745">Yes.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="305.5" y="147.3745">No.</text><rect fill="#FEFECE" filter="url(#f616dkfnutmtg)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="197" x="11" y="171.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="174" x="21" y="193.1074">Return value x as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="195" y="193.1074">.</text><ellipse cx="109.5" cy="251.9375" fill="#FFFFFF" filter="url(#f616dkfnutmtg)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="109.5" cy="251.9375" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f616dkfnutmtg)" height="47.9375" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="187" x="228" y="171.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="163" x="238" y="193.1074">The value x is not in range,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="119" x="238" y="207.0762">raise ValueError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="357" y="207.0762">.</text><ellipse cx="321.5" cy="264.9063" fill="#FFFFFF" filter="url(#f616dkfnutmtg)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="315.3128" x2="327.6872" y1="258.7191" y2="271.0934"/><line style="stroke:#000000;stroke-width:2.5;" x1="327.6872" x2="315.3128" y1="258.7191" y2="271.0934"/><rect fill="#FEFECE" filter="url(#f616dkfnutmtg)" height="47.9375" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="153" x="445" y="137.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="129" x="455" y="159.1074">The value x is invalid,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="115" x="455" y="173.0762">raise TypeError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="570" y="173.0762">.</text><ellipse cx="521.5" cy="230.9063" fill="#FFFFFF" filter="url(#f616dkfnutmtg)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="515.3128" x2="527.6872" y1="224.7191" y2="237.0934"/><line style="stroke:#000000;stroke-width:2.5;" x1="527.6872" x2="515.3128" y1="224.7191" y2="237.0934"/><line style="stroke:#A80036;stroke-width:1.5;" x1="368.5" x2="368.5" y1="30" y2="50"/><polygon fill="#A80036" points="364.5,40,368.5,50,372.5,40,368.5,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="109.5" x2="109.5" y1="205.9375" y2="240.9375"/><polygon fill="#A80036" points="105.5,230.9375,109.5,240.9375,113.5,230.9375,109.5,234.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="321.5" x2="321.5" y1="219.9063" y2="254.9063"/><polygon fill="#A80036" points="317.5,244.9063,321.5,254.9063,325.5,244.9063,321.5,248.9063" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="125.5" x2="109.5" y1="149.9688" y2="149.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="109.5" x2="109.5" y1="149.9688" y2="171.9688"/><polygon fill="#A80036" points="105.5,161.9688,109.5,171.9688,113.5,161.9688,109.5,165.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="305.5" x2="321.5" y1="149.9688" y2="149.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="321.5" x2="321.5" y1="149.9688" y2="171.9688"/><polygon fill="#A80036" points="317.5,161.9688,321.5,171.9688,325.5,161.9688,321.5,165.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="521.5" x2="521.5" y1="185.9063" y2="220.9063"/><polygon fill="#A80036" points="517.5,210.9063,521.5,220.9063,525.5,210.9063,521.5,214.9063" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="296.5" x2="215.5" y1="115.9688" y2="115.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="215.5" x2="215.5" y1="115.9688" y2="137.9688"/><polygon fill="#A80036" points="211.5,127.9688,215.5,137.9688,219.5,127.9688,215.5,131.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="440.5" x2="521.5" y1="115.9688" y2="115.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="521.5" x2="521.5" y1="115.9688" y2="137.9688"/><polygon fill="#A80036" points="517.5,127.9688,521.5,137.9688,525.5,127.9688,521.5,131.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="368.5" x2="368.5" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="364.5,93.9688,368.5,103.9688,372.5,93.9688,368.5,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[1e2401a95a5bb83e83c5cbd201a8a46f]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="291px" preserveAspectRatio="none" style="width:615px;height:291px;background:#FFFFFF;" version="1.1" viewBox="0 0 615 291" width="615px" zoomAndPan="magnify"><defs><filter height="300%" id="f616dkfnutmtg" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="368.5" cy="20" fill="#000000" filter="url(#f616dkfnutmtg)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f616dkfnutmtg)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="295" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="305" y="71.1387">Get the input value x.</text><polygon fill="#FEFECE" filter="url(#f616dkfnutmtg)" points="308.5,103.9688,428.5,103.9688,440.5,115.9688,428.5,127.9688,308.5,127.9688,296.5,115.9688,308.5,103.9688" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="120" x="308.5" y="119.7769">Value x's type is int?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="272.5" y="113.3745">Yes.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="440.5" y="113.3745">No.</text><polygon fill="#FEFECE" filter="url(#f616dkfnutmtg)" points="137.5,137.9688,293.5,137.9688,305.5,149.9688,293.5,161.9688,137.5,161.9688,125.5,149.9688,137.5,137.9688" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="156" x="137.5" y="153.7769">Value x's type is in [0, 10]?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="101.5" y="147.3745">Yes.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="305.5" y="147.3745">No.</text><rect fill="#FEFECE" filter="url(#f616dkfnutmtg)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="197" x="11" y="171.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="174" x="21" y="193.1074">Return value x as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="195" y="193.1074">.</text><ellipse cx="109.5" cy="251.9375" fill="#FFFFFF" filter="url(#f616dkfnutmtg)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="109.5" cy="251.9375" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f616dkfnutmtg)" height="47.9375" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="187" x="228" y="171.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="163" x="238" y="193.1074">The value x is not in range,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="119" x="238" y="207.0762">raise ValueError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="357" y="207.0762">.</text><ellipse cx="321.5" cy="264.9063" fill="#FFFFFF" filter="url(#f616dkfnutmtg)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="315.3128" x2="327.6872" y1="258.7191" y2="271.0934"/><line style="stroke:#000000;stroke-width:2.5;" x1="327.6872" x2="315.3128" y1="258.7191" y2="271.0934"/><rect fill="#FEFECE" filter="url(#f616dkfnutmtg)" height="47.9375" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="153" x="445" y="137.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="129" x="455" y="159.1074">The value x is invalid,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="115" x="455" y="173.0762">raise TypeError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="570" y="173.0762">.</text><ellipse cx="521.5" cy="230.9063" fill="#FFFFFF" filter="url(#f616dkfnutmtg)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="515.3128" x2="527.6872" y1="224.7191" y2="237.0934"/><line style="stroke:#000000;stroke-width:2.5;" x1="527.6872" x2="515.3128" y1="224.7191" y2="237.0934"/><line style="stroke:#A80036;stroke-width:1.5;" x1="368.5" x2="368.5" y1="30" y2="50"/><polygon fill="#A80036" points="364.5,40,368.5,50,372.5,40,368.5,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="109.5" x2="109.5" y1="205.9375" y2="240.9375"/><polygon fill="#A80036" points="105.5,230.9375,109.5,240.9375,113.5,230.9375,109.5,234.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="321.5" x2="321.5" y1="219.9063" y2="254.9063"/><polygon fill="#A80036" points="317.5,244.9063,321.5,254.9063,325.5,244.9063,321.5,248.9063" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="125.5" x2="109.5" y1="149.9688" y2="149.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="109.5" x2="109.5" y1="149.9688" y2="171.9688"/><polygon fill="#A80036" points="105.5,161.9688,109.5,171.9688,113.5,161.9688,109.5,165.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="305.5" x2="321.5" y1="149.9688" y2="149.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="321.5" x2="321.5" y1="149.9688" y2="171.9688"/><polygon fill="#A80036" points="317.5,161.9688,321.5,171.9688,325.5,161.9688,321.5,165.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="521.5" x2="521.5" y1="185.9063" y2="220.9063"/><polygon fill="#A80036" points="517.5,210.9063,521.5,220.9063,525.5,210.9063,521.5,214.9063" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="296.5" x2="215.5" y1="115.9688" y2="115.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="215.5" x2="215.5" y1="115.9688" y2="137.9688"/><polygon fill="#A80036" points="211.5,127.9688,215.5,137.9688,219.5,127.9688,215.5,131.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="440.5" x2="521.5" y1="115.9688" y2="115.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="521.5" x2="521.5" y1="115.9688" y2="137.9688"/><polygon fill="#A80036" points="517.5,127.9688,521.5,137.9688,525.5,127.9688,521.5,131.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="368.5" x2="368.5" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="364.5,93.9688,368.5,103.9688,372.5,93.9688,368.5,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[39a7281c95dcbd95d4cb2f256ce896ef]
@startuml
start
......@@ -18,7 +18,7 @@ else (No.)
endif
@enduml
PlantUML version 1.2021.17beta3(Unknown compile time)
PlantUML version 1.2021.17beta4(Unknown compile time)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
......
此差异已折叠。
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="368px" preserveAspectRatio="none" style="width:318px;height:368px;background:#FFFFFF;" version="1.1" viewBox="0 0 318 368" width="318px" zoomAndPan="magnify"><defs><filter height="300%" id="f1c0ovsziqdey7" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="146.5" cy="20" fill="#000000" filter="url(#f1c0ovsziqdey7)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f1c0ovsziqdey7)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="73" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="83" y="71.1387">Get the input value x.</text><rect fill="#FEFECE" filter="url(#f1c0ovsziqdey7)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="271" x="11" y="152.3711"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="129" x="21" y="173.5098">The value x is invalid,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="115" x="154" y="173.5098">raise TypeError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="269" y="173.5098">.</text><ellipse cx="146.5" cy="223.8555" fill="#FFFFFF" filter="url(#f1c0ovsziqdey7)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="140.3128" x2="152.6872" y1="217.6683" y2="230.0427"/><line style="stroke:#000000;stroke-width:2.5;" x1="152.6872" x2="140.3128" y1="217.6683" y2="230.0427"/><polygon fill="#FEFECE" filter="url(#f1c0ovsziqdey7)" points="86.5,103.9688,206.5,103.9688,218.5,115.9688,206.5,127.9688,86.5,127.9688,74.5,115.9688,86.5,103.9688" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="150.5" y="138.1792">No.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="120" x="86.5" y="119.7769">Value x's type is int?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="218.5" y="113.3745">Yes.</text><rect fill="#FEFECE" filter="url(#f1c0ovsziqdey7)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="197" x="48" y="275.8555"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="174" x="58" y="296.9941">Return value x as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="232" y="296.9941">.</text><ellipse cx="146.5" cy="340.8242" fill="#FFFFFF" filter="url(#f1c0ovsziqdey7)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="146.5" cy="340.8242" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="30" y2="50"/><polygon fill="#A80036" points="142.5,40,146.5,50,150.5,40,146.5,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="186.3398" y2="213.8555"/><polygon fill="#A80036" points="142.5,203.8555,146.5,213.8555,150.5,203.8555,146.5,207.8555" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="127.9688" y2="152.3711"/><polygon fill="#A80036" points="142.5,142.3711,146.5,152.3711,150.5,142.3711,146.5,146.3711" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="218.5" x2="292" y1="115.9688" y2="115.9688"/><polygon fill="#A80036" points="288,183.8555,292,193.8555,296,183.8555,292,187.8555" style="stroke:#A80036;stroke-width:1.5;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="292" x2="292" y1="115.9688" y2="255.8555"/><line style="stroke:#A80036;stroke-width:1.5;" x1="292" x2="146.5" y1="255.8555" y2="255.8555"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="255.8555" y2="275.8555"/><polygon fill="#A80036" points="142.5,265.8555,146.5,275.8555,150.5,265.8555,146.5,269.8555" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="142.5,93.9688,146.5,103.9688,150.5,93.9688,146.5,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="309.8242" y2="329.8242"/><polygon fill="#A80036" points="142.5,319.8242,146.5,329.8242,150.5,319.8242,146.5,323.8242" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[90ab92707af94dfc12fbefd38b6a1b6c]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="368px" preserveAspectRatio="none" style="width:318px;height:368px;background:#FFFFFF;" version="1.1" viewBox="0 0 318 368" width="318px" zoomAndPan="magnify"><defs><filter height="300%" id="f1c0ovsziqdey7" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="146.5" cy="20" fill="#000000" filter="url(#f1c0ovsziqdey7)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f1c0ovsziqdey7)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="73" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="83" y="71.1387">Get the input value x.</text><rect fill="#FEFECE" filter="url(#f1c0ovsziqdey7)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="271" x="11" y="152.3711"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="129" x="21" y="173.5098">The value x is invalid,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="115" x="154" y="173.5098">raise TypeError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="269" y="173.5098">.</text><ellipse cx="146.5" cy="223.8555" fill="#FFFFFF" filter="url(#f1c0ovsziqdey7)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="140.3128" x2="152.6872" y1="217.6683" y2="230.0427"/><line style="stroke:#000000;stroke-width:2.5;" x1="152.6872" x2="140.3128" y1="217.6683" y2="230.0427"/><polygon fill="#FEFECE" filter="url(#f1c0ovsziqdey7)" points="86.5,103.9688,206.5,103.9688,218.5,115.9688,206.5,127.9688,86.5,127.9688,74.5,115.9688,86.5,103.9688" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="150.5" y="138.1792">No.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="120" x="86.5" y="119.7769">Value x's type is int?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="218.5" y="113.3745">Yes.</text><rect fill="#FEFECE" filter="url(#f1c0ovsziqdey7)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="197" x="48" y="275.8555"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="174" x="58" y="296.9941">Return value x as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="232" y="296.9941">.</text><ellipse cx="146.5" cy="340.8242" fill="#FFFFFF" filter="url(#f1c0ovsziqdey7)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="146.5" cy="340.8242" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="30" y2="50"/><polygon fill="#A80036" points="142.5,40,146.5,50,150.5,40,146.5,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="186.3398" y2="213.8555"/><polygon fill="#A80036" points="142.5,203.8555,146.5,213.8555,150.5,203.8555,146.5,207.8555" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="127.9688" y2="152.3711"/><polygon fill="#A80036" points="142.5,142.3711,146.5,152.3711,150.5,142.3711,146.5,146.3711" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="218.5" x2="292" y1="115.9688" y2="115.9688"/><polygon fill="#A80036" points="288,183.8555,292,193.8555,296,183.8555,292,187.8555" style="stroke:#A80036;stroke-width:1.5;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="292" x2="292" y1="115.9688" y2="255.8555"/><line style="stroke:#A80036;stroke-width:1.5;" x1="292" x2="146.5" y1="255.8555" y2="255.8555"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="255.8555" y2="275.8555"/><polygon fill="#A80036" points="142.5,265.8555,146.5,275.8555,150.5,265.8555,146.5,269.8555" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="142.5,93.9688,146.5,103.9688,150.5,93.9688,146.5,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="146.5" x2="146.5" y1="309.8242" y2="329.8242"/><polygon fill="#A80036" points="142.5,319.8242,146.5,329.8242,150.5,319.8242,146.5,323.8242" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[7c4143741758bb73cb55366a67a161cf]
@startuml
start
......@@ -15,7 +15,7 @@ endif
stop
@enduml
PlantUML version 1.2021.17beta3(Unknown compile time)
PlantUML version 1.2021.17beta4(Unknown compile time)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="648px" preserveAspectRatio="none" style="width:391px;height:648px;background:#FFFFFF;" version="1.1" viewBox="0 0 391 648" width="391px" zoomAndPan="magnify"><defs><filter height="300%" id="f3afx7hluynht" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="183" cy="20" fill="#000000" filter="url(#f3afx7hluynht)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="109.5" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="119.5" y="71.1387">Get the input value x.</text><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="117" x="124.5" y="103.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="97" x="134.5" y="125.1074">Set x1 as x ** 3</text><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="344" x="11" y="206.3398"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="201" x="21" y="227.4785">The value x1 is not even number,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="119" x="226" y="227.4785">raise ValueError</text><ellipse cx="183" cy="277.8242" fill="#FFFFFF" filter="url(#f3afx7hluynht)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="176.8128" x2="189.1872" y1="271.637" y2="284.0114"/><line style="stroke:#000000;stroke-width:2.5;" x1="189.1872" x2="176.8128" y1="271.637" y2="284.0114"/><polygon fill="#FEFECE" filter="url(#f3afx7hluynht)" points="110,157.9375,256,157.9375,268,169.9375,256,181.9375,110,181.9375,98,169.9375,110,157.9375" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="187" y="192.1479">No.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="146" x="110" y="173.7456">Value x1 is even number</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="268" y="167.3433">Yes.</text><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="119" x="123.5" y="329.8242"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="99" x="133.5" y="350.9629">Set x2 as x1 // 2</text><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="317" x="24.5" y="432.1953"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="171" x="34.5" y="453.334">The value x2 is not in range,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="119" x="209.5" y="453.334">raise ValueError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="328.5" y="453.334">.</text><ellipse cx="183" cy="503.6797" fill="#FFFFFF" filter="url(#f3afx7hluynht)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="176.8128" x2="189.1872" y1="497.4925" y2="509.8669"/><line style="stroke:#000000;stroke-width:2.5;" x1="189.1872" x2="176.8128" y1="497.4925" y2="509.8669"/><polygon fill="#FEFECE" filter="url(#f3afx7hluynht)" points="101.5,383.793,264.5,383.793,276.5,395.793,264.5,407.793,101.5,407.793,89.5,395.793,101.5,383.793" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="187" y="418.0034">No.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="163" x="101.5" y="399.6011">Value x2's type is in [0, 10]?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="276.5" y="393.1987">Yes.</text><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="205" x="80.5" y="555.6797"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="182" x="90.5" y="576.8184">Return value x2 as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="272.5" y="576.8184">.</text><ellipse cx="183" cy="620.6484" fill="#FFFFFF" filter="url(#f3afx7hluynht)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="183" cy="620.6484" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="30" y2="50"/><polygon fill="#A80036" points="179,40,183,50,187,40,183,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="179,93.9688,183,103.9688,187,93.9688,183,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="240.3086" y2="267.8242"/><polygon fill="#A80036" points="179,257.8242,183,267.8242,187,257.8242,183,261.8242" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="181.9375" y2="206.3398"/><polygon fill="#A80036" points="179,196.3398,183,206.3398,187,196.3398,183,200.3398" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="268" x2="365" y1="169.9375" y2="169.9375"/><polygon fill="#A80036" points="361,237.8242,365,247.8242,369,237.8242,365,241.8242" style="stroke:#A80036;stroke-width:1.5;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="365" x2="365" y1="169.9375" y2="309.8242"/><line style="stroke:#A80036;stroke-width:1.5;" x1="365" x2="183" y1="309.8242" y2="309.8242"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="309.8242" y2="329.8242"/><polygon fill="#A80036" points="179,319.8242,183,329.8242,187,319.8242,183,323.8242" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="137.9375" y2="157.9375"/><polygon fill="#A80036" points="179,147.9375,183,157.9375,187,147.9375,183,151.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="466.1641" y2="493.6797"/><polygon fill="#A80036" points="179,483.6797,183,493.6797,187,483.6797,183,487.6797" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="407.793" y2="432.1953"/><polygon fill="#A80036" points="179,422.1953,183,432.1953,187,422.1953,183,426.1953" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="276.5" x2="351.5" y1="395.793" y2="395.793"/><polygon fill="#A80036" points="347.5,463.6797,351.5,473.6797,355.5,463.6797,351.5,467.6797" style="stroke:#A80036;stroke-width:1.5;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="351.5" x2="351.5" y1="395.793" y2="535.6797"/><line style="stroke:#A80036;stroke-width:1.5;" x1="351.5" x2="183" y1="535.6797" y2="535.6797"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="535.6797" y2="555.6797"/><polygon fill="#A80036" points="179,545.6797,183,555.6797,187,545.6797,183,549.6797" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="363.793" y2="383.793"/><polygon fill="#A80036" points="179,373.793,183,383.793,187,373.793,183,377.793" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="589.6484" y2="609.6484"/><polygon fill="#A80036" points="179,599.6484,183,609.6484,187,599.6484,183,603.6484" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[164718172f4f80ce0a3a42d79643e89e]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="648px" preserveAspectRatio="none" style="width:391px;height:648px;background:#FFFFFF;" version="1.1" viewBox="0 0 391 648" width="391px" zoomAndPan="magnify"><defs><filter height="300%" id="f3afx7hluynht" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="183" cy="20" fill="#000000" filter="url(#f3afx7hluynht)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="109.5" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="119.5" y="71.1387">Get the input value x.</text><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="117" x="124.5" y="103.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="97" x="134.5" y="125.1074">Set x1 as x ** 3</text><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="344" x="11" y="206.3398"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="201" x="21" y="227.4785">The value x1 is not even number,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="119" x="226" y="227.4785">raise ValueError</text><ellipse cx="183" cy="277.8242" fill="#FFFFFF" filter="url(#f3afx7hluynht)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="176.8128" x2="189.1872" y1="271.637" y2="284.0114"/><line style="stroke:#000000;stroke-width:2.5;" x1="189.1872" x2="176.8128" y1="271.637" y2="284.0114"/><polygon fill="#FEFECE" filter="url(#f3afx7hluynht)" points="110,157.9375,256,157.9375,268,169.9375,256,181.9375,110,181.9375,98,169.9375,110,157.9375" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="187" y="192.1479">No.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="146" x="110" y="173.7456">Value x1 is even number</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="268" y="167.3433">Yes.</text><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="119" x="123.5" y="329.8242"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="99" x="133.5" y="350.9629">Set x2 as x1 // 2</text><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="317" x="24.5" y="432.1953"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="171" x="34.5" y="453.334">The value x2 is not in range,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="119" x="209.5" y="453.334">raise ValueError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="328.5" y="453.334">.</text><ellipse cx="183" cy="503.6797" fill="#FFFFFF" filter="url(#f3afx7hluynht)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="176.8128" x2="189.1872" y1="497.4925" y2="509.8669"/><line style="stroke:#000000;stroke-width:2.5;" x1="189.1872" x2="176.8128" y1="497.4925" y2="509.8669"/><polygon fill="#FEFECE" filter="url(#f3afx7hluynht)" points="101.5,383.793,264.5,383.793,276.5,395.793,264.5,407.793,101.5,407.793,89.5,395.793,101.5,383.793" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="187" y="418.0034">No.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="163" x="101.5" y="399.6011">Value x2's type is in [0, 10]?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="276.5" y="393.1987">Yes.</text><rect fill="#FEFECE" filter="url(#f3afx7hluynht)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="205" x="80.5" y="555.6797"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="182" x="90.5" y="576.8184">Return value x2 as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="272.5" y="576.8184">.</text><ellipse cx="183" cy="620.6484" fill="#FFFFFF" filter="url(#f3afx7hluynht)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="183" cy="620.6484" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="30" y2="50"/><polygon fill="#A80036" points="179,40,183,50,187,40,183,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="179,93.9688,183,103.9688,187,93.9688,183,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="240.3086" y2="267.8242"/><polygon fill="#A80036" points="179,257.8242,183,267.8242,187,257.8242,183,261.8242" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="181.9375" y2="206.3398"/><polygon fill="#A80036" points="179,196.3398,183,206.3398,187,196.3398,183,200.3398" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="268" x2="365" y1="169.9375" y2="169.9375"/><polygon fill="#A80036" points="361,237.8242,365,247.8242,369,237.8242,365,241.8242" style="stroke:#A80036;stroke-width:1.5;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="365" x2="365" y1="169.9375" y2="309.8242"/><line style="stroke:#A80036;stroke-width:1.5;" x1="365" x2="183" y1="309.8242" y2="309.8242"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="309.8242" y2="329.8242"/><polygon fill="#A80036" points="179,319.8242,183,329.8242,187,319.8242,183,323.8242" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="137.9375" y2="157.9375"/><polygon fill="#A80036" points="179,147.9375,183,157.9375,187,147.9375,183,151.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="466.1641" y2="493.6797"/><polygon fill="#A80036" points="179,483.6797,183,493.6797,187,483.6797,183,487.6797" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="407.793" y2="432.1953"/><polygon fill="#A80036" points="179,422.1953,183,432.1953,187,422.1953,183,426.1953" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="276.5" x2="351.5" y1="395.793" y2="395.793"/><polygon fill="#A80036" points="347.5,463.6797,351.5,473.6797,355.5,463.6797,351.5,467.6797" style="stroke:#A80036;stroke-width:1.5;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="351.5" x2="351.5" y1="395.793" y2="535.6797"/><line style="stroke:#A80036;stroke-width:1.5;" x1="351.5" x2="183" y1="535.6797" y2="535.6797"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="535.6797" y2="555.6797"/><polygon fill="#A80036" points="179,545.6797,183,555.6797,187,545.6797,183,549.6797" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="363.793" y2="383.793"/><polygon fill="#A80036" points="179,373.793,183,383.793,187,373.793,183,377.793" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="183" x2="183" y1="589.6484" y2="609.6484"/><polygon fill="#A80036" points="179,599.6484,183,609.6484,187,599.6484,183,603.6484" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[bc0358e3f6e65b293896c71227ec622f]
@startuml
start
......@@ -25,7 +25,7 @@ endif
stop
@enduml
PlantUML version 1.2021.17beta3(Unknown compile time)
PlantUML version 1.2021.17beta4(Unknown compile time)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
......
......@@ -5,7 +5,7 @@ class Connection--><rect codeLine="25" fill="#FEFECE" filter="url(#fe2xc3qa8xsju
class Task--><rect codeLine="34" fill="#FEFECE" filter="url(#fe2xc3qa8xsju)" height="150.4375" id="Task" style="stroke:#A80036;stroke-width:1.5;" width="153" x="286.5" y="462"/><ellipse cx="344.75" cy="478" fill="#ADD1B2" rx="11" ry="11" style="stroke:#A80036;stroke-width:1.0;"/><path d="M347.0938,473.6719 C346.1563,473.2344 345.5625,473.0938 344.6875,473.0938 C342.0625,473.0938 340.0625,475.1719 340.0625,477.8906 L340.0625,479.0156 C340.0625,481.5938 342.1719,483.4844 345.0625,483.4844 C346.2813,483.4844 347.4375,483.1875 348.1875,482.6406 C348.7656,482.2344 349.0938,481.7813 349.0938,481.3906 C349.0938,480.9375 348.7031,480.5469 348.2344,480.5469 C348.0156,480.5469 347.8125,480.625 347.625,480.8125 C347.1719,481.2969 347.1719,481.2969 346.9844,481.3906 C346.5625,481.6563 345.875,481.7813 345.1094,481.7813 C343.0625,481.7813 341.7656,480.6875 341.7656,478.9844 L341.7656,477.8906 C341.7656,476.1094 343.0156,474.7969 344.75,474.7969 C345.3281,474.7969 345.9375,474.9531 346.4063,475.2031 C346.8906,475.4844 347.0625,475.7031 347.1563,476.1094 C347.2188,476.5156 347.25,476.6406 347.3906,476.7656 C347.5313,476.9063 347.7656,477.0156 347.9844,477.0156 C348.25,477.0156 348.5156,476.875 348.6875,476.6563 C348.7969,476.5 348.8281,476.3125 348.8281,475.8906 L348.8281,474.4688 C348.8281,474.0313 348.8125,473.9063 348.7188,473.75 C348.5625,473.4844 348.2813,473.3438 347.9844,473.3438 C347.6875,473.3438 347.4844,473.4375 347.2656,473.75 L347.0938,473.6719 Z " fill="#000000"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="28" x="365.25" y="482.1543">Task</text><line style="stroke:#A80036;stroke-width:1.5;" x1="287.5" x2="438.5" y1="494" y2="494"/><rect fill="none" height="6" style="stroke:#C82930;stroke-width:1.0;" width="6" x="294.5" y="502"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="39" x="306.5" y="508.2104">task_id</text><rect fill="none" height="6" style="stroke:#C82930;stroke-width:1.0;" width="6" x="294.5" y="514.8047"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="25" x="306.5" y="521.0151">data</text><rect fill="none" height="6" style="stroke:#C82930;stroke-width:1.0;" width="6" x="294.5" y="527.6094"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="34" x="306.5" y="533.8198">status</text><rect fill="none" height="6" style="stroke:#C82930;stroke-width:1.0;" width="6" x="294.5" y="540.4141"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="32" x="306.5" y="546.6245">result</text><line style="stroke:#A80036;stroke-width:1.5;" x1="287.5" x2="438.5" y1="553.2188" y2="553.2188"/><ellipse cx="297.5" cy="564.2188" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="33" x="306.5" y="567.4292">start()</text><ellipse cx="297.5" cy="577.0234" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="28" x="306.5" y="580.2339">join()</text><ellipse cx="297.5" cy="589.8281" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="127" x="306.5" y="593.0386">on_complete(callback)</text><ellipse cx="297.5" cy="602.6328" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="90" x="306.5" y="605.8433">on_fail(callback)</text><!--MD5=[146dd481235fc1b7fbbfa4006f4d41b9]
link Master to Slave--><path codeLine="13" d="M79.6973,159.363 C67.0316,171.282 55.943,184.807 48,200 C41.407,212.611 38.7164,227.11 38.2665,241.47 " fill="none" id="Master-to-Slave" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#A80036" points="38.1991,246.75,42.3145,237.8022,38.2634,241.7504,34.3151,237.6993,38.1991,246.75" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="270" x="49" y="213.0669">Connect to slave, new connection created</text><!--MD5=[2eede74ddb53b58f4e1698c43f4edde8]
reverse link Master to Connection--><path codeLine="32" d="M309.582,180.066 C314.781,186.546 319.643,193.21 324,200 C335.612,218.099 344.163,240.032 350.247,259.87 " fill="none" id="Master-backto-Connection" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#FFFFFF" points="301.161,170.042,301.9584,177.2089,308.8806,179.2293,308.0833,172.0625,301.161,170.042" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="266" x="334" y="213.0669">Master clients have plenty of connections</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="8" x="301.4727" y="190.3124">1</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="23" x="324.1396" y="248.7913">0..*</text><!--MD5=[35fe452096804484fccc5cbb42ca3e55]
reverse link Connection to Task--><path codeLine="44" d="M363,385.372 C363,409.617 363,437.009 363,461.723 " fill="none" id="Connection-backto-Task" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#FFFFFF" points="363,372.263,359,378.263,363,384.263,367,378.263,363,372.263" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="214" x="364" y="428.0669">Connections have plenty of tasks</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="8" x="354.5125" y="392.1077">1</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="23" x="338.9039" y="450.8857">0..*</text><!--MD5=[213d2058845ddaa1b53ab9bb9365d11f]
reverse link Connection to Task--><path codeLine="44" d="M363,385.372 C363,409.617 363,437.009 363,461.723 " fill="none" id="Connection-backto-Task" style="stroke:#A80036;stroke-width:1.0;"/><polygon fill="#FFFFFF" points="363,372.263,359,378.263,363,384.263,367,378.263,363,372.263" style="stroke:#A80036;stroke-width:1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="214" x="364" y="428.0669">Connections have plenty of tasks</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="8" x="354.5125" y="392.1077">1</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="23" x="338.9039" y="450.8857">0..*</text><!--MD5=[50a4ce14c16c9c2ecbce0c4edf7f020e]
@startuml
class Master {
- host
......@@ -53,7 +53,7 @@ class Task {
Connection "1" o- - "0..*" Task : Connections have plenty of tasks
@enduml
PlantUML version 1.2021.17beta3(Unknown compile time)
PlantUML version 1.2021.17beta4(Unknown compile time)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="501px" preserveAspectRatio="none" style="width:418px;height:501px;background:#FFFFFF;" version="1.1" viewBox="0 0 418 501" width="418px" zoomAndPan="magnify"><defs><filter height="300%" id="fe6o3eu6awfft" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="139" x="112" y="11"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="119" x="122" y="32.1387">Get the input dict D.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="162" x="100.5" y="64.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="142" x="110.5" y="86.1074">Get value a from dict D.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="95" x="134" y="118.9375"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="75" x="144" y="140.0762">Set a1 as -a.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="163" x="100" y="172.9063"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="143" x="110" y="194.0449">Get value b from dict D.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="161" x="101" y="226.875"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="141" x="111" y="248.0137">Get value c from dict C.</text><polygon fill="#FEFECE" filter="url(#fe6o3eu6awfft)" points="104,280.8438,259,280.8438,271,292.8438,259,304.8438,104,304.8438,92,292.8438,104,280.8438" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="155" x="104" y="296.6519">Value a1 is no less than 0?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="68" y="290.2495">Yes.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="271" y="290.2495">No.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="136" x="11" y="314.8438"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="116" x="21" y="335.9824">Set r as a1 + b * c.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="234" x="167" y="314.8438"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="88" x="177" y="335.9824">a1 less than 0,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="119" x="269" y="335.9824">raise ValueError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="388" y="335.9824">.</text><ellipse cx="284" cy="378.8125" fill="#FFFFFF" filter="url(#fe6o3eu6awfft)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="277.8128" x2="290.1872" y1="372.6253" y2="384.9997"/><line style="stroke:#000000;stroke-width:2.5;" x1="290.1872" x2="277.8128" y1="372.6253" y2="384.9997"/><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="154" x="104.5" y="408.8125"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="134" x="114.5" y="429.9512">Return r as result.</text><ellipse cx="181.5" cy="473.7813" fill="#FFFFFF" filter="url(#fe6o3eu6awfft)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="181.5" cy="473.7813" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="44.9688" y2="64.9688"/><polygon fill="#A80036" points="177.5,54.9688,181.5,64.9688,185.5,54.9688,181.5,58.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="98.9375" y2="118.9375"/><polygon fill="#A80036" points="177.5,108.9375,181.5,118.9375,185.5,108.9375,181.5,112.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="152.9063" y2="172.9063"/><polygon fill="#A80036" points="177.5,162.9063,181.5,172.9063,185.5,162.9063,181.5,166.9063" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="206.875" y2="226.875"/><polygon fill="#A80036" points="177.5,216.875,181.5,226.875,185.5,216.875,181.5,220.875" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="284" x2="284" y1="348.8125" y2="368.8125"/><polygon fill="#A80036" points="280,358.8125,284,368.8125,288,358.8125,284,362.8125" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="92" x2="79" y1="292.8438" y2="292.8438"/><line style="stroke:#A80036;stroke-width:1.5;" x1="79" x2="79" y1="292.8438" y2="314.8438"/><polygon fill="#A80036" points="75,304.8438,79,314.8438,83,304.8438,79,308.8438" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="271" x2="284" y1="292.8438" y2="292.8438"/><line style="stroke:#A80036;stroke-width:1.5;" x1="284" x2="284" y1="292.8438" y2="314.8438"/><polygon fill="#A80036" points="280,304.8438,284,314.8438,288,304.8438,284,308.8438" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="79" x2="79" y1="348.8125" y2="393.8125"/><line style="stroke:#A80036;stroke-width:1.5;" x1="79" x2="181.5" y1="393.8125" y2="393.8125"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="393.8125" y2="408.8125"/><polygon fill="#A80036" points="177.5,398.8125,181.5,408.8125,185.5,398.8125,181.5,402.8125" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="260.8438" y2="280.8438"/><polygon fill="#A80036" points="177.5,270.8438,181.5,280.8438,185.5,270.8438,181.5,274.8438" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="442.7813" y2="462.7813"/><polygon fill="#A80036" points="177.5,452.7813,181.5,462.7813,185.5,452.7813,181.5,456.7813" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[cc495836682904af7691cc29f7579411]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="501px" preserveAspectRatio="none" style="width:418px;height:501px;background:#FFFFFF;" version="1.1" viewBox="0 0 418 501" width="418px" zoomAndPan="magnify"><defs><filter height="300%" id="fe6o3eu6awfft" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="139" x="112" y="11"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="119" x="122" y="32.1387">Get the input dict D.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="162" x="100.5" y="64.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="142" x="110.5" y="86.1074">Get value a from dict D.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="95" x="134" y="118.9375"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="75" x="144" y="140.0762">Set a1 as -a.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="163" x="100" y="172.9063"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="143" x="110" y="194.0449">Get value b from dict D.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="161" x="101" y="226.875"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="141" x="111" y="248.0137">Get value c from dict C.</text><polygon fill="#FEFECE" filter="url(#fe6o3eu6awfft)" points="104,280.8438,259,280.8438,271,292.8438,259,304.8438,104,304.8438,92,292.8438,104,280.8438" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="155" x="104" y="296.6519">Value a1 is no less than 0?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="68" y="290.2495">Yes.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="271" y="290.2495">No.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="136" x="11" y="314.8438"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="116" x="21" y="335.9824">Set r as a1 + b * c.</text><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="234" x="167" y="314.8438"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="88" x="177" y="335.9824">a1 less than 0,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="119" x="269" y="335.9824">raise ValueError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="388" y="335.9824">.</text><ellipse cx="284" cy="378.8125" fill="#FFFFFF" filter="url(#fe6o3eu6awfft)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="277.8128" x2="290.1872" y1="372.6253" y2="384.9997"/><line style="stroke:#000000;stroke-width:2.5;" x1="290.1872" x2="277.8128" y1="372.6253" y2="384.9997"/><rect fill="#FEFECE" filter="url(#fe6o3eu6awfft)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="154" x="104.5" y="408.8125"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="134" x="114.5" y="429.9512">Return r as result.</text><ellipse cx="181.5" cy="473.7813" fill="#FFFFFF" filter="url(#fe6o3eu6awfft)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="181.5" cy="473.7813" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="44.9688" y2="64.9688"/><polygon fill="#A80036" points="177.5,54.9688,181.5,64.9688,185.5,54.9688,181.5,58.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="98.9375" y2="118.9375"/><polygon fill="#A80036" points="177.5,108.9375,181.5,118.9375,185.5,108.9375,181.5,112.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="152.9063" y2="172.9063"/><polygon fill="#A80036" points="177.5,162.9063,181.5,172.9063,185.5,162.9063,181.5,166.9063" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="206.875" y2="226.875"/><polygon fill="#A80036" points="177.5,216.875,181.5,226.875,185.5,216.875,181.5,220.875" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="284" x2="284" y1="348.8125" y2="368.8125"/><polygon fill="#A80036" points="280,358.8125,284,368.8125,288,358.8125,284,362.8125" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="92" x2="79" y1="292.8438" y2="292.8438"/><line style="stroke:#A80036;stroke-width:1.5;" x1="79" x2="79" y1="292.8438" y2="314.8438"/><polygon fill="#A80036" points="75,304.8438,79,314.8438,83,304.8438,79,308.8438" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="271" x2="284" y1="292.8438" y2="292.8438"/><line style="stroke:#A80036;stroke-width:1.5;" x1="284" x2="284" y1="292.8438" y2="314.8438"/><polygon fill="#A80036" points="280,304.8438,284,314.8438,288,304.8438,284,308.8438" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="79" x2="79" y1="348.8125" y2="393.8125"/><line style="stroke:#A80036;stroke-width:1.5;" x1="79" x2="181.5" y1="393.8125" y2="393.8125"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="393.8125" y2="408.8125"/><polygon fill="#A80036" points="177.5,398.8125,181.5,408.8125,185.5,398.8125,181.5,402.8125" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="260.8438" y2="280.8438"/><polygon fill="#A80036" points="177.5,270.8438,181.5,280.8438,185.5,270.8438,181.5,274.8438" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="181.5" x2="181.5" y1="442.7813" y2="462.7813"/><polygon fill="#A80036" points="177.5,452.7813,181.5,462.7813,185.5,452.7813,181.5,456.7813" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[0f8b19828ae169da84396353eebc6857]
@startuml
:Get the input dict D.;
......@@ -20,7 +20,7 @@ endif
stop
@enduml
PlantUML version 1.2021.17beta3(Unknown compile time)
PlantUML version 1.2021.17beta4(Unknown compile time)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="291px" preserveAspectRatio="none" style="width:625px;height:291px;background:#FFFFFF;" version="1.1" viewBox="0 0 625 291" width="625px" zoomAndPan="magnify"><defs><filter height="300%" id="fkmp0nybns6sj" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="271.75" cy="20" fill="#000000" filter="url(#fkmp0nybns6sj)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#fkmp0nybns6sj)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="198.25" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="208.25" y="71.1387">Get the input value x.</text><polygon fill="#FEFECE" filter="url(#fkmp0nybns6sj)" points="211.75,103.9688,331.75,103.9688,343.75,115.9688,331.75,127.9688,211.75,127.9688,199.75,115.9688,211.75,103.9688" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="120" x="211.75" y="119.7769">Value x's type is int?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="175.75" y="113.3745">Yes.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="343.75" y="113.3745">No.</text><rect fill="#FEFECE" filter="url(#fkmp0nybns6sj)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="197" x="11" y="137.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="174" x="21" y="159.1074">Return value x as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="195" y="159.1074">.</text><ellipse cx="109.5" cy="217.9375" fill="#FFFFFF" filter="url(#fkmp0nybns6sj)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="109.5" cy="217.9375" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><polygon fill="#FEFECE" filter="url(#fkmp0nybns6sj)" points="368.5,137.9688,499.5,137.9688,511.5,149.9688,499.5,161.9688,368.5,161.9688,356.5,149.9688,368.5,137.9688" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="131" x="368.5" y="153.7769">Value x's type is float?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="332.5" y="147.3745">Yes.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="511.5" y="147.3745">No.</text><rect fill="#FEFECE" filter="url(#fkmp0nybns6sj)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="197" x="238" y="171.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="174" x="248" y="193.1074">Return value x as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="422" y="193.1074">.</text><ellipse cx="336.5" cy="251.9375" fill="#FFFFFF" filter="url(#fkmp0nybns6sj)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="336.5" cy="251.9375" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#fkmp0nybns6sj)" height="47.9375" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="153" x="455" y="171.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="129" x="465" y="193.1074">The value x is invalid,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="115" x="465" y="207.0762">raise TypeError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="580" y="207.0762">.</text><ellipse cx="531.5" cy="264.9063" fill="#FFFFFF" filter="url(#fkmp0nybns6sj)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="525.3128" x2="537.6872" y1="258.7191" y2="271.0934"/><line style="stroke:#000000;stroke-width:2.5;" x1="537.6872" x2="525.3128" y1="258.7191" y2="271.0934"/><line style="stroke:#A80036;stroke-width:1.5;" x1="271.75" x2="271.75" y1="30" y2="50"/><polygon fill="#A80036" points="267.75,40,271.75,50,275.75,40,271.75,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="109.5" x2="109.5" y1="171.9375" y2="206.9375"/><polygon fill="#A80036" points="105.5,196.9375,109.5,206.9375,113.5,196.9375,109.5,200.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="336.5" x2="336.5" y1="205.9375" y2="240.9375"/><polygon fill="#A80036" points="332.5,230.9375,336.5,240.9375,340.5,230.9375,336.5,234.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="531.5" x2="531.5" y1="219.9063" y2="254.9063"/><polygon fill="#A80036" points="527.5,244.9063,531.5,254.9063,535.5,244.9063,531.5,248.9063" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="356.5" x2="336.5" y1="149.9688" y2="149.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="336.5" x2="336.5" y1="149.9688" y2="171.9688"/><polygon fill="#A80036" points="332.5,161.9688,336.5,171.9688,340.5,161.9688,336.5,165.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="511.5" x2="531.5" y1="149.9688" y2="149.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="531.5" x2="531.5" y1="149.9688" y2="171.9688"/><polygon fill="#A80036" points="527.5,161.9688,531.5,171.9688,535.5,161.9688,531.5,165.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="199.75" x2="109.5" y1="115.9688" y2="115.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="109.5" x2="109.5" y1="115.9688" y2="137.9688"/><polygon fill="#A80036" points="105.5,127.9688,109.5,137.9688,113.5,127.9688,109.5,131.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="343.75" x2="434" y1="115.9688" y2="115.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="434" x2="434" y1="115.9688" y2="137.9688"/><polygon fill="#A80036" points="430,127.9688,434,137.9688,438,127.9688,434,131.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="271.75" x2="271.75" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="267.75,93.9688,271.75,103.9688,275.75,93.9688,271.75,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[2a70cec14cb6b23e27a9ed290dc05073]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="291px" preserveAspectRatio="none" style="width:625px;height:291px;background:#FFFFFF;" version="1.1" viewBox="0 0 625 291" width="625px" zoomAndPan="magnify"><defs><filter height="300%" id="fkmp0nybns6sj" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="271.75" cy="20" fill="#000000" filter="url(#fkmp0nybns6sj)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#fkmp0nybns6sj)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="198.25" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="208.25" y="71.1387">Get the input value x.</text><polygon fill="#FEFECE" filter="url(#fkmp0nybns6sj)" points="211.75,103.9688,331.75,103.9688,343.75,115.9688,331.75,127.9688,211.75,127.9688,199.75,115.9688,211.75,103.9688" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="120" x="211.75" y="119.7769">Value x's type is int?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="175.75" y="113.3745">Yes.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="343.75" y="113.3745">No.</text><rect fill="#FEFECE" filter="url(#fkmp0nybns6sj)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="197" x="11" y="137.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="174" x="21" y="159.1074">Return value x as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="195" y="159.1074">.</text><ellipse cx="109.5" cy="217.9375" fill="#FFFFFF" filter="url(#fkmp0nybns6sj)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="109.5" cy="217.9375" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><polygon fill="#FEFECE" filter="url(#fkmp0nybns6sj)" points="368.5,137.9688,499.5,137.9688,511.5,149.9688,499.5,161.9688,368.5,161.9688,356.5,149.9688,368.5,137.9688" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="131" x="368.5" y="153.7769">Value x's type is float?</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="332.5" y="147.3745">Yes.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="511.5" y="147.3745">No.</text><rect fill="#FEFECE" filter="url(#fkmp0nybns6sj)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="197" x="238" y="171.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="174" x="248" y="193.1074">Return value x as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="422" y="193.1074">.</text><ellipse cx="336.5" cy="251.9375" fill="#FFFFFF" filter="url(#fkmp0nybns6sj)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="336.5" cy="251.9375" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#fkmp0nybns6sj)" height="47.9375" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="153" x="455" y="171.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="129" x="465" y="193.1074">The value x is invalid,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="115" x="465" y="207.0762">raise TypeError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="580" y="207.0762">.</text><ellipse cx="531.5" cy="264.9063" fill="#FFFFFF" filter="url(#fkmp0nybns6sj)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="525.3128" x2="537.6872" y1="258.7191" y2="271.0934"/><line style="stroke:#000000;stroke-width:2.5;" x1="537.6872" x2="525.3128" y1="258.7191" y2="271.0934"/><line style="stroke:#A80036;stroke-width:1.5;" x1="271.75" x2="271.75" y1="30" y2="50"/><polygon fill="#A80036" points="267.75,40,271.75,50,275.75,40,271.75,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="109.5" x2="109.5" y1="171.9375" y2="206.9375"/><polygon fill="#A80036" points="105.5,196.9375,109.5,206.9375,113.5,196.9375,109.5,200.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="336.5" x2="336.5" y1="205.9375" y2="240.9375"/><polygon fill="#A80036" points="332.5,230.9375,336.5,240.9375,340.5,230.9375,336.5,234.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="531.5" x2="531.5" y1="219.9063" y2="254.9063"/><polygon fill="#A80036" points="527.5,244.9063,531.5,254.9063,535.5,244.9063,531.5,248.9063" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="356.5" x2="336.5" y1="149.9688" y2="149.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="336.5" x2="336.5" y1="149.9688" y2="171.9688"/><polygon fill="#A80036" points="332.5,161.9688,336.5,171.9688,340.5,161.9688,336.5,165.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="511.5" x2="531.5" y1="149.9688" y2="149.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="531.5" x2="531.5" y1="149.9688" y2="171.9688"/><polygon fill="#A80036" points="527.5,161.9688,531.5,171.9688,535.5,161.9688,531.5,165.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="199.75" x2="109.5" y1="115.9688" y2="115.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="109.5" x2="109.5" y1="115.9688" y2="137.9688"/><polygon fill="#A80036" points="105.5,127.9688,109.5,137.9688,113.5,127.9688,109.5,131.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="343.75" x2="434" y1="115.9688" y2="115.9688"/><line style="stroke:#A80036;stroke-width:1.5;" x1="434" x2="434" y1="115.9688" y2="137.9688"/><polygon fill="#A80036" points="430,127.9688,434,137.9688,438,127.9688,434,131.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="271.75" x2="271.75" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="267.75,93.9688,271.75,103.9688,275.75,93.9688,271.75,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[9a2bdfd0ea33564405f3cd31b8e18729]
@startuml
start
......@@ -18,7 +18,7 @@ else (No.)
endif
@enduml
PlantUML version 1.2021.17beta3(Unknown compile time)
PlantUML version 1.2021.17beta4(Unknown compile time)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="476px" preserveAspectRatio="none" style="width:364px;height:476px;background:#FFFFFF;" version="1.1" viewBox="0 0 364 476" width="364px" zoomAndPan="magnify"><defs><filter height="300%" id="ftg0mzhuud7g3" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="169.5" cy="20" fill="#000000" filter="url(#ftg0mzhuud7g3)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="96" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="106" y="71.1387">Get the input value x.</text><rect fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="115" x="112" y="103.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="95" x="122" y="125.1074">Set x1 as x + 1.</text><rect fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="118" x="110.5" y="157.9375"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="98" x="120.5" y="179.0762">Set x2 as x1 * 2</text><rect fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="317" x="11" y="260.3086"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="171" x="21" y="281.4473">The value x2 is not in range,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="119" x="196" y="281.4473">raise ValueError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="315" y="281.4473">.</text><ellipse cx="169.5" cy="331.793" fill="#FFFFFF" filter="url(#ftg0mzhuud7g3)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="163.3128" x2="175.6872" y1="325.6058" y2="337.9802"/><line style="stroke:#000000;stroke-width:2.5;" x1="175.6872" x2="163.3128" y1="325.6058" y2="337.9802"/><polygon fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" points="81,211.9063,258,211.9063,270,223.9063,258,235.9063,81,235.9063,69,223.9063,81,211.9063" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="173.5" y="246.1167">No.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="177" x="81" y="227.7144">Value x2's type is from 0 to 10</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="270" y="221.312">Yes.</text><rect fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="205" x="67" y="383.793"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="182" x="77" y="404.9316">Return value x2 as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="259" y="404.9316">.</text><ellipse cx="169.5" cy="448.7617" fill="#FFFFFF" filter="url(#ftg0mzhuud7g3)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="169.5" cy="448.7617" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="30" y2="50"/><polygon fill="#A80036" points="165.5,40,169.5,50,173.5,40,169.5,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="165.5,93.9688,169.5,103.9688,173.5,93.9688,169.5,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="137.9375" y2="157.9375"/><polygon fill="#A80036" points="165.5,147.9375,169.5,157.9375,173.5,147.9375,169.5,151.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="294.2773" y2="321.793"/><polygon fill="#A80036" points="165.5,311.793,169.5,321.793,173.5,311.793,169.5,315.793" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="235.9063" y2="260.3086"/><polygon fill="#A80036" points="165.5,250.3086,169.5,260.3086,173.5,250.3086,169.5,254.3086" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="270" x2="338" y1="223.9063" y2="223.9063"/><polygon fill="#A80036" points="334,291.793,338,301.793,342,291.793,338,295.793" style="stroke:#A80036;stroke-width:1.5;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="338" x2="338" y1="223.9063" y2="363.793"/><line style="stroke:#A80036;stroke-width:1.5;" x1="338" x2="169.5" y1="363.793" y2="363.793"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="363.793" y2="383.793"/><polygon fill="#A80036" points="165.5,373.793,169.5,383.793,173.5,373.793,169.5,377.793" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="191.9063" y2="211.9063"/><polygon fill="#A80036" points="165.5,201.9063,169.5,211.9063,173.5,201.9063,169.5,205.9063" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="417.7617" y2="437.7617"/><polygon fill="#A80036" points="165.5,427.7617,169.5,437.7617,173.5,427.7617,169.5,431.7617" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[c8fe1daa84ec0ecdfec9ffb14c2d398f]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="476px" preserveAspectRatio="none" style="width:364px;height:476px;background:#FFFFFF;" version="1.1" viewBox="0 0 364 476" width="364px" zoomAndPan="magnify"><defs><filter height="300%" id="ftg0mzhuud7g3" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="169.5" cy="20" fill="#000000" filter="url(#ftg0mzhuud7g3)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="96" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="106" y="71.1387">Get the input value x.</text><rect fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="115" x="112" y="103.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="95" x="122" y="125.1074">Set x1 as x + 1.</text><rect fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="118" x="110.5" y="157.9375"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="98" x="120.5" y="179.0762">Set x2 as x1 * 2</text><rect fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="317" x="11" y="260.3086"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="171" x="21" y="281.4473">The value x2 is not in range,</text><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="119" x="196" y="281.4473">raise ValueError</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="315" y="281.4473">.</text><ellipse cx="169.5" cy="331.793" fill="#FFFFFF" filter="url(#ftg0mzhuud7g3)" rx="10" ry="10" style="stroke:#000000;stroke-width:1.5;"/><line style="stroke:#000000;stroke-width:2.5;" x1="163.3128" x2="175.6872" y1="325.6058" y2="337.9802"/><line style="stroke:#000000;stroke-width:2.5;" x1="175.6872" x2="163.3128" y1="325.6058" y2="337.9802"/><polygon fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" points="81,211.9063,258,211.9063,270,223.9063,258,235.9063,81,235.9063,69,223.9063,81,211.9063" style="stroke:#A80036;stroke-width:1.5;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="18" x="173.5" y="246.1167">No.</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="177" x="81" y="227.7144">Value x2's type is from 0 to 10</text><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacing" textLength="24" x="270" y="221.312">Yes.</text><rect fill="#FEFECE" filter="url(#ftg0mzhuud7g3)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="205" x="67" y="383.793"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="182" x="77" y="404.9316">Return value x2 as result</text><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="3" x="259" y="404.9316">.</text><ellipse cx="169.5" cy="448.7617" fill="#FFFFFF" filter="url(#ftg0mzhuud7g3)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="169.5" cy="448.7617" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="30" y2="50"/><polygon fill="#A80036" points="165.5,40,169.5,50,173.5,40,169.5,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="165.5,93.9688,169.5,103.9688,173.5,93.9688,169.5,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="137.9375" y2="157.9375"/><polygon fill="#A80036" points="165.5,147.9375,169.5,157.9375,173.5,147.9375,169.5,151.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="294.2773" y2="321.793"/><polygon fill="#A80036" points="165.5,311.793,169.5,321.793,173.5,311.793,169.5,315.793" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="235.9063" y2="260.3086"/><polygon fill="#A80036" points="165.5,250.3086,169.5,260.3086,173.5,250.3086,169.5,254.3086" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="270" x2="338" y1="223.9063" y2="223.9063"/><polygon fill="#A80036" points="334,291.793,338,301.793,342,291.793,338,295.793" style="stroke:#A80036;stroke-width:1.5;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="338" x2="338" y1="223.9063" y2="363.793"/><line style="stroke:#A80036;stroke-width:1.5;" x1="338" x2="169.5" y1="363.793" y2="363.793"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="363.793" y2="383.793"/><polygon fill="#A80036" points="165.5,373.793,169.5,383.793,173.5,373.793,169.5,377.793" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="191.9063" y2="211.9063"/><polygon fill="#A80036" points="165.5,201.9063,169.5,211.9063,173.5,201.9063,169.5,205.9063" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="169.5" x2="169.5" y1="417.7617" y2="437.7617"/><polygon fill="#A80036" points="165.5,427.7617,169.5,437.7617,173.5,427.7617,169.5,431.7617" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[188717e4036912e5ec60aa4e666c693f]
@startuml
start
......@@ -18,7 +18,7 @@ endif
stop
@enduml
PlantUML version 1.2021.17beta3(Unknown compile time)
PlantUML version 1.2021.17beta4(Unknown compile time)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="430px" preserveAspectRatio="none" style="width:453px;height:430px;background:#FFFFFF;" version="1.1" viewBox="0 0 453 430" width="453px" zoomAndPan="magnify"><defs><filter height="300%" id="foxalca2kc137" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#FFFFFF" filter="url(#foxalca2kc137)" height="75.3984" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="57.2969"/><rect fill="#FFFFFF" filter="url(#foxalca2kc137)" height="133.6641" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="146.6953"/><rect fill="#FFFFFF" filter="url(#foxalca2kc137)" height="75.3984" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="294.3594"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="69" x2="69" y1="40.2969" y2="386.7578"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="385.5" x2="385.5" y1="40.2969" y2="386.7578"/><rect fill="#FEFECE" filter="url(#foxalca2kc137)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="94" x="20" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="80" x="27" y="24.9951">Master End</text><rect fill="#FEFECE" filter="url(#foxalca2kc137)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="94" x="20" y="385.7578"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="80" x="27" y="405.7529">Master End</text><rect fill="#FEFECE" filter="url(#foxalca2kc137)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="83" x="342.5" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="69" x="349.5" y="24.9951">Slave End</text><rect fill="#FEFECE" filter="url(#foxalca2kc137)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="83" x="342.5" y="385.7578"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="69" x="349.5" y="405.7529">Slave End</text><path d="M10,57.2969 L129,57.2969 L129,64.2969 L119,74.2969 L10,74.2969 L10,57.2969 " fill="#EEEEEE" style="stroke:#000000;stroke-width:1.0;"/><rect fill="none" height="75.3984" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="57.2969"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="74" x="25" y="70.3638">Launching</text><polygon fill="#A80036" points="374,91.5625,384,95.5625,374,99.5625,378,95.5625" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="69" x2="380" y1="95.5625" y2="95.5625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="136" x="76" y="90.4966">Connect to slave end</text><polygon fill="#A80036" points="80,120.6953,70,124.6953,80,128.6953,76,124.6953" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="74" x2="385" y1="124.6953" y2="124.6953"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="149" x="86" y="119.6294">Connection established</text><path d="M10,146.6953 L114,146.6953 L114,153.6953 L104,163.6953 L10,163.6953 L10,146.6953 " fill="#EEEEEE" style="stroke:#000000;stroke-width:1.0;"/><rect fill="none" height="133.6641" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="146.6953"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="59" x="25" y="159.7622">Running</text><polygon fill="#A80036" points="374,180.9609,384,184.9609,374,188.9609,378,184.9609" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="69" x2="380" y1="184.9609" y2="184.9609"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="146" x="76" y="179.895">Send task to slave end</text><polygon fill="#A80036" points="80,210.0938,70,214.0938,80,218.0938,76,214.0938" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="74" x2="385" y1="214.0938" y2="214.0938"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="89" x="86" y="209.0278">Task received</text><polygon fill="#A80036" points="80,239.2266,70,243.2266,80,247.2266,76,243.2266" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="74" x2="385" y1="243.2266" y2="243.2266"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="293" x="86" y="238.1606">Send result to master end (success or failure)</text><polygon fill="#A80036" points="374,268.3594,384,272.3594,374,276.3594,378,272.3594" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="69" x2="380" y1="272.3594" y2="272.3594"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="99" x="76" y="267.2935">Result received</text><path d="M10,294.3594 L165,294.3594 L165,301.3594 L155,311.3594 L10,311.3594 L10,294.3594 " fill="#EEEEEE" style="stroke:#000000;stroke-width:1.0;"/><rect fill="none" height="75.3984" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="294.3594"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="110" x="25" y="307.4263">Shutting down</text><polygon fill="#A80036" points="374,328.625,384,332.625,374,336.625,378,332.625" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="69" x2="380" y1="332.625" y2="332.625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="172" x="76" y="327.5591">Disconnect from slave end</text><polygon fill="#A80036" points="80,357.7578,70,361.7578,80,365.7578,76,361.7578" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="74" x2="385" y1="361.7578" y2="361.7578"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="111" x="86" y="356.6919">Connection down</text><!--MD5=[0164dc1a05c6d807061613084da0fa0d]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="430px" preserveAspectRatio="none" style="width:453px;height:430px;background:#FFFFFF;" version="1.1" viewBox="0 0 453 430" width="453px" zoomAndPan="magnify"><defs><filter height="300%" id="foxalca2kc137" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#FFFFFF" filter="url(#foxalca2kc137)" height="75.3984" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="57.2969"/><rect fill="#FFFFFF" filter="url(#foxalca2kc137)" height="133.6641" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="146.6953"/><rect fill="#FFFFFF" filter="url(#foxalca2kc137)" height="75.3984" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="294.3594"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="69" x2="69" y1="40.2969" y2="386.7578"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="385.5" x2="385.5" y1="40.2969" y2="386.7578"/><rect fill="#FEFECE" filter="url(#foxalca2kc137)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="94" x="20" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="80" x="27" y="24.9951">Master End</text><rect fill="#FEFECE" filter="url(#foxalca2kc137)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="94" x="20" y="385.7578"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="80" x="27" y="405.7529">Master End</text><rect fill="#FEFECE" filter="url(#foxalca2kc137)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="83" x="342.5" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="69" x="349.5" y="24.9951">Slave End</text><rect fill="#FEFECE" filter="url(#foxalca2kc137)" height="30.2969" style="stroke:#A80036;stroke-width:1.5;" width="83" x="342.5" y="385.7578"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="69" x="349.5" y="405.7529">Slave End</text><path d="M10,57.2969 L129,57.2969 L129,64.2969 L119,74.2969 L10,74.2969 L10,57.2969 " fill="#EEEEEE" style="stroke:#000000;stroke-width:1.0;"/><rect fill="none" height="75.3984" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="57.2969"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="74" x="25" y="70.3638">Launching</text><polygon fill="#A80036" points="374,91.5625,384,95.5625,374,99.5625,378,95.5625" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="69" x2="380" y1="95.5625" y2="95.5625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="136" x="76" y="90.4966">Connect to slave end</text><polygon fill="#A80036" points="80,120.6953,70,124.6953,80,128.6953,76,124.6953" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="74" x2="385" y1="124.6953" y2="124.6953"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="149" x="86" y="119.6294">Connection established</text><path d="M10,146.6953 L114,146.6953 L114,153.6953 L104,163.6953 L10,163.6953 L10,146.6953 " fill="#EEEEEE" style="stroke:#000000;stroke-width:1.0;"/><rect fill="none" height="133.6641" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="146.6953"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="59" x="25" y="159.7622">Running</text><polygon fill="#A80036" points="374,180.9609,384,184.9609,374,188.9609,378,184.9609" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="69" x2="380" y1="184.9609" y2="184.9609"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="146" x="76" y="179.895">Send task to slave end</text><polygon fill="#A80036" points="80,210.0938,70,214.0938,80,218.0938,76,214.0938" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="74" x2="385" y1="214.0938" y2="214.0938"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="89" x="86" y="209.0278">Task received</text><polygon fill="#A80036" points="80,239.2266,70,243.2266,80,247.2266,76,243.2266" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="74" x2="385" y1="243.2266" y2="243.2266"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="293" x="86" y="238.1606">Send result to master end (success or failure)</text><polygon fill="#A80036" points="374,268.3594,384,272.3594,374,276.3594,378,272.3594" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="69" x2="380" y1="272.3594" y2="272.3594"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="99" x="76" y="267.2935">Result received</text><path d="M10,294.3594 L165,294.3594 L165,301.3594 L155,311.3594 L10,311.3594 L10,294.3594 " fill="#EEEEEE" style="stroke:#000000;stroke-width:1.0;"/><rect fill="none" height="75.3984" style="stroke:#000000;stroke-width:2.0;" width="429.5" x="10" y="294.3594"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacing" textLength="110" x="25" y="307.4263">Shutting down</text><polygon fill="#A80036" points="374,328.625,384,332.625,374,336.625,378,332.625" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;" x1="69" x2="380" y1="332.625" y2="332.625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="172" x="76" y="327.5591">Disconnect from slave end</text><polygon fill="#A80036" points="80,357.7578,70,361.7578,80,365.7578,76,361.7578" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:2.0,2.0;" x1="74" x2="385" y1="361.7578" y2="361.7578"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacing" textLength="111" x="86" y="356.6919">Connection down</text><!--MD5=[0f33ec92a8bce1ffa680506e29ff2e5a]
@startuml
participant "Master End" as master
participant "Slave End" as slave
......@@ -22,7 +22,7 @@ group Shutting down
end
@enduml
PlantUML version 1.2021.17beta3(Unknown compile time)
PlantUML version 1.2021.17beta4(Unknown compile time)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
......
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="250px" preserveAspectRatio="none" style="width:229px;height:250px;background:#FFFFFF;" version="1.1" viewBox="0 0 229 250" width="229px" zoomAndPan="magnify"><defs><filter height="300%" id="f3d2xtyxma8ak" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="111.5" cy="20" fill="#000000" filter="url(#f3d2xtyxma8ak)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f3d2xtyxma8ak)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="38" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="48" y="71.1387">Get the input value x.</text><rect fill="#FEFECE" filter="url(#f3d2xtyxma8ak)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="110" x="56.5" y="103.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="90" x="66.5" y="125.1074">Set x' as int(x).</text><rect fill="#FEFECE" filter="url(#f3d2xtyxma8ak)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="201" x="11" y="157.9375"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="181" x="21" y="179.0762">Return value x' as result.</text><ellipse cx="111.5" cy="222.9063" fill="#FFFFFF" filter="url(#f3d2xtyxma8ak)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="111.5" cy="222.9063" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="111.5" x2="111.5" y1="30" y2="50"/><polygon fill="#A80036" points="107.5,40,111.5,50,115.5,40,111.5,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="111.5" x2="111.5" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="107.5,93.9688,111.5,103.9688,115.5,93.9688,111.5,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="111.5" x2="111.5" y1="137.9375" y2="157.9375"/><polygon fill="#A80036" points="107.5,147.9375,111.5,157.9375,115.5,147.9375,111.5,151.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="111.5" x2="111.5" y1="191.9063" y2="211.9063"/><polygon fill="#A80036" points="107.5,201.9063,111.5,211.9063,115.5,201.9063,111.5,205.9063" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[263464fb128e89688161c13daf0df9e3]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="250px" preserveAspectRatio="none" style="width:229px;height:250px;background:#FFFFFF;" version="1.1" viewBox="0 0 229 250" width="229px" zoomAndPan="magnify"><defs><filter height="300%" id="f3d2xtyxma8ak" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><ellipse cx="111.5" cy="20" fill="#000000" filter="url(#f3d2xtyxma8ak)" rx="10" ry="10" style="stroke:none;stroke-width:1.0;"/><rect fill="#FEFECE" filter="url(#f3d2xtyxma8ak)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="147" x="38" y="50"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="127" x="48" y="71.1387">Get the input value x.</text><rect fill="#FEFECE" filter="url(#f3d2xtyxma8ak)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="110" x="56.5" y="103.9688"/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacing" textLength="90" x="66.5" y="125.1074">Set x' as int(x).</text><rect fill="#FEFECE" filter="url(#f3d2xtyxma8ak)" height="33.9688" rx="12.5" ry="12.5" style="stroke:#A80036;stroke-width:1.5;" width="201" x="11" y="157.9375"/><text fill="#000000" font-family="sans-serif" font-size="12" font-weight="bold" lengthAdjust="spacing" textLength="181" x="21" y="179.0762">Return value x' as result.</text><ellipse cx="111.5" cy="222.9063" fill="#FFFFFF" filter="url(#f3d2xtyxma8ak)" rx="11" ry="11" style="stroke:#000000;stroke-width:1.0;"/><ellipse cx="111.5" cy="222.9063" fill="#000000" rx="6" ry="6" style="stroke:#7F7F7F;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="111.5" x2="111.5" y1="30" y2="50"/><polygon fill="#A80036" points="107.5,40,111.5,50,115.5,40,111.5,44" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="111.5" x2="111.5" y1="83.9688" y2="103.9688"/><polygon fill="#A80036" points="107.5,93.9688,111.5,103.9688,115.5,93.9688,111.5,97.9688" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="111.5" x2="111.5" y1="137.9375" y2="157.9375"/><polygon fill="#A80036" points="107.5,147.9375,111.5,157.9375,115.5,147.9375,111.5,151.9375" style="stroke:#A80036;stroke-width:1.0;"/><line style="stroke:#A80036;stroke-width:1.5;" x1="111.5" x2="111.5" y1="191.9063" y2="211.9063"/><polygon fill="#A80036" points="107.5,201.9063,111.5,211.9063,115.5,201.9063,111.5,205.9063" style="stroke:#A80036;stroke-width:1.0;"/><!--MD5=[bbd017a0d0f2cf90c7f45890d6ab8570]
@startuml
start
......@@ -11,7 +11,7 @@ start
stop
@enduml
PlantUML version 1.2021.17beta3(Unknown compile time)
PlantUML version 1.2021.17beta4(Unknown compile time)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册