-
Notifications
You must be signed in to change notification settings - Fork 0
/
Demo_for_data2
53 lines (49 loc) · 2.66 KB
/
Demo_for_data2
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
At the intersection located at col 1 and row 1
incoming lane having direction SOUTHWARD is empty
incoming lane having direction EASTWARD is nonempty and
car#4 is removed and placed into outgoing lane having direction EASTWARD
incoming lane having direction NORTHWARD is empty
incoming lane having direction WESTWARD is empty
outgoing lane having direction SOUTHWARD is empty
outgoing lane having direction EASTWARD is nonempty
outgoing lane having direction NORTHWARD is nonempty
outgoing lane having direction WESTWARD is empty
At the intersection located at col 2 and row 1
incoming lane having direction SOUTHWARD is nonempty and
car#6 is removed and placed into outgoing lane having direction EASTWARD
car#6 leaves the grid
incoming lane having direction EASTWARD is nonempty and
car#4 is removed and placed into outgoing lane having direction SOUTHWARD
car#4 leaves the grid
incoming lane having direction NORTHWARD is nonempty and
car#5 is removed and placed into outgoing lane having direction NORTHWARD
incoming lane having direction WESTWARD is empty
outgoing lane having direction SOUTHWARD is nonempty
outgoing lane having direction EASTWARD is nonempty
outgoing lane having direction NORTHWARD is nonempty
outgoing lane having direction WESTWARD is empty
At the intersection located at col 1 and row 2
incoming lane having direction SOUTHWARD is empty
incoming lane having direction EASTWARD is empty
incoming lane having direction NORTHWARD is nonempty and
car#3 is removed and placed into outgoing lane having direction EASTWARD
incoming lane having direction WESTWARD is nonempty and
car#2 is removed and placed into outgoing lane having direction WESTWARD
car#2 leaves the grid
outgoing lane having direction SOUTHWARD is empty
outgoing lane having direction EASTWARD is nonempty
outgoing lane having direction NORTHWARD is empty
outgoing lane having direction WESTWARD is nonempty
At the intersection located at col 2 and row 2
incoming lane having direction SOUTHWARD is nonempty and
car#1 is removed and placed into outgoing lane having direction SOUTHWARD
incoming lane having direction EASTWARD is nonempty and
car#3 is removed and placed into outgoing lane having direction EASTWARD
car#3 leaves the grid
incoming lane having direction NORTHWARD is nonempty and
car#5 is removed and placed into outgoing lane having direction WESTWARD
incoming lane having direction WESTWARD is empty
outgoing lane having direction SOUTHWARD is nonempty
outgoing lane having direction EASTWARD is nonempty
outgoing lane having direction NORTHWARD is empty
outgoing lane having direction WESTWARD is nonempty