Skip to content

Commit 53c125f

Browse files
committed
script linux
1 parent 05e3c55 commit 53c125f

File tree

2 files changed

+80
-10
lines changed

2 files changed

+80
-10
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
# Add executable permission
4+
chmod +x bridge-constructor.jar
5+
6+
# Launch
7+
java -jar bridge-constructor.jar

dummy.txt

Lines changed: 73 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,132 @@
11
-------------------------------------------------------
22
| SATURATION DE LA BASE DE FAITS : Chainage avant |
3+
Recherche applicable : IF naval traffic THEN water.
34
BF contient: naval traffic ? => naval traffic == false ? NO
5+
Recherche applicable : IF rail traffic THEN high vibration.
46
BF contient: rail traffic ? => rail traffic == false ? NO
5-
BF contient: road traffic ? => road traffic == true ? YES
6-
BF contient: daily traffic ? => vrai avec : 90.0 ? -> false
7-
BF contient: pedestrian traffic ? => pedestrian traffic == true ? YES
8-
BF contient: height ? => vrai avec : 10.0 ? -> false
7+
Recherche applicable : IF road traffic AND daily traffic > 500.0 THEN high vibration.
8+
BF contient: road traffic ? => road traffic == false ? NO
9+
Recherche applicable : IF pedestrian traffic AND height > 26.0 THEN NO use wood.
10+
BF contient: pedestrian traffic ? => pedestrian traffic == false ? NO
11+
Recherche applicable : IF high vibration THEN NO use wood.
912
BF contient: high vibration ? => NON
13+
Recherche applicable : IF water AND mountain THEN high current.
1014
BF contient: water ? => water == false ? NO
15+
Recherche applicable : IF water THEN flood risk.
1116
BF contient: water ? => water == false ? NO
17+
Recherche applicable : IF flood risk THEN high current.
1218
BF contient: flood risk ? => NON
19+
Recherche applicable : IF high current THEN NO use wood.
1320
BF contient: high current ? => NON
21+
Recherche applicable : IF forest THEN fire risk.
1422
BF contient: forest ? => forest == false ? NO
23+
Recherche applicable : IF fire risk THEN NO use wood AND NO use steel.
1524
BF contient: fire risk ? => NON
25+
Recherche applicable : IF wind THEN tempest risk.
1626
BF contient: wind ? => wind == false ? NO
27+
Recherche applicable : IF tempest risk THEN NO use wood AND NO use steel AND NO bridge hanging considered.
1728
BF contient: tempest risk ? => NON
29+
Recherche applicable : IF castle THEN drawbridge considered.
1830
BF contient: castle ? => castle == false ? NO
19-
BF contient: road traffic ? => NO road traffic == true ? NO
31+
Recherche applicable : IF NO road traffic AND NO rail traffic AND pedestrian traffic AND length < 50.0 THEN use cord.
32+
BF contient: road traffic ? => NO road traffic == false ? YES
33+
BF contient: rail traffic ? => NO rail traffic == false ? YES
34+
BF contient: pedestrian traffic ? => pedestrian traffic == false ? NO
35+
Recherche applicable : IF lane number > 2.0 THEN NO use wood.
2036
BF contient: lane number ? => vrai avec : 2.0 ? -> false
37+
Recherche applicable : IF height > 85.0 THEN use steel.
2138
BF contient: height ? => vrai avec : 10.0 ? -> false
39+
Recherche applicable : IF height > 30.0 THEN NO bridge vault considered.
2240
BF contient: height ? => vrai avec : 10.0 ? -> false
41+
Recherche applicable : IF length > 100.0 THEN NO bridge shroud considered.
2342
BF contient: length ? => vrai avec : 20.0 ? -> false
43+
Recherche applicable : IF length < 25.0 THEN NO bridge shroud considered AND NO bridge hanging considered.
2444
BF contient: length ? => vrai avec : 20.0 ? -> true
45+
Recherche applicable : IF height > 50.0 THEN NO bridge beam considered.
2546
BF contient: height ? => vrai avec : 10.0 ? -> false
47+
Recherche applicable : IF height < 50.0 THEN bridge beam considered.
2648
BF contient: height ? => vrai avec : 10.0 ? -> true
49+
Recherche applicable : IF length < 50.0 THEN bridge vault considered.
2750
BF contient: length ? => vrai avec : 20.0 ? -> true
51+
Recherche applicable : IF use wood THEN NO bridge arc considered AND NO bridge hanging considered AND NO bridge shroud considered.
2852
BF contient: use wood ? => NON
53+
Recherche applicable : IF use stone THEN NO bridge hanging considered AND NO bridge shroud considered.
2954
BF contient: use stone ? => NON
55+
Recherche applicable : IF use stone AND length < 60.0 THEN bridge arc considered.
3056
BF contient: use stone ? => NON
57+
Recherche applicable : IF use concrete THEN NO bridge hanging considered AND NO bridge shroud considered.
3158
BF contient: use concrete ? => NON
59+
Recherche applicable : IF use concrete AND length < 60.0 THEN bridge arc considered.
3260
BF contient: use concrete ? => NON
61+
Recherche applicable : IF use steel AND length < 100.0 THEN bridge arc considered.
3362
BF contient: use steel ? => NON
63+
Recherche applicable : IF use steel AND length > 50.0 AND heigth > 50.0 THEN bridge shroud considered.
3464
BF contient: use steel ? => NON
65+
Recherche applicable : IF use steel THEN bridge hanging considered.
3566
BF contient: use steel ? => NON
67+
Recherche applicable : IF use cord THEN bridge hanging considered.
3668
BF contient: use cord ? => NON
69+
Recherche applicable : IF use cord THEN NO bridge arc considered AND NO bridge beam considered AND NO bridge shroud considered AND NO bridge vault considered.
3770
BF contient: use cord ? => NON
71+
Recherche applicable : IF naval traffic THEN water.
3872
BF contient: naval traffic ? => naval traffic == false ? NO
73+
Recherche applicable : IF rail traffic THEN high vibration.
3974
BF contient: rail traffic ? => rail traffic == false ? NO
40-
BF contient: road traffic ? => road traffic == true ? YES
41-
BF contient: daily traffic ? => vrai avec : 90.0 ? -> false
42-
BF contient: pedestrian traffic ? => pedestrian traffic == true ? YES
43-
BF contient: height ? => vrai avec : 10.0 ? -> false
75+
Recherche applicable : IF road traffic AND daily traffic > 500.0 THEN high vibration.
76+
BF contient: road traffic ? => road traffic == false ? NO
77+
Recherche applicable : IF pedestrian traffic AND height > 26.0 THEN NO use wood.
78+
BF contient: pedestrian traffic ? => pedestrian traffic == false ? NO
79+
Recherche applicable : IF high vibration THEN NO use wood.
4480
BF contient: high vibration ? => NON
81+
Recherche applicable : IF water AND mountain THEN high current.
4582
BF contient: water ? => water == false ? NO
83+
Recherche applicable : IF water THEN flood risk.
4684
BF contient: water ? => water == false ? NO
85+
Recherche applicable : IF flood risk THEN high current.
4786
BF contient: flood risk ? => NON
87+
Recherche applicable : IF high current THEN NO use wood.
4888
BF contient: high current ? => NON
89+
Recherche applicable : IF forest THEN fire risk.
4990
BF contient: forest ? => forest == false ? NO
91+
Recherche applicable : IF fire risk THEN NO use wood AND NO use steel.
5092
BF contient: fire risk ? => NON
93+
Recherche applicable : IF wind THEN tempest risk.
5194
BF contient: wind ? => wind == false ? NO
95+
Recherche applicable : IF tempest risk THEN NO use wood AND NO use steel AND NO bridge hanging considered.
5296
BF contient: tempest risk ? => NON
97+
Recherche applicable : IF castle THEN drawbridge considered.
5398
BF contient: castle ? => castle == false ? NO
54-
BF contient: road traffic ? => NO road traffic == true ? NO
99+
Recherche applicable : IF NO road traffic AND NO rail traffic AND pedestrian traffic AND length < 50.0 THEN use cord.
100+
BF contient: road traffic ? => NO road traffic == false ? YES
101+
BF contient: rail traffic ? => NO rail traffic == false ? YES
102+
BF contient: pedestrian traffic ? => pedestrian traffic == false ? NO
103+
Recherche applicable : IF lane number > 2.0 THEN NO use wood.
55104
BF contient: lane number ? => vrai avec : 2.0 ? -> false
105+
Recherche applicable : IF height > 85.0 THEN use steel.
56106
BF contient: height ? => vrai avec : 10.0 ? -> false
107+
Recherche applicable : IF height > 30.0 THEN NO bridge vault considered.
57108
BF contient: height ? => vrai avec : 10.0 ? -> false
109+
Recherche applicable : IF length > 100.0 THEN NO bridge shroud considered.
58110
BF contient: length ? => vrai avec : 20.0 ? -> false
111+
Recherche applicable : IF height > 50.0 THEN NO bridge beam considered.
59112
BF contient: height ? => vrai avec : 10.0 ? -> false
113+
Recherche applicable : IF use wood THEN NO bridge arc considered AND NO bridge hanging considered AND NO bridge shroud considered.
60114
BF contient: use wood ? => NON
115+
Recherche applicable : IF use stone THEN NO bridge hanging considered AND NO bridge shroud considered.
61116
BF contient: use stone ? => NON
117+
Recherche applicable : IF use stone AND length < 60.0 THEN bridge arc considered.
62118
BF contient: use stone ? => NON
119+
Recherche applicable : IF use concrete THEN NO bridge hanging considered AND NO bridge shroud considered.
63120
BF contient: use concrete ? => NON
121+
Recherche applicable : IF use concrete AND length < 60.0 THEN bridge arc considered.
64122
BF contient: use concrete ? => NON
123+
Recherche applicable : IF use steel AND length < 100.0 THEN bridge arc considered.
65124
BF contient: use steel ? => NON
125+
Recherche applicable : IF use steel AND length > 50.0 AND heigth > 50.0 THEN bridge shroud considered.
66126
BF contient: use steel ? => NON
127+
Recherche applicable : IF use steel THEN bridge hanging considered.
67128
BF contient: use steel ? => NON
129+
Recherche applicable : IF use cord THEN bridge hanging considered.
68130
BF contient: use cord ? => NON
131+
Recherche applicable : IF use cord THEN NO bridge arc considered AND NO bridge beam considered AND NO bridge shroud considered AND NO bridge vault considered.
69132
BF contient: use cord ? => NON

0 commit comments

Comments
 (0)