Giter Site home page Giter Site logo

db-sim's Introduction

	  	  _____  ____        _____ _            
	  	 |  __ \|  _ \      / ____(_)           
	  	 | |  | | |_) |____| (___  _ _ __ ___   
	  	 | |  | |  _ <______\___ \| | '_ ` _ \  
	  	 | |__| | |_) |     ____) | | | | | | | 
	  	 |_____/|____/     |_____/|_|_| |_| |_| 

DB-Sim

A data driven and queue-based simulation tool for ETE

Goals

calculate evacuation time faster and more accurately

Methods

  • build basic iterator model[db-sim Framework]
  • build ml model
  • data driven model integration
  • Experiment

TODOLISTS

Framework

  • parse xml from config
  • boost library support
  • logging support
  • basic iterator develop
  • xgboost,randomforest c++ support
  • refacting db-sim manage
  • refacting config manage

Model

  • poolnum -> buffernum
  • buffernum -> outflow
  • sample for every link and node
  • add pool and buffer sample
  • train model for each node
  • import ml model(trained by python and predict by c++)

Plans

V0.1.3

  • add param configure for better tune.
  • add super-dest-point process

V0.1.4

  • add [poolnum -> buffernum] Model
  • finished basic iteration for simulation.

V0.1.5

  • add 2out->1in intersection analyais(discard)
  • add rotary island intersection analysis(discard)

V0.1.6

  • add long path analysis
  • add circle module
  • precise link desc with buffersize
  • update vehicle generator

V0.1.7

  • road condition display

To Be Continue~

Usage

Settings

  • config privoid traffic network and evacuation demand with xml.
  • src do simulation
    • core core code for simulation
    • utils some userdefined or 3rd necessary tools ,example parse xml tools
  • test some test case for this project
  • data train and test data
dbsim [options] [ceil|test|gawron|fete] :
  -h [ --help ]           show help
  -c [ --config ] arg     user defined config file
  -s [ --sample ] arg     sample for node and link
  -S [ --simulation ] arg simulation for fast ete
  -t [ --test ]           Test each model

build

cd ${PROJECT_DIR}
mkdir build
cd build
cmake ..
make

Result

link 2571 and 2581

The DB-Sim method is closed with origin mathod ,but run much faster.

result

Reference

  • Papers To be add.

db-sim's People

Contributors

lzjqsdd avatar

Stargazers

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