Code Monkey home page Code Monkey logo

huaweicodecraft2019's Introduction

程序组成

  1. 数据准备 dataread
    1. 车、路、路口分别生成对象存入3个字典供全局索引
  2. 上路器 Motocade
    1. 计算此时刻应当发车的车辆队列
    2. 计算发车车辆的最短路径
  3. 调度器 Schedule
    1. 完成车辆在路线上的模拟行驶
    2. 判断死锁

思路

  1. 利用路径权值安排快车走快道,慢车走慢道
  2. 利用路径权值安排车辆行驶空闲路线
  3. 利用上路器安排当前较为合适的车辆上路
  4. 只在上路时规划路线减小计算量
  5. 控制图上车总量以及发车速度防止死锁

问题

  1. 权值未经试验调整
  2. 调度器与官方差10-20个调度时间片
  3. 没有事后防锁死机制,一旦锁死无法自动恢复,只能调整上路量重新运算。
  4. 运算速度慢,计算路径的方法不够快,可以使用斐波那契堆对Dijstrak算法加速,也可以使用其他算法计算近似最短路径

队伍成员

Xukangjune

DDWafer

huaweicodecraft2019's People

Contributors

run0812 avatar

Stargazers

 avatar

Forkers

xukangjune

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.