
23-03-2003, 17:51
|
|
Registered User
no team
|
|
Join Date: Jul 2001
Rookie Year: 2001
Location: FL
Posts: 400
|
|
Quote:
Originally posted by GregT
I used this as an excuse to learn java 
Attatched is a program that will use brute force to randomly generate a matchlist based on constraints you enter.
To run it download the zip file, extract it to a diectory.
Open a console window, cd to that directory and type "java Generator"
The program should execute, follow the instructions and enter info when prompted.
After it has all the info it needs It will start generating match lists. It will try one possible route, if it runs into a dead end (no more possible matches), and all teams haven't played the required number of matches, it gives up and tries again (without any input from you).
Please save all your work before running this, It probably isn't stable (though since it's being executed by the Java VM it shouldn't crash anything- with windows you never know).
The time the program takes to find an acceptable match list depends on the constraints you give it at the beginning. If you tell it to find a list that would be near impossible to generate by hand, expect to wait a long time. If you wish to stop the program while it's in the middle of execution try ctrl-c (or force close it or whatever).
This program is provided for the entertainment value of all of you don't expect it to be stable, and don't rely on it to work as advertized. That said, feel free to let me know of any bugs or errors in the program (or general questions/comments).
Greg
|
Here's an applet version:
http://24.24.28.120/gen/
Much easier to use.
Greg
__________________
The above was my opinion. I'm wrong a lot. I'm sarcastic a lot. Try not to take me too seriously.
|