Class Deboggle
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Frame
|
+----Deboggle
- public class Deboggle
- extends Frame
- implements ActionListener
-
Deboggle(String)
-
-
actionPerformed(ActionEvent)
-
-
main(String[])
- To use Deboggle from commandline,
Usage: java Deboggle
default: dimension = 5, min = 4;
-
quickSort(int[], int[])
- quicksort algorithm (with indices),
orders the int array as well as the contents of
index array indices.
-
quickSort(int[], int[], int, int)
- quicksort algorithm (with indices and range)
can specify a partial sort of evals and indices using
lowest and highest
-
startSearch(String)
-
Deboggle
public Deboggle(String dictionary)
main
public static void main(String argv[])
- To use Deboggle from commandline,
Usage: java Deboggle
default: dimension = 5, min = 4;
actionPerformed
public void actionPerformed(ActionEvent ex)
startSearch
public synchronized void startSearch(String wordgrid)
quickSort
public static final void quickSort(int evals[],
int indices[])
- quicksort algorithm (with indices),
orders the int array as well as the contents of
index array indices. With this, the caller can order
other fields that must maintain adjacency to the int array.
quickSort
public static final void quickSort(int evals[],
int indices[],
int lowest,
int highest)
- quicksort algorithm (with indices and range)
can specify a partial sort of evals and indices using
lowest and highest