Home

Awesome

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

Install

  1. Clone repository
  2. Build with mvn package

Use

  1. Add the JAR you builded to your classpath.
  2. Extend AbstractSearchProblem and implement the SearchProblemInterface. See Graph for an example.
  3. Call one of the predefined search algorithms. See Example1 for an example.

Bugs, issues, suggestions, ...

Please report any bugs or suggestions via GitHub.

Alternatives

The following three Java graph libraries are Open Source Software.