Skip to content

Instantly share code, notes, and snippets.

@otaruMendez
Created February 23, 2019 20:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otaruMendez/4d1f43c8c24f17eedc764d4047680a86 to your computer and use it in GitHub Desktop.
Save otaruMendez/4d1f43c8c24f17eedc764d4047680a86 to your computer and use it in GitHub Desktop.
Entry Point for the HashCode Practice Pizza Question
public static void main(String[] args) {
String[] inputs = {"a_example", "b_small", "c_medium", "d_big"};
for (String in: inputs) {
String fileName = "path/to/datasets/" + in;
Simulator simulator = new Simulator(fileName);
simulator.parseInput();
simulator.simulate();
simulator.printOutput();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment