Popularity
6.6
Declining
Activity
6.1
Declining
30
4
2
Programming language: Crystal
License: MIT License
Tags:
Algorithms And Data Structures
crystalg alternatives and similar shards
Based on the "Algorithms and Data structures" category.
Alternatively, view crystalg alternatives based on common mentions on social networks and blogs.
Get performance insights in less than 4 minutes
Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.
Sponsored
scoutapm.com
Do you think we are missing an alternative of crystalg or a related project?
README
Crystalg
A generic algorithm library for crystal-lang.
Installation
Clone repository manually:
$ git clone https://github.com/TobiasGSmollett/crystalg && cd crystalg/
Or add this to your application's shard.yml
:
dependencies:
crystalg:
github: TobiasGSmollett/crystalg
Usage
The fastest way to try it is by using Crystal Playground (crystal play
):
require "./crystalg"
include Crystalg::Strings
input = "mississippi"
hash = RollingHash.new input
hash.count("issi") # => 2
Documentation
Development
crystal spec
To Do
- Graph
- Minimum-Cost Arborescence
- Strongly Connected Components
- Flow Alogorithm
- Minimum Cost Flow
- Data Structure
- Red Black Tree
- Link-Cut Tree
- String Algorithm
- Suffix Automaton
- Computational Geometry
- Closest Pair
- Segment Intersections
- Tangent to a Circle
- Common Tangent
- Intersection of a Circle and a Polygon
Contributing
- Fork it ( https://github.com/TobiasGSmollett/crystalg/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- TobiasGSmollett tobias - creator, maintainer