mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-25 06:12:11 +08:00
246 lines
12 KiB
XML
246 lines
12 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
<!-- Generated by graphviz version 6.0.1 (20220911.1526)
|
|
-->
|
|
<!-- Title: cpu_scheduling_algorithms/fcfs_scheduling.cpp Pages: 1 -->
|
|
<!--zoomable 93 -->
|
|
<svg id="main" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" onload="init(evt)">
|
|
<style type="text/css"><![CDATA[
|
|
.edge:hover path { stroke: red; }
|
|
.edge:hover polygon { stroke: red; fill: red; }
|
|
]]></style>
|
|
<script type="text/javascript"><![CDATA[
|
|
var edges = document.getElementsByTagName('g');
|
|
if (edges && edges.length) {
|
|
for (var i=0;i<edges.length;i++) {
|
|
if (edges[i].id.substr(0,4)=='edge') {
|
|
edges[i].setAttribute('class','edge');
|
|
}
|
|
}
|
|
}
|
|
]]></script>
|
|
<defs>
|
|
<circle id="rim" cx="0" cy="0" r="7"/>
|
|
<circle id="rim2" cx="0" cy="0" r="3.5"/>
|
|
<g id="zoomPlus">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="zoomplus.mouseover" end="zoomplus.mouseout"/>
|
|
</use>
|
|
<path d="M-4,0h8M0,-4v8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
|
</g>
|
|
<g id="zoomMin">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="zoomminus.mouseover" end="zoomminus.mouseout"/>
|
|
</use>
|
|
<path d="M-4,0h8" fill="none" stroke="white" stroke-width="1.5" pointer-events="none"/>
|
|
</g>
|
|
<g id="dirArrow">
|
|
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
|
</g>
|
|
<g id="resetDef">
|
|
<use xlink:href="#rim2" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="reset.mouseover" end="reset.mouseout"/>
|
|
</use>
|
|
</g>
|
|
</defs>
|
|
|
|
<script type="text/javascript">
|
|
var viewWidth = 614;
|
|
var viewHeight = 93;
|
|
var sectionId = 'dynsection-0';
|
|
</script>
|
|
<script xlink:href="../../svgpan.js"/>
|
|
<svg id="graph" class="graph">
|
|
<g id="viewport">
|
|
<title>cpu_scheduling_algorithms/fcfs_scheduling.cpp</title>
|
|
<!-- Node1 -->
|
|
<g id="node1" class="node">
|
|
<title>Node1</title>
|
|
<g id="a_node1"><a xlink:title="Implementation of FCFS CPU scheduling algorithm.">
|
|
<polygon fill="#999999" stroke="#666666" points="356,-85 222,-85 222,-55 356,-55 356,-85"/>
|
|
<text text-anchor="start" x="230" y="-73" font-family="Helvetica,sans-Serif" font-size="10.00">cpu_scheduling_algorithms</text>
|
|
<text text-anchor="middle" x="289" y="-62" font-family="Helvetica,sans-Serif" font-size="10.00">/fcfs_scheduling.cpp</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node2 -->
|
|
<g id="node2" class="node">
|
|
<title>Node2</title>
|
|
<g id="a_node2"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="56,-19 0,-19 0,0 56,0 56,-19"/>
|
|
<text text-anchor="middle" x="28" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">algorithm</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node2 -->
|
|
<g id="edge1" class="edge">
|
|
<title>Node1->Node2</title>
|
|
<path fill="none" stroke="#63b8ff" d="M225.73,-54.99C183.22,-45.55 125.67,-32.72 66.22,-19.27"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="66.8,-15.81 56.28,-17.02 65.26,-22.64 66.8,-15.81"/>
|
|
</g>
|
|
<!-- Node3 -->
|
|
<g id="node3" class="node">
|
|
<title>Node3</title>
|
|
<g id="a_node3"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="123.5,-19 74.5,-19 74.5,0 123.5,0 123.5,-19"/>
|
|
<text text-anchor="middle" x="99" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">cassert</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node3 -->
|
|
<g id="edge2" class="edge">
|
|
<title>Node1->Node3</title>
|
|
<path fill="none" stroke="#63b8ff" d="M243.49,-54.99C209.66,-44.57 164.21,-30.58 133.38,-21.09"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="134.11,-17.65 123.53,-18.05 132.05,-24.34 134.11,-17.65"/>
|
|
</g>
|
|
<!-- Node4 -->
|
|
<g id="node4" class="node">
|
|
<title>Node4</title>
|
|
<g id="a_node4"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="186.5,-19 141.5,-19 141.5,0 186.5,0 186.5,-19"/>
|
|
<text text-anchor="middle" x="164" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">cstdlib</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node4 -->
|
|
<g id="edge3" class="edge">
|
|
<title>Node1->Node4</title>
|
|
<path fill="none" stroke="#63b8ff" d="M259.06,-54.99C238.58,-45.4 211.62,-32.79 191.65,-23.44"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="193,-20.21 182.46,-19.14 190.03,-26.55 193,-20.21"/>
|
|
</g>
|
|
<!-- Node5 -->
|
|
<g id="node5" class="node">
|
|
<title>Node5</title>
|
|
<g id="a_node5"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="245.5,-19 204.5,-19 204.5,0 245.5,0 245.5,-19"/>
|
|
<text text-anchor="middle" x="225" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">ctime</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node5 -->
|
|
<g id="edge4" class="edge">
|
|
<title>Node1->Node5</title>
|
|
<path fill="none" stroke="#63b8ff" d="M273.51,-54.84C264.03,-46.17 251.89,-35.08 242.12,-26.15"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="244.33,-23.43 234.59,-19.27 239.61,-28.6 244.33,-23.43"/>
|
|
</g>
|
|
<!-- Node6 -->
|
|
<g id="node6" class="node">
|
|
<title>Node6</title>
|
|
<g id="a_node6"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="314,-19 264,-19 264,0 314,0 314,-19"/>
|
|
<text text-anchor="middle" x="289" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">iomanip</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node6 -->
|
|
<g id="edge5" class="edge">
|
|
<title>Node1->Node6</title>
|
|
<path fill="none" stroke="#63b8ff" d="M289,-54.84C289,-47.21 289,-37.7 289,-29.45"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="292.5,-29.27 289,-19.27 285.5,-29.27 292.5,-29.27"/>
|
|
</g>
|
|
<!-- Node7 -->
|
|
<g id="node7" class="node">
|
|
<title>Node7</title>
|
|
<g id="a_node7"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="386,-19 332,-19 332,0 386,0 386,-19"/>
|
|
<text text-anchor="middle" x="359" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">iostream</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node7 -->
|
|
<g id="edge6" class="edge">
|
|
<title>Node1->Node7</title>
|
|
<path fill="none" stroke="#63b8ff" d="M305.95,-54.84C316.42,-46.09 329.86,-34.85 340.59,-25.88"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="343.08,-28.36 348.51,-19.27 338.59,-22.99 343.08,-28.36"/>
|
|
</g>
|
|
<!-- Node8 -->
|
|
<g id="node8" class="node">
|
|
<title>Node8</title>
|
|
<g id="a_node8"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="447.5,-19 404.5,-19 404.5,0 447.5,0 447.5,-19"/>
|
|
<text text-anchor="middle" x="426" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">queue</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node8 -->
|
|
<g id="edge7" class="edge">
|
|
<title>Node1->Node8</title>
|
|
<path fill="none" stroke="#63b8ff" d="M321.81,-54.99C344.47,-45.31 374.35,-32.56 396.3,-23.18"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="397.95,-26.29 405.77,-19.14 395.2,-19.85 397.95,-26.29"/>
|
|
</g>
|
|
<!-- Node9 -->
|
|
<g id="node9" class="node">
|
|
<title>Node9</title>
|
|
<g id="a_node9"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="544,-19 466,-19 466,0 544,0 544,-19"/>
|
|
<text text-anchor="middle" x="505" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">unordered_set</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node9 -->
|
|
<g id="edge8" class="edge">
|
|
<title>Node1->Node9</title>
|
|
<path fill="none" stroke="#63b8ff" d="M340.74,-54.99C378.34,-44.8 428.56,-31.2 463.53,-21.73"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="464.68,-25.05 473.42,-19.05 462.85,-18.29 464.68,-25.05"/>
|
|
</g>
|
|
<!-- Node10 -->
|
|
<g id="node10" class="node">
|
|
<title>Node10</title>
|
|
<g id="a_node10"><a xlink:title=" ">
|
|
<polygon fill="#e0e0e0" stroke="#999999" points="606,-19 562,-19 562,0 606,0 606,-19"/>
|
|
<text text-anchor="middle" x="584" y="-7" font-family="Helvetica,sans-Serif" font-size="10.00">vector</text>
|
|
</a>
|
|
</g>
|
|
</g>
|
|
<!-- Node1->Node10 -->
|
|
<g id="edge9" class="edge">
|
|
<title>Node1->Node10</title>
|
|
<path fill="none" stroke="#63b8ff" d="M356.04,-57.84C407.18,-48.97 479.56,-35.67 551.55,-19.19"/>
|
|
<polygon fill="#63b8ff" stroke="#63b8ff" points="552.75,-22.51 561.7,-16.84 551.17,-15.69 552.75,-22.51"/>
|
|
</g>
|
|
</g>
|
|
</svg>
|
|
<g id="navigator" transform="translate(0 0)" fill="#404254">
|
|
<rect fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width=".5" x="0" y="0" width="60" height="60"/>
|
|
<use id="zoomplus" xlink:href="#zoomPlus" x="17" y="9" onmousedown="handleZoom(evt,'in')"/>
|
|
<use id="zoomminus" xlink:href="#zoomMin" x="42" y="9" onmousedown="handleZoom(evt,'out')"/>
|
|
<use id="reset" xlink:href="#resetDef" x="30" y="36" onmousedown="handleReset()"/>
|
|
<g id="arrowUp" xlink:href="#dirArrow" transform="translate(30 24)" onmousedown="handlePan(0,-1)">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="arrowUp.mouseover" end="arrowUp.mouseout"/>
|
|
</use>
|
|
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
|
</g>
|
|
<g id="arrowRight" xlink:href="#dirArrow" transform="rotate(90) translate(36 -43)" onmousedown="handlePan(1,0)">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="arrowRight.mouseover" end="arrowRight.mouseout"/>
|
|
</use>
|
|
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
|
</g>
|
|
<g id="arrowDown" xlink:href="#dirArrow" transform="rotate(180) translate(-30 -48)" onmousedown="handlePan(0,1)">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="arrowDown.mouseover" end="arrowDown.mouseout"/>
|
|
</use>
|
|
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
|
</g>
|
|
<g id="arrowLeft" xlink:href="#dirArrow" transform="rotate(270) translate(-36 17)" onmousedown="handlePan(-1,0)">
|
|
<use xlink:href="#rim" fill="#404040">
|
|
<set attributeName="fill" to="#808080" begin="arrowLeft.mouseover" end="arrowLeft.mouseout"/>
|
|
</use>
|
|
<path fill="none" stroke="white" stroke-width="1.5" d="M0,-3.0v7 M-2.5,-0.5L0,-3.0L2.5,-0.5"/>
|
|
</g>
|
|
</g>
|
|
<svg viewBox="0 0 15 15" width="100%" height="30px" preserveAspectRatio="xMaxYMin meet">
|
|
<g id="arrow_out" transform="scale(0.3 0.3)">
|
|
<a xlink:href="fcfs__scheduling_8cpp__incl_org.svg" target="_base">
|
|
<rect id="button" ry="5" rx="5" y="6" x="6" height="38" width="38"
|
|
fill="#f2f5e9" fill-opacity="0.5" stroke="#606060" stroke-width="1.0"/>
|
|
<path id="arrow"
|
|
d="M 11.500037,31.436501 C 11.940474,20.09759 22.043105,11.32322 32.158766,21.979434 L 37.068811,17.246167 C 37.068811,17.246167 37.088388,32 37.088388,32 L 22.160133,31.978069 C 22.160133,31.978069 26.997745,27.140456 26.997745,27.140456 C 18.528582,18.264221 13.291696,25.230495 11.500037,31.436501 z"
|
|
style="fill:#404040;"/>
|
|
</a>
|
|
</g>
|
|
</svg>
|
|
</svg>
|