com.mancrd.ahah.combinatorial
Class RandomSearch

java.lang.Object
  extended by com.mancrd.ahah.combinatorial.Search
      extended by com.mancrd.ahah.combinatorial.RandomSearch

public class RandomSearch
extends Search


Constructor Summary
RandomSearch(Valuator valuator, int maxSteps)
          Just randomly guesses bit patterns.
 
Method Summary
 float getBestValue()
           
 int getConvergenceAttempts()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomSearch

public RandomSearch(Valuator valuator,
                    int maxSteps)
Just randomly guesses bit patterns. No directed search. Used as a control to show that fractal flow fabric is performing a directed search.

Parameters:
valuator -
maxSteps -
Method Detail

run

public void run()
Specified by:
run in class Search

getConvergenceAttempts

public int getConvergenceAttempts()
Specified by:
getConvergenceAttempts in class Search

getBestValue

public float getBestValue()
Specified by:
getBestValue in class Search


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