Giter Site home page Giter Site logo

citiususc / hipster Goto Github PK

View Code? Open in Web Editor NEW
322.0 322.0 89.0 5.6 MB

Hipster4j is a lightweight and powerful heuristic search library for Java and Android. It contains common, fully customizable algorithms such as Dijkstra, A* (A-Star), DFS, BFS, Bellman-Ford and more.

Home Page: http://hipster4j.github.io

License: Apache License 2.0

Shell 0.47% Java 96.71% CSS 1.37% C# 1.40% Smalltalk 0.05%
android dijkstra graph-search heuristic-search hipster4j java search-algorithm shortest-paths

hipster's People

Contributors

andyg7 avatar anuragster avatar cmoins avatar dependabot[bot] avatar florianbronder avatar gabizekany avatar gahrae avatar gonzalezsieira avatar jennnnyz avatar pablormier avatar pauljackson123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hipster's Issues

Insert pluginManagement in parent pom

Plugins such as javadoc / sources / ... should be defined in the parent pom using pluginDependency tag to let each sub-module decide whether to use it or not.

Reorganize maven modules

New maven modules organization:

  • hipster-core: same as the current maven module. In the future may split into api, collections and algorithms.
  • hipster-examples: examples moved from core example packages.
  • hipster-jung: distribution pom for hipster with jung adapters.
  • hipster-jgrapht: distribution pom for hipster with jgrapht adapters.

Pretty 8-puzzle string representation

Override toString method to print 8-puzzle states in a pretty way, transformin the plain array {1,0,2,3,4,5,6,7,8} into something like:
| 1 0 2 |
| 3 4 5 |
| 6 7 8 |

Clean algorithm factory duplications

Some algorithm factories are identical for similar algorithms (for example, A factory and IDA factory). NOTE: This implies the reuse of factories and there are incompatibilities between generic nodes.

SetCoverIterator fails when there is only one element

Add unit test to check this case

Input:

Set<Set<String>> sets = new HashSet<String>();
sets.add(Collections.singleton("A"));

Expected output:

List<Set<String>> result = compute();
assertEquals(1, result.size());
assertEquals("A", result.get(0).iterator().next());

IterativeSetCover does not fulfill the iterator contract

hasNext method is used to compute the next element. This can cause lots of problems. For instance, if there are 3 solutions, these lines will fail:

iterator.next(); // try to obtain first solution
iterator.next(); // try second solution
iterator.next(); // try with third one

Create README.md with markdown

Document the project using markdown. The documentation must include project goals, example usage, how to contribute, organization info, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.