Skip to content

Threading experiments: simulator of bank assaults and police persuits

Notifications You must be signed in to change notification settings

paulogaspar/ThiefCatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThiefCatch

This is a simulator of bank assaults and police persuits.

Robbers are generated in their hideout, and drive to banks. Once the alarm goes on, the police station is warned, and police cars start the persuit.

The city map is read from a file, and the number of entities is customizable (number of patrol cars, and simultaneous thiefs).

This is essentially a concurrency test, where hundreds of threads run simultaneously to find the quickest paths from where an entity is to its destiny.

To run: java -jar ThiefCatch.jar map.txt

About

Threading experiments: simulator of bank assaults and police persuits

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages