代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<link href="css/styleSliders.css" rel="stylesheet" type="text/css" />
<link href="css/styleTrafficSimulationDe.css"
rel="stylesheet" type="text/css"/>
<script type="text/javascript"
src="js/jquery-1.5.1.min.js">
</script>
<title> Microsimulation of Traffic Flow: Roundabout</title>
</head>
<body>
<!-- ############################################## -->
<!-- outer container -->
<!-- ############################################## -->
<div id="container">
<!-- ############################################## -->
<!-- header: title image loaded as background image via css -->
<!-- ############################################## -->
<div id="header">
<!-- <img class="title" src="figs/title.png" width="100%"/> -->
</div>
<!-- ############################################## -->
<!-- Buttons -->
<!-- ############################################## -->
<div id="startStopDiv"><img id="startStop" width="100%"
src="figs/buttonStop3_small.png" onclick="myStartStopFunction()"/>
</div>
<div id="restartDiv"><img id="restart" width="100%"
src="figs/buttonRestart_small.png" onclick="myRestartFunction()"/>
</div>
<div id="infoDiv"><img width="100%"
src="figs/infoBlue.png" onclick="showInfo()"/>
</div>
<!-- NEW -->
<div id="editTLdiv"><button id="editTLbutton"
onclick="showHideTLeditPanel()">
Open traffic-light control panel </button> </div>
<div id="priorityDiv">
<select id="changePrioritySelect"
onchange="handleChangedPriority(this.selectedIndex)">
<option> Ring has Priority</option>
<option> Arms have Priority</option>
<option> First Come First Served</option>
</select>
</div>
<div id="ODDiv">
<select id="ODSelect"
onchange="handleChangedOD(this.selectedIndex)">
<option> Only Straight Ahead </option>
<option> Only to the Right</option>
<option> Only to the Left</option>
<option> All Directions</option>
</select>
</div>
<!--
<div id="lanePlusDiv"><img width="100%"
src="figs/autobahn_plus.png" onclick="addOneLane()"/>
</div>
<div id="laneMinusDiv"><img width="100%"
src="figs/autobahn_minus.png" onclick="subtractOneLane()"/>
</div>
-->
<!--<div id="debugDiv"> <button onclick="mainroad.writeVehicleRoutes(0,1000)">Debug:
write mainroad veh routes</button>
</div>
-->
<!--<div id="debugDiv"> <button onclick="mainroad.writeNonregularVehicles()">Debug:
write mainroad vehicles</button>
</div>
-->
<!-- redirects to other scenarios, defines myRedirectX -->
<script src="js/redirect.js" type="text/javascript"></script>
<div id="scenarios">
<center>
<br>
<img width="18%" src="figs/iconRing_small.jpg"
onclick="myRedirectRing()"/>
<img width="20%" src="figs/iconOnrampFig_small.jpg"
onclick="myRedirectOnramp()"/>
<img width="20%" src="figs/iconOfframpFig_small.jpg"
onclick="myRedirectOfframp()"/>
<img width="20%" src="figs/iconRoadworksFig_small.jpg"
onclick="myRedirectRoadworks()"/>
<img width="20%" src="figs/iconUphillFig_small.jpg"
onclick="myRedirectUphill()"/>
<img width="20%" src="figs/iconRoutingFig_small.jpg"
onclick="myRedirectRouting()"/>
<img width="22%" src="figs/iconRoundabout_small.jpg"
onclick="myRedirectRoundabout()"/>
<img width="20%" src="figs/iconRampmeterFig_small.jpg"
onclick="myRedirectOnrampBaWue()"/>
</center>
</div>
<!-- ############################################## -->
<!-- the actual simulation canvas -->
<!-- ############################################## -->
<div id="contents">
<canvas id="canvas"
onmouseenter="handleMouseEnter(event)"
onmousemove="handleMouseMove(event)"
onmousedown="handleMouseDown(event)"
onmouseup="handleMouseUp(event)"
onclick="handleClick(event)"
onmouseout="cancelActivities(event)"
style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.
</canvas>
</div>
<!-- ################################################# -->
<!-- Copyright/impressum -->
<!-- ################################################# -->
<div id="impressum">
<table class="infoTable"> <TR>
<td> <a href="impressum.html"> © Martin Treiber</a></td>
<TD> <a href="https://github.com/movsim/traffic-simulation-de">
Offline: sources at GitHub</a></TD>
</TR></table>
</div>
<!-- ############################################## -->
<!-- General link list
<!-- ############################################## -->
<div id="linkDiv">
<table class="infoTable"> <TR>
<TD><!--<img src="https://www.mtreiber.de/figs/clover.png" width="20px"/>-->
<a href="https://www.movsim.org"> MovSim </a> </TD>
<TD> <a href = "http://traffic-flow-dynamics.org/" >
Book "Traffic Flow Dynamics" </a></TD>
<TD> <a href = "https://www.verkehrsdynamik.de" >
Buch "Verkehrsdynamik"</a></TD>
</TR></table>
</div>
<!-- ################################################# -->
<!-- Sliders: The whole right-hand side
<!-- ################################################# -->
<div id="sliders">
<center>
<!-- ######################################################## -->
<!--<img src="figs/Traffic_Flow_and_General.png" width="65%"/>-->
<h3>Traffic Flow and General</h3>
<!-- ######################################################## -->
<table id="mainTable" border="0" cellspacing="1" cellpadding="0" >
<tr>
<td class="important">Total Inflow</td>
<td> <input id="slider_qIn" type="range"
min="0" max="3600" step="10"></td>
<td> <div id="slider_qInVal"></div> </td>
</tr>
<tr>
<td >Mainroad Perc</td>
<td> <input id="slider_mainFrac" type="range"
min="50" max="100" step="1"></td>
<td> <div id="slider_mainFracVal"></div> </td>
</tr>
<!--
<tr>
<td>Left Turn Bias </td>
<td> <input id="slider_leftTurnBias" type="range"
min="-1" max="1" step="0.01"></td>
<td> <div id="slider_leftTurnBiasVal"></div> </td>
</tr>
<tr>
<td>Focus Outgoing</td>
<td> <input id="slider_focusFrac" type="range"
min="0" max="100" step="1"></td>
<td> <div id="slider_focusFracVal"></div> </td>
</tr>
-->
<tr>
<td>Timewarp</td>
<td> <input id="slider_timewarp" type="range"
min="0.2" max="20" step="0.1"></td>
<td> <div id="slider_timewarpVal"></div> </td>
</tr>
</table>
<!-- ######################################################## -->
<!--<img src="figs/Car-Following_Behavior.png" width="60%"/>-->
<h3>Car-Following Behavior</h3>
<!-- ######################################################## -->
<table id="mainTable" border="0" cellspacing="1" cellpadding="0" >
<tr>
<td>Max Accel a</td>
<td> <input id="slider_IDM_a" type="range"
min="0.3" max="4" step="0.1"></td>
<td> <div id="slider_IDM_aVal"></div> </td>
</tr>
<tr>
<td>Max Speed v</sub>0</td>
<td> <input id="slider_IDM_v0" type="range"
min="20" max="70" step="1"></td>
<td> <div id="slider_IDM_v0Val"></div> </td>
</tr>
<tr>
<td>Time Gap T</td>
<td> <input id="slider_IDM_T" type="range"
min="0.6" max="3" step="0.1"></td>
<td> <div id="slider_IDM_TVal"></div> </td>
</tr>
</table>
<!-- ############################################## -->
<!-- info-text inside sliders-div (filled by showInfo())
<!-- ############################################## -->
<br>
<div id="infotext">
</div>
</center>
</div> <!-- id="sliders">-->
<!-- ############################################## -->
<!-- language switching
<!-- ############################################## -->
<div id="infoFlags">
<a href = "roundabout.html">
<img src="figs/flagUSA.png" width="45%" />
</a>
<a href = "roundabout_ger.html">
<img src="figs/flagGerman.png" width="45%" />
</a>
</div>
</div> <!-- end outer container -->
<!-- ########################################################## -->
<!-- specific scripts; position below any simulation elements ! -->
<!-- ########################################################## -->
<script src="js/seedrandom.min.js"></script> <!-- random w seed debug -->
<script src="js/control_gui.js"></script>
<script src="js/timeView.js" type="text/javascript"></script>
<script src="js/media.js" type="text/javascript"></script>
<script src="js/canvas_gui.js"></script>
<script src="js/TrafficObjects.js"></script>
<script src="js/TrafficLightControlEditor.js"></script>
<script src="js/colormanip.js"></script>
<script src="js/models.js"></script>
<script src="js/vehicle.js"></script>
<!--<script src="js/myMath.js"></script> -->
<script src="js/paths.js"></script>
<script src="js/road.js"></script>
<script src="js/stationaryDetector.js"></script>
<!-- PROJ--> <script src="js/roundabout.js"></script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。