20-08-2012, 02:08 PM
JAVA Application
JAVA.docx (Size: 11.56 KB / Downloads: 31)
Abstract
This powerful windows JAVA application is mainly aimed to
serve the looping railways by which we could able to demonstrate the moving
simulation of trains, number of trains & speed control time gap are those
adjustable functions and highlight to this application.
The application demonstrates a concurrent train simulation in a 2-way
direction train movement on the same track. In this application Trains are
added with a origin station at the beginning of the route cycle with a time
lap of between 3 to 6 seconds. When the trains currently on map simulation
(or) maximum number of trains what we specified is not available on map
(or) no more trains are in movement then trains can move to both directions.
When a train leaves from the origin station it is locking the both options like:
Path and the platform at the next immediate station, the check goes like this
firstly if the path found free , then if there is any free platform at the next
station. If both platform are free then its choosing the one that have same
direction trains on it. If no train is in both platform then platform 0 its chosen
by default. If others trains coming, then the train waits until all others can
pass by. If the trains is an express then the train is not stopping at the stations.
When an express train exits a station is locking the next 2 stations so it can
move faster than the other trains.
JAVA.docx (Size: 11.56 KB / Downloads: 31)
Abstract
This powerful windows JAVA application is mainly aimed to
serve the looping railways by which we could able to demonstrate the moving
simulation of trains, number of trains & speed control time gap are those
adjustable functions and highlight to this application.
The application demonstrates a concurrent train simulation in a 2-way
direction train movement on the same track. In this application Trains are
added with a origin station at the beginning of the route cycle with a time
lap of between 3 to 6 seconds. When the trains currently on map simulation
(or) maximum number of trains what we specified is not available on map
(or) no more trains are in movement then trains can move to both directions.
When a train leaves from the origin station it is locking the both options like:
Path and the platform at the next immediate station, the check goes like this
firstly if the path found free , then if there is any free platform at the next
station. If both platform are free then its choosing the one that have same
direction trains on it. If no train is in both platform then platform 0 its chosen
by default. If others trains coming, then the train waits until all others can
pass by. If the trains is an express then the train is not stopping at the stations.
When an express train exits a station is locking the next 2 stations so it can
move faster than the other trains.