Git Product home page Git Product logo

shashanksingh / toy_graph_db Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 134 KB

Just a toy graph db so that we can play around with graph algorithms like connected components, Union Find etc. Its work in progress, feel free to raise PR

License: GNU General Public License v3.0

Python 96.37% Dockerfile 1.03% Makefile 2.60%
algorithms bfs bfs-algorithm connected-components dfs graph-algorithms tarzan tree union-find

toy_graph_db's People

Contributors

shashanksingh avatar

Watchers

 avatar  avatar

toy_graph_db's Issues

Make example Client work

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Path finding algorithm - Dijkstra

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

E2E tests

GRPC Client -----> GRPC Server ---> Storage backend

Tree needs more functions

  1. Finding depth and height of tree
  2. Finding depth and height of nodes
  3. Inorder travesal
  4. Preorder traversal
  5. Postorder Traversal

[Spike] Find One Demo / example form real life

  • Can autocomplete for English dictinary be good example?
  • Or Finding all routes from to and from airport ? ( real data )
  • Forex conversion ?
  • Actual course schedule problem from a university ?
  • Social connections ?

refactor the clases

Is your feature request related to a problem? Please describe.
refactor code based on ABC to increase readability

Describe the solution you'd like

  1. undirected graphs go in one directory
  2. directed graphs go in one direction
  3. graph class gets abstracts method hash , is_valid() , add_node(), travesal(type=allowed_type) , for tree allowed_type - (inoder, postorder, preorder), for graphs bfs, dfs

Describe alternatives you've considered

  1. current situation makes it little unreadable and code is not shared

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.