com.mancrd.ahah.samples.combinatorial
Class StrikeSearchApp

java.lang.Object
  extended by com.mancrd.ahah.samples.combinatorial.StrikeSearchApp

public class StrikeSearchApp
extends Object

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.

Author:
alexnugent

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

StrikeSearchApp

public StrikeSearchApp()
Method Detail

main

public static void main(String[] args)
                 throws IOException
This app takes the following arguments:

aHaHStrikeSearch

public void aHaHStrikeSearch(int numCities,
                             float minLearningRate,
                             float maxLearningRate)
finds solutions using the "strike" method


randomSearch

public void randomSearch(int numCities)
finds random solutions. Alpha and beta are zero, resulting in guessing of random binary vectors.



Copyright © 2013–2014 M. Alexander Nugent Consulting, Research and Devlopment. All rights reserved.