d2eeac04ec
Setup for new time managment
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-18 19:35:49 +03:00
9ecbfe15ed
updated todo tasks
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-18 19:28:17 +03:00
Asaad Dadoush
5030e7e5ac
Edit Routes and Add Streets
2020-11-18 18:22:07 +03:00
86a4ac509a
Move counting methods to street
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-17 20:44:10 +03:00
b06a15e303
rename counting methods
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-17 20:25:40 +03:00
200acf9a98
Improved output
...
Added Breakdown of car types on each street.
Calculate avg trip time in last 10 min
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-17 20:18:17 +03:00
Asaad Dadoush
5e612c2995
Edit
2020-11-17 17:45:21 +03:00
d5891ad2d1
Add ref to Camp in Bus ...
...
- Ref to Camp in Bus.
- Override arrive() in bus to
notify camp.
- isAllArrived() changed to implement camp.isDone().
Should be a bit faster
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-15 17:02:56 +03:00
f6209c669d
Remove camp field and better output
2020-11-15 11:48:48 +03:00
124920787c
Better street report
2020-11-15 01:42:17 +03:00
EngOsamah
0458ff143e
maybe this is going to be phase one
2020-11-15 01:21:15 +03:00
Asaad Dadoush
bb46419ed3
Report
2020-11-14 21:27:32 +03:00
2eb6a96a23
Better movement.
...
- Move Vehicles from list
in Makkah.
2020-11-14 02:37:57 +03:00
fe781f43b6
Better movement.
...
- Move Vehicles from list
in Makkah.
2020-11-14 01:30:20 +03:00
392993a008
Cars move on top of each other
2020-11-13 22:35:52 +03:00
fac5ed0089
Major update
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-12 00:13:05 +03:00
62c8fb22fa
Major update
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-12 00:12:59 +03:00
Asaad Dadoush
6aabadd1f0
add enum
2020-11-11 21:35:18 +03:00
16ff81a44c
update Vehicle and Campaign
...
- Added movment in vehicle.
- Now Campaign sets Routes for
it's Vehicles.
- Fixed Array size of stdRoutes
- Added getShortestRoute(Campaign)
and getRoutesToDistrict(District)
in MakkahCity
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-11 21:02:59 +03:00
f4bb5e6099
Prevent IndexOutOFBoundEx:
...
In genCivilVehicles(), the
casting might step over
the number of cars size
of the array. So, use try
catch blocks and skip in that
case.
2020-11-11 14:26:41 +03:00
9fb653397f
Make PDate refrence type rather then static members
2020-11-11 12:04:50 +03:00
be05e7f848
Method to make noise cars
2020-11-10 20:48:32 +03:00
92661695b1
Meeting work
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-10 20:16:11 +03:00
HeshamTB
f3258355fe
Merge branch 'master' into master
2020-11-10 17:06:28 +03:00
EngOsamah
2b037e40e8
Update
2020-11-10 16:45:35 +03:00
96a1254ce3
Makkah: add all busses from camps to list
...
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-10 00:43:16 +03:00
0fb689a3a0
MakkahCity: Main simulation begins
...
- Defined static lists and arrays holding
All object references.
- Generate campaigns with random number range
based on Area. This is based on estimate of
real values and density of the Districts in
Makkah.
- Main loop is made and limited by
PDate.isEnded() which is static variable
indicates the end of the timeline.
The incrementor is PDate.step(key,value)
Simulation begins...
- H.B.
Signed-off-by: HeshamTB <hishaminv@gmail.com>
2020-11-10 00:10:31 +03:00
Asaad Dadoush
d63335beb8
Add Class
2020-11-08 03:05:52 +03:00