Created and developed by Matthew D. Jeffreys
GraphLib is a free/MIT license Java library that provides lightweight implementations of commonly used graphs. Graphs are implemented as simple abstract data types and can be modified and accessed without the use of builder/factory classes. Vertices and weights can be any type the developer requires, and path finding and graph walking algorithms are designed to work with the complete Java Number hierarchy.
- Implementations of Weighted/Non-weighted and Directed/Undirected graphs.
- Sub graphing for all graph types.
- Path/Walk algorithms including DFS/BFS.
- Shortest Path distance finding algorithms based on Dikstra's and Bellman-Ford's algorithms.
- Utilities for automatic graph manipulation, including graph type transposition.
- path/walk classes that are based off of subgraphs.
- expanded path/walk features
Maven build:
Github
www.github.com/mdj20/quickgraph/
Note: jar is currently unavailable, at v0.5.0
Java source code: www.github.com/mdj20/quickgraph
Javadoc https://mdj20.github.io/quickgraph/apidocs/index.html
(0.5.0) (01/23/2018) initial pre-release, any release sub 1.0.0 is subject to major changes. Every effort will be made to preserve the structure of the library to facilitate backwards compatibility. Documentation and non-code formatting changes may be made without version change releases.
pre 0.5.0 code may be found at:
https://github.com/mdj20/graphlib
Copyright 2018 Matthew D. Jeffreys
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.