New to Java? We'll help you get started with our revised beginner's tutorial, or our free online textbook.
|
Get the latest Java books |
|
h t t p : / /w w w . j a v a c o f f e e b r e a k . c
o m /
|
Menu Articles Using Java Applets Looking for Java resources? Check out the Java Coffee Break directory! |
A Java Framework for Search EnginesPurposeWe want a Java class framework for implementing different search algorithms. Our goals (or requirements) are to design and implement:
We also want a nice way to display networks and to visualize how the search algorithms work for a given network, and for a given starting and ending path point. We will design and implement a Graphics User Interface (GUI) class SearchPanel that can be created with any instance of a sub-class of Search. As a final task, we will write two Java applets (that is shown on the first page) that demonstrates both depth first and breadth first search. These three Java classes are Open Source software; please feel free to remove the search specific code from the two test applets, and use it in your own applications! |
||||
|