|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mancrd.ahah.samples.combinatorial.StrikeSearchApp
public class StrikeSearchApp
Compares an AHaH "strike" search to random guessing to show that its directed search. Shows relationship between learning rate and the time and quality of solution. Default variable result in a test that takes about 30-60 minutes to run.
Constructor Summary | |
---|---|
StrikeSearchApp()
|
Method Summary | |
---|---|
void |
aHaHStrikeSearch(int numCities,
float minLearningRate,
float maxLearningRate)
finds solutions using the "strike" method |
static void |
main(String[] args)
This app takes the following arguments: numCities (64) : smaller number of cities, faster this will run. |
void |
randomSearch(int numCities)
finds random solutions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrikeSearchApp()
Method Detail |
---|
public static void main(String[] args) throws IOException
NOTE!! Add -Xms512m -Xmx1024m to VM args when running this.
args
-
IOException
public void aHaHStrikeSearch(int numCities, float minLearningRate, float maxLearningRate)
public void randomSearch(int numCities)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |