Multi-agent rail transit path planning method based on discrete speed and continuous time

By adopting a multi-agent rail transit path planning method based on discrete speed continuous time in the train routing problem, the application limitations caused by unrealistic assumptions in the existing technology are solved, and a more efficient, flexible and safe path planning is achieved, which is suitable for Actual scenario.

CN118358631BActive Publication Date: 2024-09-20HUAQIAO UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410796199.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-20
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

The existing technology makes some unrealistic assumptions in the train routing problem, such as discrete time steps, unit cost actions and constant train speed, which limits its application in more practical scenarios.

Method used

A multi-agent rail transit path planning method based on discrete speed continuous time is adopted, and the train is represented as a state (Tr, t, v, speed) through map modeling and agent modeling, and a conflict-based continuous search algorithm and Discrete speed safe interval path planning algorithm generates paths to avoid conflicts, taking into account different speeds and safe distances.

Benefits of technology

It improves conflict resolution capabilities, flexibility and efficiency of path planning, ensures safe intervals between trains, improves system stability and reliability, has wider applicability, and can cope with path planning needs in different complex scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118358631B
    Figure CN118358631B
Patent Text Reader

Abstract

The present invention discloses a multi-agent rail transit path planning method based on discrete speed continuous time, which relates to the field of path planning technology and includes the following steps: map modeling and agent modeling, generating a map model agent model, represented as a state st: (Tr, t, v, speed), wherein Tr is a train unique identifier, t, v and speed respectively represent that the train Tr is located at position v and speed is speed at time t, wherein the position v is represented by a node or edge in a map; a conflict-based continuous search algorithm is used to implement multi-agent rail transit path planning, and the multi-agent rail transit path planning is represented as the state change of all agents on the map. While improving the efficiency of railway transportation, the present invention enhances the safety of train operation and provides a more effective solution for complex situations in actual application scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of path planning, and in particular to a multi-agent rail transit path planning method based on discrete speed and continuous time. Background Art

[0002] The Train Routing Problem (TRP) is a type of network optimization problem that typically involves determining the best path for a train in a railway network. The goal of TRP is to find the best path for a train from its origin to its destination in order to improve efficiency and reduce transportation costs. Solving TRP typically requires graph-theoretic analysis of the topology of the railway network, including information such as the distances between nodes (stations) and edges (railway lines). This work will explore the study of the Train Routing Problem as a Multi-Agent Pathfinding (MAPF) problem. The MAPF problem aims to find a path for a group of agents that ensures that each agent can reach its target location while avoiding collisions.

[0003] Previous studies have used the MAPF approach to study TRP. However, these studies made some assumptions when relaxing the problem, such as discrete time steps, unit cost actions, and constant train speed, which limit the application of this technique in more realistic scenarios. Summary of the invention

[0004] The purpose of the present invention is to solve the problem in the prior art that some unrealistic assumptions are required, which makes the planning method unsuitable for practical application.

[0005] The technical solution adopted by the present invention to solve the technical problem is: to provide a multi-agent rail transit path planning method based on discrete speed and continuous time, comprising the following steps:

[0006] Map modeling: the actual rail transit network is modeled as a map model, using nodes to represent switches and stations, and each node has a unique identifier; the edge connecting two nodes represents the actual track, and each edge has a unique identifier;

[0007] Agent modeling, the train is modeled as an agent model using a quaternion, expressed as a state st: (Tr, t, v, speed), where Tr is the unique identifier of the train, t, v and speed respectively represent that the train Tr is at position v and speed speed at time t; the position v is represented by a node or edge in the map;

[0008] A conflict-based continuous search algorithm is used to implement multi-agent rail transit path planning, including generating corresponding constraints according to conflicts between agents, and planning paths according to the constraints, different speeds of agents, and safe distances between different agents. The multi-agent rail transit path planning is represented by the state changes of all agents on a map.

[0009] Preferably, during the map modeling process, whether the edges between nodes are actually passable is considered, and edges that are actually not passable are not stored in the map model.

[0010] Preferably, the state change includes stopping and moving;

[0011] The state change representing stopping is (st, [st.t, t]), which means that the train maintains the same state in the time interval [st.t, t], where t is the time when the next action of the train starting from st.v occurs, and the speed of the train is 0;

[0012] The state change representing movement is (st, st.speed, st', st'.speed, [st.t, st'.t]), which means that the train moves from state st to a new state st' within the time interval [st.t, st'.t], and the speed changes from st.speed to st'.speed.

[0013] Preferably, the method of implementing multi-agent rail transit path planning using a conflict-based continuous search algorithm comprises the following steps:

[0014] S1, receives the map model and the agent model;

[0015] S2, initialize the root node of the CT tree and add it to the OPEN list;

[0016] S3, plan a single train path for each agent and store the plan in the root node of the CT tree;

[0017] S4, determine whether the OPEN list is empty, if so, go to S5, otherwise go to S6;

[0018] S5, returning the path planning of the current node as the multi-agent rail transit path planning solution, and ending the path planning;

[0019] S6, extract the CT node with the minimum cost and check whether there is a conflict among them. If there is no conflict, go to S5, otherwise go to S7;

[0020] S7, select a conflict to constrain, create a CT child node with the corresponding constraint and add it to the OPEN list, and return to S4.

[0021] Preferably, the S3 comprises the following steps:

[0022] S31, determine the initial position, target position and initial speed of the train, represent it as the starting point node and add it to the OPEN list;

[0023] S32, judging whether the OPEN list is empty, if so, returning that no planned path is found as the path planning result, otherwise, entering S33;

[0024] S33, extracting the node with the minimum cost as the current node, and determining whether the current node is the end point of the train operation, if so, returning to the current planned path, otherwise entering S34;

[0025] S34, generating a successor node based on the current node, wherein the successor node represents a possible next moving direction of the train at different speeds;

[0026] S35, calculate the cost from the current node to the successor node, add the successor node to the OPEN list, and return to S32.

[0027] Preferably, the cost from the current node to the successor node is calculated as follows: when a path from the current node to a successor node is found, the cost of this path is calculated; if the cost is less than the previously recorded cost from the current node to the successor node, the cost from the current node to the successor node is updated, and the parent node of the successor node is set as the current node.

[0028] Preferably, in S6, the conflict includes:

[0029] Vertex conflict, which means two agents occupy the same node at the same time;

[0030] Edge conflict, which means two agents occupy the same edge at the same time;

[0031] Possible conflict means that the two edges occupied by two agents at the same time have the same node, and one of the agents moves away from the node, while the other moves towards the node.

[0032] Preferably, in S6, whether there is a conflict is detected by calculating the collision judgment parameter t1 and the judgment parameter t2. If both t1 and t2 are negative, it is considered that no conflict occurs. The judgment parameters are expressed as:

[0033] ;

[0034] ;

[0035] ;

[0036] ;

[0037] ;

[0038] ;

[0039] ;

[0040] Among them, x1 and x2 represent the positions of the two trains, v1 and v2 represent the speeds of the two trains, r1 and r2 represent the collision radius of the two trains; a, b, c, w and v are all intermediate calculation parameters.

[0041] Preferably, the selecting a conflict to constrain comprises:

[0042] For two conflicting trains, one of the trains is selected to generate constraints. The train generating the constraints is denoted as tr1, and the other train is denoted as tr2.

[0043] The process of generating constraints consists of the following steps:

[0044] S71, calculate the time difference delta=t2-t1, t2 represents the end time of the movement of train tr2, and t1 represents the start time of the movement of train tr1;

[0045] S72, determine whether delta is less than a preset precision value, if yes, stop the loop, otherwise go to S73;

[0046] S73, judging whether there is a conflict between the movements of the two trains, if yes, proceed to S74, otherwise proceed to S75;

[0047] S74, the movement start time of train tr1 is delayed by delta;

[0048] S75, the movement start time of train tr1 is advanced by delta;

[0049] S76, let delta = delta / 2;

[0050] S77, judging whether the movement start time of train tr1 is later than the movement end time of train tr2, if yes, proceed to S78, otherwise, return to S72;

[0051] S78, generating constraints according to the movement start time of train tr1 at this time.

[0052] The present invention has the following beneficial effects:

[0053] (1) Stronger conflict resolution capability: The present invention adopts a method combining CCBS and DS-SIPP algorithms, which can more effectively resolve conflicts between vehicles in path planning. Through continuous conflict detection and path optimization, it can timely and accurately avoid and resolve potential conflicts, ensure safe intervals between trains, avoid collisions, rear-end collisions and other dangerous situations, improve the operation stability and reliability of the system, and meet the safety requirements of rail transit network path planning;

[0054] (2) Path planning is more flexible and efficient: The present invention combines the advantages of continuous time and discrete speed, making path planning more flexible and efficient. Continuous time provides higher time accuracy, which helps to accurately simulate and plan the vehicle's running trajectory, while the flexible adjustment of discrete speed can adapt to the vehicle speed requirements in different situations, further optimizing the efficiency of path planning and meeting the efficiency requirements of rail transit network path planning.

[0055] (3) Higher safety and reliability: The present invention takes into account factors such as safety intervals and path continuity during the path planning process, reliably ensuring the safe operation of rail transit. Through real-time adjustment and evaluation of the path, potential dangers can be effectively avoided and the safety of vehicle operation can be ensured. The real-time adjustment of the path adopts the adjustment of the start and end time of the train movement, which meets the safety requirements and timetable consistency requirements of the rail transit network path planning (rail transit systems usually have strict timetables, and trains need to arrive and leave each station on time);

[0056] (4) Wider applicability: The method of the present invention combines the advantages of different algorithms and is closer to actual application scenarios. In addition, due to its high flexibility and strong adjustability, it has a wider scope of application and can meet the path planning requirements in different complex scenarios. Therefore, it has a broader practical application prospect.

[0057] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments, but the present invention is not limited to the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A method step diagram of an embodiment of the present invention;

[0059] Figure 2 A schematic diagram of map modeling and agent modeling according to an embodiment of the present invention;

[0060] Figure 3 This is a CCBS-DS-SIPP path planning flow chart of an embodiment of the present invention;

[0061] Figure 4 This is a conflict example diagram of an embodiment of the present invention;

[0062] Figure 5This is a flow chart of DS-SIPP independent path planning according to an embodiment of the present invention. DETAILED DESCRIPTION

[0063] See also Figure 1 FIG. 1 is a diagram showing steps of a method according to an embodiment of the present invention, comprising the following steps:

[0064] S101, map modeling, modeling the actual rail transit network as a map model, using nodes to represent turnouts and stations, each node has a unique identifier; the edge connecting two nodes represents the actual track, each edge has a unique identifier;

[0065] S102, agent modeling, using a quaternion to model the train as an agent model, represented by a state st: (Tr, t, v, speed), where Tr is the unique identifier of the train, t, v and speed respectively represent that the train Tr is at position v and speed speed at time t, where position v is represented by a node or edge in the map;

[0066] S103, adopting a conflict-based continuous search algorithm to implement multi-agent rail transit path planning, including generating corresponding constraints according to the conflicts between agents, planning paths according to the constraints, the different speeds of the agents and the safe distances between different agents, and the multi-agent rail transit path planning is represented by the state changes of all agents on the map.

[0067] See the map modeling described in S101 and the agent modeling described in S102 for details. Figure 2 shown.

[0068] Map modeling includes point representation and edge representation. Point representation abstracts key locations such as turnouts, stations, etc. of the rail transit network as nodes of the graph; each node represents a specific location, and there may be multiple nodes on a long track. Figure 1 In the figure, 2, 3, 4, 6, and 7 are turnout nodes, and 1, 5, and 8 are stations on the track. Edges represent the connection between two nodes through edges in the graph, usually representing that a train can reach one location from another within a certain period of time. Each edge has a unique identifier, such as Figure 1 It is represented as e1, e2, e3 and so on.

[0069] Map modeling can provide a clearer understanding of the movement and time cost of trains in the network. When a train moves along an edge, it will require a certain time cost. In the MAPF model under continuous time, the movement of the train is represented by action ac. Specifically, the actions of the train in the map include stopping and moving. When stopping, the train maintains the same state and the speed is 0. The stop state is only possible when the speed is 0; when moving, an action ac converts the train from the current state to another state to realize the movement of the train.

[0070] On the basis of fully considering the characteristics of the rail transit network, it is also necessary to recognize some of the limitations, especially in the case of three-way turnouts. Not all two directions can be freely passed. For example, at node 4, there are three edges 2-4, 4-5, and 4-7. In the actual train operation scenario, path 2-4-5 may be a prohibited section. Similarly, at the node 7, the turnout formed by 4-7, 6-7, and 7-8, path 4-7-6 may also be impassable. These prohibited sections need to be properly considered when using SIPP path planning to ensure that the generated path planning scheme is consistent with the actual situation. In the process of path planning, these impassable sections need to be excluded from the graph so that the actual operation restrictions are followed during path planning to generate a more reasonable and effective path. Through such optimization and consideration, it is ensured that the planned path not only meets the structural characteristics of the network, but also can be successfully applied in actual train operation.

[0071] The agent modeling is carried out after the map modeling phase is completed, and the agent is adapted to the map. In order to accurately describe the position of the train in the rail transit network, a four-tuple is used to represent it, specifically the state st: (Tr, t, v, speed). Among them, Tr corresponds to a train in the map, and v, t and speed indicate that the train is at position v and the speed is speed at time t. This four-tuple representation can accurately describe the position of the train on the track. By matching the state of the agent with the edge of the map, the train can be accurately located during the path planning process and better meet the needs of rail transit path planning. The strategy of agent modeling and map adaptation can ensure the accuracy and practicality of path planning, and lay a solid foundation for the successful implementation of rail transit path planning methods.

[0072] The movement of the train is represented by action ac, that is, the train moves from one state st to the next state st'. Specifically, the action ac of the train in the map is represented as: (1) Stop (st, [st.t, t]), the train maintains the same state in the time interval [st.t, t], where t is the time when the next action of the train starting from st.v occurs. This means that the speed of the train is 0, and the stop state is only possible when the speed is 0. (2) Move (st, st.speed, st', st'.speed, [st.t, st'.t]), in the time interval [st.t, st'.t], it moves from state st to a new state st', and the speed changes from st.speed to st'.speed.

[0073] In the previous algorithms for implementing rail transit path planning, some assumptions were made when relaxing the problem, such as CBS using discrete time and constant train speed, and CCBS-SIPP using constant train speed. However, these assumptions limit the application of technology in more practical scenarios. The discrete time assumption divides time into discrete time periods, which may not be accurate enough when high-precision time calculation is required, and may also limit the time optimization ability of path planning. The constant speed assumption assumes that the vehicle travels at a constant speed throughout the path, and cannot flexibly adjust the speed according to actual conditions, lacking adaptability. The present invention adopts a method that combines CCBS and DS-SIPP, and combines continuous time and discrete speed at the same time, making it closer to practical applications. Continuous time provides higher time accuracy, which helps to accurately simulate and plan the vehicle's running trajectory. In addition, continuous time can also achieve more detailed and accurate path planning, thereby optimizing the vehicle's running time and efficiency. On the other hand, discrete speed can flexibly adjust the vehicle's speed according to actual conditions, making it more in line with realistic scenarios and improving flexibility.

[0074] Specifically, the flowchart of S103 is shown in Figure 3As shown in the figure, the continuous conflict based search algorithm (CCBS) and the discrete-speed safe interval path planning algorithm (DS-SIPP) are combined. Specifically, the network diagram of rail transit and the driving tasks of the train are input at the beginning of the algorithm, and the rail transit path planning problem is abstracted into a MAPF problem through map modeling and agent modeling; the root node of the CT tree is initialized and added to the OPEN list, and then DS-SIPP is used to plan a single train path for each train and store it in the root node of the CT tree; when using DS-SIPP to plan a single train path for each train, only each train is considered to travel to the destination at the lowest cost, without considering the conflict between the path and other trains.

[0075] Conflict Trees is a data structure used to resolve conflicts in multi-vehicle path planning. The CT node mentioned in the algorithm is a node in the conflict tree, which stores a possible solution, including a single agent plan, time constraints, and possible paths for a group of agents. The algorithm gradually resolves conflicts by creating and expanding these CT nodes until a conflict-free solution is found or it cannot be expanded further. The open list is used to store the conflict tree nodes to be processed. Each node represents a possible solution, and the algorithm sorts the nodes according to their costs. In each iteration of the algorithm, if the OPEN list is not empty, the CT node with the smallest cost is extracted and checked for conflicts; if there is no conflict, the solution is the final train operation solution. If there is a conflict, select a conflict to constrain and create a CT child node with the corresponding constraints, and add the CT node to the OPEN list so that it can be selected for expansion in future iterations. Then loop through the OPEN list until a conflict-free train operation solution is found. The constraints refer to a set of restrictions or rules that limit the actions or movements that the agent can take when planning a path. For example, agent k cannot move from position i to j at time step t. This is a set of constraints, and this child node contains a single train path plan generated using DS-SIPP that satisfies the constraints.

[0076] See also Figure 4 FIG. 1 is a diagram showing an example of conflicts in an embodiment of the present invention, and provides three common conflict types: Figure 4 The conflict in (a) is called a vertex conflict. It occurs when two trains need to pass through the same track intersection or turning point at the same time. In this case, the trains may block each other, resulting in obstruction of operation or collision. This conflict needs to be resolved to ensure that the trains can pass through the intersection smoothly; Figure 4The conflict in (b) is called an edge conflict. When the two trains in the figure try to go from node 1 to node 2 and from node 2 to node 1 respectively, they must pass through the same edge, that is, edge 1-2. This leads to a conflict; Figure 4 There may be a conflict in (c) in which the two trains are moving from node 0 to node 1 and from node 1 to node 2 respectively. This situation may lead to rear-end collisions in train operation, that is, one train catches up with another train and may cause a collision.

[0077] by Figure 4 (a) in the example is used to illustrate the process of generating constraints for conflicts in this embodiment. Assume that train tr1 moves from node 0 to node 2 in the time interval [0,2], and train tr2 moves from node 1 to node 2 in the time interval [1,2]. When adding the constraint of train tr1, the movement of the two will cause a conflict, and adjustments are made through binary search. The adjustment process is: first calculate the time difference between the movement of the two trains delta=2-0=2 (delta is the end time of the movement of train tr2-the start time of the movement of train tr1), and adjust the running time interval of train tr1 to [0+delta,2+delta], that is, [2,4]. If there is no conflict, the adjustment time is [t1-delta,t2-delta], delta / 2, and the next cycle is carried out to try to advance the movement forward and find a possible earlier time without conflict. The loop uses delta to gradually reduce the amplitude of the time adjustment to find a sufficiently accurate adjustment amount until delta is less than the preset accuracy value, and the loop ends. If no conflict occurs at this time, the constraint (tr1, t1, t2) is generated, that is, the train is constrained in the time interval [t1, t2], where t1 is the start time of the original tr1 running time interval, and t2 is the start time of the time interval after the adjustment.

[0078] DS-SIPP is a path planning algorithm designed to determine the safe path for trains on railway tracks. The algorithm combines the concepts of discrete speed and safety interval to ensure that trains avoid collisions with other vehicles when traveling; the algorithm generates the best path planning results by considering the difference in train speed and the safe distance between other vehicles. The DS-SIPP algorithm plays a key role in the root node of the CT tree and in the generation of new CT nodes when conflicts occur. Specifically, at the root node of the CT tree, the DS-SIPP algorithm is used to generate the initial path planning and find the best obstacle avoidance path by gradually expanding the branches of the CT tree. When a conflict occurs, a new CT node is created to handle the conflict situation. The DS-SIPP algorithm readjusts the vehicle's path planning when generating a new CT node to avoid collisions and ensure the safe and smooth operation of multiple vehicles. The application of the DS-SIPP algorithm in the CT tree can effectively solve the conflict problem in vehicle path planning and improve the efficiency and safety of the system.

[0079] Specifically, the flowchart of using DS-SIPP to plan a single train path for each train in S103 is shown in FIG. Figure 5 As shown, first, determine the initial position, target position and initial speed of the train, and represent them as the starting node; extract the node with the minimum cost as the current node, and generate successor nodes based on the current node, which include possible positions of the train at different speeds, and these nodes represent the possible next movement direction of the train; select a path with the minimum cost from the successor nodes and update it; iterate the process of generating successor nodes and updating until the target position is reached or it is impossible to continue.

[0080] Specifically, the method of selecting a path with the minimum cost from the successor node is as follows: when a path from the current node to a successor node is found, the cost of the path needs to be calculated. If the newly calculated cost is less than the previously recorded cost to reach the successor node, the cost to reach the successor node is updated, and its parent node is updated to the current node, because a path with a lower cost to reach the successor node is found. For example, suppose there is a path A→C→B with a cost of 2 and a path A→B with a cost of 1; the path A→C→B is explored first, and the cost of A→B is 1. Although the path A→C→B is explored first, since the cost of A→B is lower, the cost to reach B is updated to 1, and the parent node of B is set to A.

[0081] It can be seen that the present invention models the train (agent) routing problem in the rail network as an instance of the multi-agent path planning problem, abstracts each train into an agent through agent modeling, solves conflicts between trains through the continuous conflict based search algorithm (CCBS), and generates corresponding constraints; uses discrete-speed safe interval path planning (DS-SIPP) to generate paths according to constraints, and plans the paths for trains, which makes up for the shortcomings of previous studies on constant train speed. This method not only improves the efficiency of railway transportation, but also enhances the safety of train operation, and provides a more effective solution for complex situations in actual application scenarios.

[0082] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A multi-agent rail transit path planning method based on discrete speed and continuous time, characterized in that: The following steps are involved: Map modeling: Modeling the actual rail transit network as a map model, using nodes to represent switches and stations, and each node has a unique identifier; The edge connecting two nodes represents the actual track, and each edge has a unique identifier; Agent modeling, the train is modeled as an agent model using a quaternion, expressed as a state st: (Tr, t, v, speed), where Tr is the unique identifier of the train, t, v and speed respectively represent that the train Tr is at position v and speed speed at time t; the position v is represented by a node or edge in the map; A conflict-based continuous search algorithm is used to implement multi-agent rail transit path planning, including generating corresponding constraints according to conflicts between agents, and planning paths according to the constraints, different speeds of the agents, and safe distances between different agents, wherein the multi-agent rail transit path planning is represented as state changes of all agents on a map; The method of implementing multi-agent rail transit path planning by using a conflict-based continuous search algorithm comprises the following steps: S1, receives the map model and the agent model; S2, initialize the root node of the CT tree and add it to the OPEN list; S3, plan a single train path for each agent and store the plan in the root node of the CT tree; S4, determine whether the OPEN list is empty, if so, go to S5, otherwise go to S6; S5, returning the path planning of the current node as the multi-agent rail transit path planning solution, and ending the path planning; S6, extract the CT node with the minimum cost and check whether there is a conflict among them. If there is no conflict, go to S5, otherwise go to S7; S7, select a conflict to constrain, create a CT child node with the corresponding constraint and add it to the OPEN list, and return to S4; The step of selecting a conflict to constrain includes selecting one of the two conflicting trains to generate constraints, wherein the train generating the constraints is represented as tr1 and the other train is represented as tr2. The process of generating constraints includes the following steps: S71, calculating the time difference delta=t2-t1, where t2 represents the end time of the movement of train tr2, and t1 represents the start time of the movement of train tr1; S72, determine whether delta is less than a preset precision value, if yes, stop the loop, otherwise go to S73; S73, judging whether there is a conflict between the movements of the two trains, if yes, proceed to S74, otherwise proceed to S75; S74, the movement start time of train tr1 is delayed by delta; S75, the movement start time of train tr1 is advanced by delta; S76, let delta=delta / 2; S77, determine whether the movement start time of train tr1 is later than the movement end time of train tr2. If yes, enter S78, otherwise return to S72; S78, generating constraints according to the movement start time of train tr1 at this time.

2. The multi-agent rail transit path planning method based on discrete speed and continuous time according to claim 1 is characterized in that: During the map modeling process, whether the edges between nodes are actually passable is considered, and the edges that are actually not passable are not stored in the map model.

3. The multi-agent rail transit path planning method based on discrete speed and continuous time according to claim 1 is characterized in that: The state changes include stopping and moving; The state change representing stopping is (st, [st.t, t]), which means that the train maintains the same state in the time interval [st.t, t], where t is the time when the next action of the train starting from st.v occurs, and the speed of the train is 0; The state change representing movement is (st, st.speed, st', st'.speed, [st.t, st'.t]), which means that the train moves from state st to a new state st' within the time interval [st.t, st'.t], and the speed changes from st.speed to st'.speed.

4. The multi-agent rail transit path planning method based on discrete speed and continuous time according to claim 1 is characterized in that: The S3 comprises the following steps: S31, determine the initial position, target position and initial speed of the train, represent it as the starting point node and add it to the OPEN list; S32, judging whether the OPEN list is empty, if so, returning that no planned path is found as the path planning result, otherwise, entering S33; S33, extracting the node with the minimum cost as the current node, and determining whether the current node is the end point of the train operation, if so, returning to the current planned path, otherwise entering S34; S34, generating a successor node based on the current node, wherein the successor node represents a possible next moving direction of the train at different speeds; S35, calculate the cost from the current node to the successor node, add the successor node to the OPEN list, and return to S32.

5. The multi-agent rail transit path planning method based on discrete speed and continuous time according to claim 4 is characterized in that: The calculation of the cost from the current node to the successor node is specifically as follows: when a path from the current node to a successor node is found, the cost of this path is calculated. If the cost is less than the previously recorded cost from the current node to the successor node, the cost from the current node to the successor node is updated, and the parent node of the successor node is set as the current node.

6. The multi-agent rail transit path planning method based on discrete speed and continuous time according to claim 1 is characterized in that: In S6, the conflict includes: Vertex conflict, which means two agents occupy the same node at the same time; Edge conflict, which means two agents occupy the same edge at the same time; Possible conflict means that the two edges occupied by two agents at the same time have the same node, and one of the agents moves away from the node, while the other moves towards the node.

7. The multi-agent rail transit path planning method based on discrete speed and continuous time according to claim 1 is characterized in that: In S6, the collision judgment parameter t1 and the judgment parameter t2 are calculated to detect whether there is a conflict. If both t1 and t2 are negative, it is considered that no conflict occurs. The judgment parameters are expressed as: a=v×v; b = 2(w × v); c=w×w-(r1+r2) 2 ; w = x2 - x1; v = v2 - v1; Among them, x1 and x2 represent the positions of the two trains, v1 and v2 represent the speeds of the two trains, r1 and r2 represent the collision radius of the two trains; a, b, c, w and v are all intermediate calculation parameters.