-
Notifications
You must be signed in to change notification settings - Fork 8
/
building.html
31 lines (31 loc) · 2.21 KB
/
building.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<script src="https://code.jquery.com/jquery-latest.min.js"></script>
<script src="https://d3js.org/d3.v5.min.js"></script>
<script src="../../dist/jsRealB.js"></script>
<script>var language="en";</script>
<script src="building.js" type="module"></script>
<link rel="stylesheet" href="building.css">
<title>Construction of a building</title>
</head>
<body>
<h1>Construction of a building</h1>
<blockquote>
<p><em>It involves building on an uneven slope an industrial building comprising a metal frame on foundations with well and stringers, paved floor, walls in coated agglomerates, corrugated sheets and corrugated polyester with insulation, heating by suspended air heaters, luminescent lighting.</em></p>
<p>Adapted from a French example in : A. Gal, G. Lapalme, P. Saint-Dizier, <em>Prolog pour l'analyse automatique du langage naturel</em>, Eyrolles, 1989, pp. 122-129 which explains how to generate a French text using Prolog DCGs.</p>
</blockquote>
[<a href="batiment.html">Version française</a>]
<h2>Input data</h2>
<p>The table on the left show the input data: for each task are specified: an id, its length in days and tasks that depend on it. The starting date of the project can be changed here: <input type="date" id="startDate" value="2018-07-22" />. .</p>
<span id="etapes"></span>
<span id="graphique"></span>
<p>The system computes the critical path and the earliest and latest dates to which the tasks can take place so that the final project is not delayed. It produces then a text (realized by <code>jsRealB</code>). Hovering the mouse on a task in the graphic highlights it in yellow and displays a tooltip showing informations about this task which is displayed in blue in the generated text and in the table. The immediately preceding and following task are displayed with a red border.</p>
<hr/>
<h2>Text describing an <em>optimal</em> sequence of tasks starting from <span id="dateDebut"></span></h2>
<div id="text"></div>
</body>
</html>