All pastes #440461 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-15 01:28 UTC
rendered paste body
/*
 * SlowSearch.java
 *
 * Version:
 *     $Id$
 * 
 * Revisions:
 *     $Log$
 */

/**
 * This class performs the slow search algorithm
 *
 * @author  David King
 */

public class SlowSearch extends Searcher {


   /**
    * The constructor
    *
    * @param   myPuzzle the puzzle
    */

   public SlowSearch(Puzzle myPuzzle) {
      super(myPuzzle);
   }

   /**
    * The main algorithm to find all words
    *
    * @param   list  the words
    */

   public void findAllWords(WordList list) {

   }

   /**
    * Finds one word and returns the location
    *
    * @param   word  the word to look for
    * @return        the index
    */

   public int findWord(String word) {
      return 0;
   }

} //SlowSearch