Giter Site home page Giter Site logo

h-waldschmidt / olsp Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 105 KB

Optimized loading station placement based on hierarchical Hub-Labeling

License: Apache License 2.0

CMake 0.58% Shell 0.29% C++ 99.13%
contraction-hierarchies cpp dijkstra e-mobility hub-labeling-algorithm pathfinding hub-labeling

olsp's Introduction

Optimized Loading Station Placement (OLSP)

This code is part of my bachelor thesis [1].

How to run?

  1. Get Stuttgart, Baden-Württemberg and Deutschland graph from here
  2. Create data folder and place graph files in there
  3. Compile with sh build.sh -r
  4. Run with ./build/olsp (Default: runs predefined benchmarks for all graphs without independent sets)
  5. (To define custom benchmarks edit src/main.cpp file (see example function). Available graph functions can be found in src/graph.h)

References

[1] Waldschmidt Helmut "Optimized placement of charging stations for electric cars" http://dx.doi.org/10.18419/opus-13829

olsp's People

Contributors

h-waldschmidt avatar

Watchers

 avatar

olsp's Issues

Crashing of Hub-Labeling with IS

When using the function createHubLabelsWithIS() it sometimes produces segfaults. It isn't really predictable either. In one run every permutation works and in others it randomly crashes. The correctness of the produced hub labeling isn't impacted (With no crash point to point queries result in shortest distances and the produced esc is valid). It has probably something to do with the parallelization.

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.