auto_bus/include/controller.h

38 lines
1014 B
C
Raw Normal View History

2022-05-06 11:55:30 +08:00
//
// Created by ricardo on 2022/5/6.
//
#ifndef AUTO_PILOT_BUS_CONTROLLER_H
#define AUTO_PILOT_BUS_CONTROLLER_H
#include "rail.h"
#include "query.h"
/**
*
* @param rails
* @param up_queries
* @param down_queries
* @return
*/
int FCFSFunction(rail_node_t rails, up_bus_t up_queries, down_bus_t down_queries);
/**
*
* @param rails
* @param up_queries
* @param down_queries
* @return
*/
int SSTFFunction(rail_node_t rails, up_bus_t up_queries, down_bus_t down_queries);
/**
* 便
* @param rails
* @param up_queries
* @param down_queries
* @return
*/
int SCANFunction(rail_node_t rails, up_bus_t up_queries, down_bus_t down_queries);
#endif //AUTO_PILOT_BUS_CONTROLLER_H