Git Product home page Git Product logo

roadmapconstructionevaluation-console's Introduction

RoadMapConstructionEvaluator

A framework in C# to evaluate road graphs inferred by trajectory-based road map construction algorithms. Part of master thesis for the University Utrecht Department of Information and Computing Science. This version works without visualisations. We heavily recommend the visual version, which you can find here.


Features

  • Import directed, undirected and hybrid maps.
  • Transform directedness and size of imported maps.
  • Export edited maps.
  • Import trajectory sets.
  • Synthetically generate shortest path trajectories for imported maps.
  • Export generated trajectory sets.
  • Evaluate similarity between two imported maps using the graph sampling similarity measure by Biagioni and Eriksson.

Formats

We follow a common format in the map construction field, similar to the one used in data-sets on Mapconstruction. The following format is expected for maps.

A Vertices file, with on each line:

vertexId, projectedX, projectedY

An Edges file, with on each line:

edgeId, vertexId1, vertexId2, directedness

Trajectory sets are expected in a folder containing a trip_x file for each trajectory, with on each line:

projectedX projectedY time

We provide Projectors to help with conversion of coordinates. Additionally, with help of external tools, extracted Open Street Map road graphs can be used. The OSMParser helps with the final small step to get such a graph to our format.


Usage

The example below shows a sketch of how a map can be evaluated.

Map gt = importMap.ReadMap($"data/Ground-truth");	
Map cm = importMap.ReadMap($"data/Constructed-map");

//Evaluates the map by averaging 100 local neighbourhoods.
(float, float) similarityScore = eval.EvalMap(gt, cm, 100); 

Console.WriteLine(similarityScore);

roadmapconstructionevaluation-console's People

Contributors

arisaadon 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.