Coder Social home page Coder Social logo

odin's Introduction

We implement ODIN and the baselines based on the Spring and the MVC architecture, which eases the evaluation of various approaches that involve the same parameters and datasets.

The codes for ODIN and baselines are in the packages “src/main/java/ODIN” and “src/main/java/Baseline” respectively. The driver class of our proposal (i.e., ODIN) is “src/main/java/ODIN/ODINApplication.java”, while the driver class of each baseline is “src/main/java/Baseline/BaslinApplication.java”. At the start-up of operating a baseline, please input the baseline name (i.e., SGrid, ERkNN, SIMkNN, VTtree, or TenIndex) to start the corresponding baseline method. The parameters evaluated in experiments are in the driver class for both ODIN and baseline methods.

All datasets relied on by each algorithm have been available on data. Just download the “data” folder and put it into the root directory of the source code. Each subfolder of “data” contains the datasets corresponding to each road network. Here, we take NY as an example to explain the meanings of datasets on each sub-folder of “data”. In particular, “original-NY.txt” is the graph of the road network NY that is organized with the adjacent list, “original-NY.co” is the set of coordinates of all vertices in NY, and “METIS-‘RN’-4branches-300.txt” is the hierarchical partitioned subgraphs of NY using METIS, where the number of branches is 4 (m=4) and the size threshold of each subgraph is 300 (z=300). Other hierarchical partitioned subgraphs with different branches and size thresholds of subgrahps can be obtained by using the partitioning script of METIS, "metisforknn.py", in the folder “metis”, where the input graphs of the script are available in “metis/inputGraphs”.

odin's People

Contributors

760855376 avatar

Watchers

 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.