Source code
September 6, 2015 ยท View on GitHub
JSearch is a Java library with algorithms to find a path between two vertices of a graph. It provides classic search algorithms (depth-first,
breadth-first, A*, ...) which can be run on any problem that
implements the SearchProblemInterface. PCP Solver is an example of an application.
Status: Usable but lacks documentation.
Source code
The source code is available on GitHub and is licensed under GPLv3.
Dependencies
- Java 6
- JUnit 3.8.1 for the unit tests
- Maven3 to build
Install
- Clone repository
- Build with
mvn package
Use
- Add the JAR you builded to your classpath.
- Extend
AbstractSearchProblemand implement theSearchProblemInterface. SeeGraphfor an example. - Call one of the predefined search algorithms. See
Example1for an example.
Bugs, issues, suggestions, ...
Please report any bugs or suggestions via GitHub.
Alternatives
The following three Java graph libraries are Open Source Software.