Coder Social home page Coder Social logo

idron's Introduction

IDRoN, a Clojure Library for Inferring Distance Rankings on Networks

Synopsis

We deal with the problem of solving a ranking query from a single source to multiple targets. A ranking is a weak ordering of targets with respect to their distances to the source. The query is evaluated on a routing network, i.e., a directed graph with a cost function. For example, this problem translates into finding nearest points of interests (POIs). Common shortest path searches are time expensive in either pre-calculation or evaluation. Often, the user is preliminarily satisfied with just the ranking, i.e., the distances or the way to follow are secondary information. Hence, the question arises whether it is possible to find an optimal algorithm for this limited problem.

Project Goals

We deliver a library that sits on top of Tinkerpop's graph library that

  • generates routing networks based on
    • synthetic data (either internal or external by Jung
    • real Open Street Map-data
  • provides shortest path solvers (A* and Dijkstra)
  • uses one of the provided shortest path solvers for our novel algorithm
  • evaluates and tests this algorithm with the incanter library

Implementation

The library is implemented in Clojure 1.5. We used Clojure with Tinkerpop because

  • Tinkerpop is a great interface for accessing a multitude of graph databases (similar to JDBC for relational databases).
  • Clojure can compile to the JVM.
  • Clojure is a very expressive language that keeps implementation details away from the actual description of the algorithm.
  • Clojure's asynchronous nature is perfect to describe our developed algorithm.

Examples

  • Run lein run import /database/mu ~/mu.osm true to create a fresh Neo4J-database /database/mu with data imported from the OSM-XML file mu.osm.
  • Run lein run plot /tmp to plot an evaluation of the implemented algorithms on some graphs to the directory /tmp.

idron's People

Contributors

koeppl avatar

Watchers

 avatar  avatar  avatar

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.