Giter Site home page Giter Site logo

research-on-multipath-routing-and-scheduling-for-time-triggered-flow-in-time-sensitive-network's Introduction

Research-on-Multipath-Routing-and-Scheduling-for-Time-triggered-Flow-in-Time-sensitive-Network

论文《面向时间敏感网络的时间触发流多路径路由和调度研究》的python实现,ILP通过gurobipy库实现

部分重要实现说明

蚁狮算法求解路由部分

image

步骤4的随机游走实现过程:

①判断所有蚂蚁ants与蚁狮$antlion_i$(其中一只蚂蚁$ant_i$对应,步骤3实现)是否有相交NRSs,如果有的话,则指定该蚂蚁为对应蚁狮的周围蚂蚁

②蚂蚁在蚁狮周边的随机游走过程定义为其与蚁狮进行路径交换的过程,将周围蚂蚁的游走(即路径交换)过程记录下来

③如果有周围蚂蚁的游走记录,根据所有记录更新$ant_i$的路径;如果没有周围蚂蚁的游走记录,那么$ant_i$的每一组NRS按照随机概率与对应的蚁狮$antlion_i$对应的NRS交换

无等待调度部分实现

将避免竞争约束(Contention-free Constraints)【论文公式4.6、4.7】结合其对应的二元互斥变量,转化为如下公式:

$$\Phi_{s_i}(m,l)+\Phi_{s_j}(n,l)+a\cdot(T_c\cdot w_{s_i}-2\Phi_{s_j}(n,l))+b\cdot(T_c\cdot w_{s_j}-2\Phi_{s_i}(m,l))$$

research-on-multipath-routing-and-scheduling-for-time-triggered-flow-in-time-sensitive-network's People

Contributors

hylan-j avatar

Stargazers

爱吃喵酱的花椒 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.