Skip to content

Using java threads I created a sample code to use for simulations in local computer :)

Notifications You must be signed in to change notification settings

kessido/Distributed-Code-Jam-Java-Local-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Code Jam: Java Local Simulator

Using java threads I created a sample code to use for simulations in local computer :)

The code is:

  • Main: My solution for baby blocks.
  • baby_block: This is the problem library.
  • Message: This is the local message library.

The idea is to use a local implementation of the message library to achieve a way to run the code in a single process using multiple threads in java environment.

Notice

In order to submit the code you need to delete the first few lines in Main.java:

//############ COMMENT THOSE LINE BEFORE SUBMISSION!!
private Message message;

public Main(Message message) {
    this.message = message;
}
//############ THOSE LINES! ^^

Those lines are used in the local environment, and will couse compiler error in the google jam (This is because the local message library does not exist in google code jam environment).

I hope this will be of use for someone :D (And of course, you can copy or modify it as much as you may want)

Ido :)

About

Using java threads I created a sample code to use for simulations in local computer :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages