A site planning method, device, apparatus, and storage medium
By modeling the planning of underground vehicle stations in mines using genetic algorithms, the problem of planning auxiliary transportation vehicle stations in mines has been solved, and convenient and efficient station planning has been achieved. It is applicable to complex road networks and scenarios with irregular passenger travel times.
Patent Information
- Application Number
- CN202211633448.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-19
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-12-19
AI Technical Summary
Existing technologies cannot effectively solve the problem of planning auxiliary transportation vehicle stations in mines, especially when dealing with maintenance shifts with irregular closing times and frequent changes in work areas.
A genetic algorithm is used to model the station planning. By obtaining road network topology information and target passenger information, an initial station planning route is generated, and the route is iterated based on fitness until the iteration conditions are met, thereby selecting the target station planning route.
It enables convenient and efficient station planning, reduces planning difficulty, and is suitable for complex road networks and scenarios with irregular passenger travel times, especially for coal mine auxiliary transportation systems.
Smart Images

Figure CN115775059B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of artificial intelligence technology, and in particular to fields such as intelligent transportation and energy transportation. Background Technology
[0002] The establishment of stations in vehicle operation scenarios is an important aspect of intelligent transportation construction. For example, the station setup for underground mine transport buses is a crucial element of intelligent transportation construction in mines. Summary of the Invention
[0003] This disclosure provides a site planning method, apparatus, device, and storage medium.
[0004] According to a first aspect of this disclosure, a site planning method is provided, comprising:
[0005] Obtain road network topology information and target passenger information; the road network topology information includes multiple pre-specified key locations that are interconnected; the target passenger information includes: the passenger's origin and departure point and travel time;
[0006] Multiple initial site planning routes are generated to obtain an initial population including multiple initial site planning routes; the initial site planning routes include multiple pre-sorted sites, which are selected from the key locations;
[0007] The initial population is iterated based on the fitness of the planned routes at multiple initial stations to obtain the iterated population; the fitness of the planned routes at the initial stations is calculated based on the road network topology information and the target passenger information.
[0008] If the number of iterations reaches the preset number of genetic iterations, or if the fitness of the planned routes at the stations in the population after the iterations meets the fitness condition, then the planned routes at the target stations are selected from the population after the iterations.
[0009] According to a second aspect of this disclosure, a site planning apparatus is provided, comprising:
[0010] The acquisition module is used to acquire road network topology information and target passenger information; the road network topology information includes multiple pre-specified key locations that are interconnected; the target passenger information includes: the passenger's starting point and travel time;
[0011] A generation module is used to generate multiple initial site planning routes to obtain an initial population including multiple initial site planning routes; the initial site planning routes include multiple pre-sorted sites, which are selected from the key locations;
[0012] An iteration module is used to iterate the initial population based on the fitness of the planned routes at multiple initial stations to obtain an iterated population; the fitness of the planned routes at the initial stations is calculated based on the road network topology information and the target passenger information; if the number of iterations reaches a preset genetic iteration number, or the fitness of the planned routes at stations in the iterated population meets the fitness condition, then a planned route for the target station is selected from the iterated population.
[0013] According to a third aspect of this disclosure, an electronic device is provided, comprising:
[0014] At least one processor; and
[0015] A memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method described in any one of the first aspects.
[0017] According to a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are configured to cause the computer to perform the method according to any one of the first aspects.
[0018] According to a fifth aspect of this disclosure, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the method according to any one of the first aspects.
[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0020] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0021] Figure 1 This is a flowchart of a site planning method provided in an embodiment of this disclosure;
[0022] Figure 2 This is a schematic diagram of the road network topology in an embodiment of this disclosure;
[0023] Figure 3 This is another flowchart of the site planning method provided in this embodiment of the disclosure;
[0024] Figure 4 This is a flowchart of the calculation of adaptation in an embodiment of this disclosure;
[0025] Figure 5 This is a schematic diagram illustrating the application of the site planning method provided in the embodiments of this disclosure;
[0026] Figure 6 This is a schematic diagram of the structure of the site planning device provided in the embodiments of this disclosure;
[0027] Figure 7 This is a block diagram of an electronic device used to implement the site planning method of the embodiments of this disclosure. Detailed Implementation
[0028] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0029] The site planning method provided in this disclosure can be used to plan vehicle stops, such as the setting of tourist bus stops, public bus stops, and auxiliary transportation bus stops, such as coal mine underground bus stops. In the process of setting up tourist bus stops, public bus stops, auxiliary transportation bus stops, etc., according to the planned sites, the site planning method provided in this disclosure can be used to plan vehicle stops.
[0030] This disclosure provides a site planning method, including:
[0031] Obtain road network topology information and target passenger information; the road network topology information includes multiple pre-defined key locations that are interconnected; the target passenger information includes: the passenger's origin and departure point and travel time;
[0032] Multiple initial site planning routes are generated to obtain an initial population that includes multiple initial site planning routes; the initial site planning routes include multiple pre-sorted sites, which are selected from key locations;
[0033] The initial population is iterated based on the fitness of the planned routes at multiple initial stations to obtain the iterated population; the fitness of the planned routes at the initial stations is calculated based on road network topology information and passenger information.
[0034] If the number of iterations reaches the preset number of genetic iterations, or if the fitness of the planned routes at the stations in the population after iteration meets the fitness condition, then the planned routes at the target stations are selected from the population after iteration.
[0035] In this embodiment, multiple initial station planning routes are generated. Based on the fitness of the multiple initial station planning routes (calculated based on road network topology information and passenger information), the initial population is iterated to obtain an iterated population. If the number of iterations reaches the preset genetic iteration number, or the fitness of the station planning routes in the iterated population meets the fitness condition, the target station planning route can be selected from the iterated population. This eliminates the need for complex modeling, reduces the difficulty of station planning, and enables convenient station planning.
[0036] In related technologies, Method [1] proposes a method for extracting the location of road passenger bus stops based on trajectory data. This method analyzes the typical characteristics of road passenger bus stop trajectory data, uses bus trajectory data as the data source, and uses the density-based spatial clustering of applications with noise (DBSCAN) algorithm to detect the point clusters located at the stops and then extracts the location of the stops. At the same time, to address the problem of high time complexity of the DBSCAN algorithm, the algorithm is improved by establishing a grid index. The method for extracting the location of road passenger bus stops based on trajectory data proposed by Method [1] only designs and optimizes the bus stops, and optimizes the departure time part less. The stop location extraction method in this algorithm cannot be directly applied to the bus departure time model in the auxiliary transportation scenario of coal mines.
[0037] Method [2] uses the ant colony algorithm to simulate the shuttle bus route model based on traffic rules and actual conditions to calculate the shortest route and design and optimize the shuttle bus route. Method [2] proposes a route optimization method that uses the ant colony algorithm to improve the efficiency of shuttle bus operation. However, the teachers' commuting time is relatively fixed in this method. The biggest difference between this method and underground work is that underground work is divided into maintenance shifts and production shifts, and the commuting time of maintenance shifts is not fixed. Therefore, it cannot be directly applied to the scenario of coal mine auxiliary transportation system and coal industry.
[0038] Method [3] proposes a tourism route planning algorithm based on matrix factorization and ant colony algorithm. The matrix value factorization algorithm is used to calculate the user's interest in the scenic spots, and the degree of interest is used as the parameter of the ant colony algorithm to design the tourism route planning algorithm. Method [3] utilizes the distributed search, pheromone interaction, good positive feedback and robustness of the ant colony algorithm. Similar to the above site configuration algorithm, this method does not take into account the special characteristics of coal-related scenarios.
[0039] Method [4] proposes a fuzzy minimum-maximum clustering algorithm based on information entropy. It uses information entropy and the prior distribution of clustering bias in the dataset to adjust the controllability of clustering, thereby making the clustering have better adaptability. It is applied to the vehicle station configuration problem and achieves good optimization results.
[0040] Method [5] Based on the semi-supervised clustering algorithm (fuzzy c-means, FCM) of information entropy, the problem of enterprise commuter shuttle bus station configuration is solved, and a reasonable station configuration scheme based on employee residence information is determined; on this basis, the path optimization problem is solved based on the ant colony algorithm.
[0041] Methods [4] and [5] mainly use unsupervised or semi-supervised algorithms to solve the station configuration of commuter buses, and then use heuristic algorithms to solve the path optimization problem.
[0042] In summary, the relevant technologies do not provide site planning for vehicles used for auxiliary transportation in underground mining scenarios. The embodiments of this disclosure provide a site planning method that is applicable to the setting of sites in vehicle operation scenarios, especially addressing issues such as the irregular off-duty time of some maintenance shifts and the rapid changes in mining work areas in underground mines.
[0043] In addition, the embodiments of this disclosure directly use genetic algorithms for modeling and solving, and take both departure time and station settings as part of the genes in the genetic algorithm. Compared with related technical methods, the modeling ideas and methods of the embodiments of this disclosure are more intuitive and efficient.
[0044] Figure 1 A flowchart of the site planning method provided in the embodiments of this disclosure may include:
[0045] S101, obtain road network topology information and target passenger information.
[0046] The road network topology information includes multiple pre-designated key locations that are interconnected; the target passenger information includes the passenger's origin and departure point and travel time.
[0047] In this embodiment, key locations in the target environment can be predetermined, and a road network topology map can be constructed using point-to-point connections to obtain road network topology information including multiple pre-defined key locations that are interconnected. Weights are assigned to the edges of the road network topology map, and pathfinding is performed using the shortest path algorithm.
[0048] In one approach, the target environment can be manually annotated to identify key locations within the target environment in order to obtain road network topology information. These key locations can be places in the target environment suitable for vehicle parking.
[0049] For example, if the target environment is an underground coal mine, key points in the underground road network topology can be identified, and a topology map can be constructed using point-to-point connections. Key locations could be the mine entrance, work area entrance, work area exit, etc. Figure 2 This is a schematic diagram of the road network topology, where the numbers [1, 2, 3...] represent key locations, and points are connected by edges representing distances. The uppercase letters [A, B, C...] represent work areas, specifically, the areas where [A, B, C...] are located, such as the neighborhood centered on [A, B, C...].
[0050] The station planning method provided in this disclosure is applicable to scenarios where passenger information is not fixed. For example, the starting point and travel time of passengers may change over time. In such cases, passenger information at the current time can be obtained at intervals and used as target passenger information. Alternatively, passenger information can be monitored, and if passenger information changes, the changed passenger information can be obtained as target passenger information.
[0051] S102, generate multiple initial site planning routes to obtain an initial population including multiple initial site planning routes.
[0052] The initial site planning route includes multiple pre-sorted sites, which are selected from key locations.
[0053] The initial site planning route may include multiple sites that are randomly selected and ordered from multiple key locations.
[0054] In one possible approach, the number of initial site planning routes can be preset, some key locations can be randomly selected from key locations as stations, and multiple stations can be sorted based on the distance between them to obtain an initial site planning route. This process can be repeated a certain number of times to obtain the number of initial site planning routes.
[0055] In another possible approach, some key locations can be manually selected as stations and ordered. The ordered stations are then used as an initial station for route planning and input into an electronic device. The electronic device then receives the ordered stations as an initial station for route planning.
[0056] S103, based on the fitness of the planned routes at multiple initial sites, iterates the initial population to obtain the iterated population.
[0057] The fitness of the initial station planning route is calculated based on road network topology information and target passenger information.
[0058] S104. If the number of iterations reaches the preset number of genetic iterations, or the fitness of the planned route of the station in the population after iteration meets the fitness condition, then the planned route of the target station is selected from the population after iteration.
[0059] Fitness is used to indicate how well a station's planned route adapts to passengers and vehicles; it can also be understood as the degree of rationality of the planned route.
[0060] Based on the fitness of the planned routes at multiple initial sites, the planned routes at sites with high fitness are selected for subsequent iterations until the number of iterations reaches the preset number of genetic iterations, or the fitness of the planned routes at sites in the population after iterations meets the fitness condition. Then, the planned route at the target site is selected from the population after iterations.
[0061] The iteration termination condition can be understood as the number of iterations reaching the preset number of genetic iterations, or the fitness of the planned routes at the stations in the population after iterations meeting the fitness condition.
[0062] The preset number of genetic iterations can be determined according to actual needs. Fitness conditions can include reaching a preset fitness or fitness convergence.
[0063] When the number of iterations reaches the preset number of genetic iterations, the site planning route with the highest fitness can be selected from the current population as the target site planning route.
[0064] If the fitness of the planned routes at each site in the population after iteration meets the fitness condition, the planned route with the highest fitness can be selected as the target planned route from among the planned routes that meet the fitness condition.
[0065] Genetic algorithms are computational models that simulate the biological evolutionary process based on natural selection and genetic mechanisms in Darwin's theory of evolution. They are methods for searching for optimal solutions by simulating natural evolution. The main characteristics of genetic algorithms are: direct operation on structural objects without the constraints of differentiation or function continuity; inherent implicit parallelism and better global optimization capabilities; and the use of probabilistic optimization methods, which automatically acquire and guide the optimization search space without the need for predetermined rules, adaptively adjusting the search direction. In this embodiment, a genetic algorithm is used for agent modeling, specifically for site planning. Multiple initial site planning routes are generated, resulting in an initial population containing these routes. The genetic algorithm iterates based on this initial population until the iteration termination condition is met. The target site planning route is then selected from the iterated population that meets the termination condition. An initial site planning route can be understood as an agent, or as directly using the site route to be planned as a gene for optimization iteration.
[0066] In an optional embodiment, the site planning method provided in this disclosure further includes:
[0067] The initial site planning route includes multiple sequentially coded stations;
[0068] After generating multiple initial site planning routes, the sequentially ordered multiple sites included in the initial site planning routes are coded.
[0069] Thus, step S103 above may include:
[0070] Based on the fitness of the coded site planning routes, the initial population is iterated to obtain the iterated population.
[0071] In this embodiment, the station planning route may also include departure time, that is, the station planning route includes multiple stations in sequence and departure time. This embodiment of the disclosure can plan the station settings and departure time at the same time.
[0072] The encoded site planning route can be understood as an individual or chromosome in the site planning process using a genetic algorithm.
[0073] Encoding is the primary problem to be solved when applying genetic algorithms and is a key step in designing them. The encoding method affects crossover operators, mutation operators, and other methods, largely determining the efficiency of genetic evolution. In the optimization model of departure time and station settings in the coal mine auxiliary transportation scenario, the encoding actually represents the specific departure time, station name, and station order—that is, multiple stations in a specific order. Specifically, the encoding method guarantees a) completeness; soundness; and non-redundancy. The requirements for completeness, soundness, and non-redundancy are detailed in the requirements for encoding strategies in related technologies for genetic algorithms, and will not be elaborated upon here.
[0074] In this embodiment of the disclosure, after generating multiple initial site planning routes, the multiple initial site planning routes are first encoded, and the multiple encoded site planning routes are the obtained initial population.
[0075] By encoding the site planning routes into individuals processed by genetic algorithms, subsequent selection, crossover, mutation and other operations can be easily performed.
[0076] In one optional embodiment, S103 may include:
[0077] Repeat the following steps: Calculate the fitness of the planned routes for multiple stations in the current population; based on the fitness of the planned routes for multiple stations, select the planned routes for the stations to be operated on from the current population; perform crossover and mutation operations on the planned routes for the stations to be operated on to obtain the planned routes for the stations after the operation; obtain the iterative population based on the planned routes for the stations after the operation; the current population is the iterative population obtained in the previous iteration of the current iteration; the current population corresponding to the first iteration is the initial population.
[0078] Specifically, such as Figure 3 As shown, S103 may include:
[0079] S301, calculate the fitness of planned routes at multiple stations in the current population.
[0080] The specific process of calculating fitness will be described in detail below, and will not be repeated here.
[0081] S302, determine whether the iteration termination condition is met;
[0082] If the iteration termination condition is met, execute S104; otherwise, execute S303.
[0083] S303 selects the site to be operated on from the current population based on the fitness of multiple site-planned routes.
[0084] This can also be understood as performing a selection operation on the current population.
[0085] Selection is a crucial element of genetic algorithms. It determines which individuals are selected from the parent population to be passed on to the next generation. Selection is used to identify recombinant or crossover individuals and how many offspring the selected individuals will produce.
[0086] In this embodiment of the disclosure, it is desirable to preserve the station setting plan and departure time with high transportation efficiency as much as possible. Therefore, in the selection of agents, the optimal retention strategy can be selected, such as first performing the selection operation of the genetic algorithm according to the roulette wheel selection method, and then completely copying the structure of the individual with the highest fitness in the current group to the next generation group, that is, the group after iteration. The roulette wheel selection method can be referred to in related technologies and will not be described in detail here.
[0087] In one possible implementation, for multiple stations included in the current population, the selection probability of the planned route is calculated based on the fitness of the planned route; in response to the selection probability satisfying a preset threshold, the planned route of the station whose selection probability satisfies the preset threshold is selected from the current population as the planned route of the station to be operated.
[0088] The preset threshold can be determined according to the actual situation, such as 0.7, 0.8, etc.
[0089] By calculating the probability of a site's planned route being selected based on its fitness, we can select the site planned routes that will enter the subsequent iteration population based on their fitness, thereby increasing the iteration rate and quickly obtaining the target site planned routes that meet the conditions.
[0090] The probability of selecting a planned route for a site can be calculated using the following formula;
[0091]
[0092] Among them, P k F is the probability of choosing route k for station planning. k Let k be the fitness of the planned route at the station, and m be the number of planned routes at the stations in the population after the iteration.
[0093] S304, cross operation.
[0094] Crossover refers to the exchange of some genes between two paired chromosomes in a certain way, thereby forming two new individuals, or chromosomes.
[0095] For example, in this embodiment of the invention, after multiple stations in the station planning route are encoded, their performance in the population can be understood as a chromosome composed of multiple genes. A chromosome can be understood as a gene sequence or a chromosome encoding string. Exchanging some genes in two chromosomes means exchanging stations in the two station planning routes. The exchange method can be exchanging genes at preset positions. For example, station planning route 1 includes station 1, station 2, and station 3, and station planning route 2 includes station 4, station 5, and station 6. Chromosome 1 corresponding to station planning route 1 includes gene 1 (the gene corresponding to station 1), gene 2 (the gene corresponding to station 2), and gene 3 (the gene corresponding to station 3). Chromosome 2 corresponding to station planning route 2 includes gene 4 (the gene corresponding to station 4), gene 5 (the gene corresponding to station 5), and gene 6 (the gene corresponding to station 6). Crossover operation between chromosome 1 and chromosome 2 can be performed by exchanging genes at the second position on the gene sequence, that is, exchanging station 2 in station planning route 1 with station 5 in station planning route 2, to obtain a new individual, that is, a chromosome including gene 1, gene 5, and gene 3, and a chromosome including gene 4, gene 2, and gene 6.
[0096] In this embodiment, a uniform crossover method can be used to exchange gene codes between individuals. In the station setting section, this means that some stations on a planned route of one station can be replaced with some stations on a planned route of another station. As for the departure time crossover operation, it means that the departure times of the two planned routes can be averaged.
[0097] S305, mutation operation.
[0098] The mutation operation in genetic algorithms refers to replacing genes at certain loci in a chromosome's coding sequence with other alleles at those loci, thereby forming new individuals. In the station setting section, a certain station is replaced with another station based on probability. In the departure time section, the departure time is adjusted up or down by a certain number of minutes after the crossover of two gene sequences, such as 5 minutes, 10 minutes, etc.
[0099] In one possible implementation, at least one station in the planned route of one station to be operated is exchanged with at least one station in the planned route of another station to be operated to obtain the planned route of the station to be operated after cross-operation; at least one station in the planned route of the station to be operated after cross-operation is replaced with other stations, which are stations other than the stations in the planned route of the station to be operated after cross-operation.
[0100] This allows for convenient cross-operation and variation operations on the planned routes of the sites to be operated to obtain new planned routes for the sites.
[0101] Crossover and mutation operations are performed on the planned routes of the stations to be operated on to obtain the planned routes of the stations after the operations. The iterative population is then obtained based on the planned routes of the stations after the operations. The planned routes of the stations after the operations can be used as the iterative population.
[0102] In one possible implementation, the planned routes for the stations after the operation and the planned routes for other stations are combined into an iterative population, wherein the planned routes for other stations include the planned routes for stations in the current population other than the planned routes for the stations to be operated.
[0103] Return to step S301 with the iterated population as the current population, and continue to calculate the fitness of the planned routes of multiple stations in the current population until the iteration termination condition is met, that is, until the number of iterations reaches the preset genetic iteration number, or until the fitness of the planned routes of stations in the iterated population meets the fitness condition, then select the target station planned route from the iterated population.
[0104] In this embodiment, based on the fitness of the planned route at the site in the population, a new population is obtained through selection, crossover, and mutation operations of a genetic algorithm. The process is iterated until the iteration termination condition is met. The target site is selected from the population that meets the iteration technical condition, thus conveniently realizing the planning of the site.
[0105] In one possible implementation, the origin of a passenger's journey includes at least one work area where at least one passenger is located, and the journey time includes the passenger's start and / or end times.
[0106] In some scenarios, such as underground coal mines, miners' work areas change frequently, and the end time of some shifts is not fixed. When a miner acts as a passenger, it is possible to obtain information at least one work area where at least one passenger is located, the passenger's start time and / or end time at regular intervals.
[0107] In one optional embodiment, the starting point of the passenger's trip includes: at least one work area where at least one passenger is located, and the travel time includes the passenger's work start time and / or get off work end time; the station planning route also includes the departure time;
[0108] like Figure 4 As shown, calculating the fitness of planned routes based on road network topology information and target passenger information may include the following steps:
[0109] S401, using the positional relationship between at least one work area and each station in a sequence of stations, and the relationship between passenger work hours and / or get off work hours and departure times, calculate the passenger cost corresponding to the planned route at each station.
[0110] Passenger cost refers to the cost required for a vehicle to operate a route planned according to stations, which may include time cost and distance cost.
[0111] S402 uses multiple interconnected key points to calculate the distance from the starting station to the ending station of the planned route, which is used as the vehicle cost corresponding to the planned route.
[0112] Vehicle cost refers to the cost required for a vehicle to operate on a planned route according to the station, which may include distance cost, fuel cost, etc.
[0113] S403 determines the fitness level of the planned routes for stations based on passenger and vehicle costs.
[0114] In this way, by comprehensively considering passenger costs and vehicle costs in the process of calculating the fitness of the planned routes for stations, the fitness of the planned routes for stations can be accurately represented.
[0115] In one possible implementation, S403 may include:
[0116] Calculate the weighted sum of passenger costs and vehicle costs as the fitness of the planned route for each station.
[0117] Specifically, the weights of passenger costs and vehicle costs can be determined based on actual needs.
[0118] In the process of calculating the fitness of station planning routes by comprehensively considering passenger costs and vehicle costs, the calculation is conveniently completed by weighted summation, which improves the simplicity of fitness calculation while maintaining accuracy.
[0119] In one possible implementation, passenger costs include a first cost, a second cost, and a third cost;
[0120] S401 may include:
[0121] For each work area, calculate the sum of the distances between each work area and its corresponding nearest station as the first cost; calculate the sum of the travel distances for each passenger as the second cost; calculate the alighting time based on the departure time and the distance between the originating station and each nearest station, and calculate the passenger waiting time using the alighting time and the passenger's work start time; and / or calculate the boarding time based on the passenger's get off work finish time and the distance between the destination station and each nearest station, and calculate the passenger waiting time using the boarding time and the departure time as the third cost.
[0122] Specifically, for each work area, calculating the sum of the distances between each work area and its corresponding nearest station can include:
[0123] For each work area, the distance between the work area and each station included in the planned route is calculated. The station with the shortest distance is identified as the nearest station for that work area. The distance between the work area and its nearest station is then calculated. The distance between each work area and its nearest station is summed to obtain the sum of the distances between each work area and its nearest station. The distance from a work area to a station can be calculated as the distance between the center point of the work area and the station. This embodiment does not limit the method of calculating the distance between work areas and stations.
[0124] For example, given work areas A, B, and C, and a planned route including stations 1, 2, 3, 4, and 5, comparing the distances of work area A to stations 1, 2, 3, 4, and 5, we find that station 1 is the closest station to work area A. Similarly, comparing the distances of work area B to stations 1, 2, 3, 4, and 5, we find that station 2 is the closest station to work area A. Likewise, comparing the distances of work area C to stations 1, 2, 3, 4, and 5, we find that station 3 is the closest station to work area A. Finally, summing the distances between work area A and station 1, work area B and station 2, and work area C and station 3 gives us the sum of the distances between each work area and its corresponding closest station.
[0125] Calculating the sum of the travel distances for each passenger can include:
[0126] The sum of the travel distances of all passengers in all work areas is the sum of the travel distances of each individual passenger.
[0127] For example, in a coal mine commuting scenario, the shuttle bus's starting point is the mine entrance. In this scenario, all passengers (workers from different work areas) board the bus at the starting point, i.e., the mine entrance. Workers from different work areas disembark at different stops. If workers from work area A disembark at stop 1, then the number of workers in work area A multiplied by the distance from the starting point to stop 1 gives the travel distance for passengers in work area A. If workers from work area B disembark at stop 2, then the number of workers in work area B multiplied by the distance from the starting point to stop 2 gives the travel distance for passengers in work area B. If workers from work area C disembark at stop 3, then the number of workers in work area C multiplied by the distance from the starting point to stop 3 gives the travel distance for passengers in work area C. Summing up the travel distances of passengers from all work areas gives the sum of the travel distances for each individual passenger.
[0128] In a coal mine, the shuttle bus's final stop is the mine entrance. Workers from different work areas board the bus at different stops and disembark at the final stop, the mine entrance. For example, if workers from work area A board at stop 1, the number of workers in work area A multiplied by the distance from stop 1 to the final stop equals the travel distance for each worker in work area A. Similarly, if workers from work area B board at stop 2, the same applies. Likewise, if workers from work area C board at stop 3, the same applies. Summing up the travel distances for all workers in work area C gives the total travel distance for each individual worker.
[0129] This includes calculating the alighting time based on the departure time and the distance between the originating station and other stations, and calculating the passenger waiting time using the alighting time and the passenger's commute time. This can include:
[0130] Workers in different work areas will disembark at different stops, meaning they will have different disembarkation times. For example, if workers in work area A disembark at stop 1, the travel time for passengers in work area A is calculated based on the distance from work area A to stop 1. The departure time plus the travel time gives the passenger's disembarkation time. The disembarkation time plus the passenger's start time gives the waiting time. The number of workers in work area A multiplied by this waiting time gives the passenger waiting time for work area A. The passenger waiting time for each work area can be obtained by calculating the passenger waiting time for work area A. The sum of the passenger waiting times for each work area gives the total passenger waiting time, which is the third cost. In one approach, it can be assumed that the vehicle travels at a constant speed; then, dividing the distance from work area A to stop 1 by the constant speed gives the passenger's travel time. This embodiment of the disclosure does not limit the method for calculating passenger travel time based on the distance from the work area to the stop; it can be determined according to the actual situation.
[0131] The fitness function primarily judges an individual's fitness based on their characteristics; it is also called an evaluation function and is a standard used to distinguish between good and bad individuals in a group based on the objective function. In this embodiment, the fitness function is a weighted sum of multiple indicators. Indicator 1 is the sum of distances from the miner's working face to the nearest station. This indicator calculates the total walking distance of the workers, i.e., the sum of distances between each work area and its corresponding nearest station. Indicator 2 is the shuttle bus travel distance, i.e., the distance from the starting station to the ending station of the planned route. This indicator calculates the shuttle bus fuel consumption; the longer the distance, the higher the fuel consumption. Indicator 3 is the worker's travel distance from boarding to alighting. This indicator calculates the sum of the worker's travel distance to prevent detours; it is the sum of the travel distances of all passengers. Indicator 4 is the total worker waiting time, i.e., the passenger waiting time. This indicator prevents excessively long waiting times for miners and optimizes departure times.
[0132] This embodiment calculates passenger costs from multiple perspectives, which can more comprehensively consider the passenger costs brought about by stations and departure times in the station planning route, improve the accuracy of the determined passenger costs, and thus improve the accuracy of the suitability of the determined station planning route.
[0133] This disclosure uses a single genetic algorithm model in a heuristic algorithm to model station settings and departure times holistically, avoiding the problem of excessively long solution times caused by mixing multiple models. Compared with related technologies, this disclosure uses a genetic algorithm to uniformly model departure times and station settings, making it suitable not only for problem scenarios such as tourist station settings and traditional shuttle bus station settings, but also for coal mine auxiliary transportation scenarios with variable get off work hours and rapid changes in work areas. In other words, the station planning method provided by this disclosure can be applied to transportation station setting scenarios, and is particularly suitable for the coal industry and coal mine auxiliary transportation scenarios.
[0134] The station planning method provided in this disclosure can provide departure times end-to-end and can set specific stations. The following is a detailed description using a coal mine auxiliary transportation scenario as an example.
[0135] This disclosure addresses the challenges in coal mine auxiliary transportation scenarios, such as complex road network information, inconsistent shift end times, and rapid changes in work areas. It proposes a genetic algorithm-based method for planning bus stops and departure times. The planning objective is to obtain suggested stop locations and recommended bus departure times, i.e., multiple stops and departure times in a specific order.
[0136] Assuming that the speeds of various transport vehicles underground do not fluctuate significantly, it can be assumed that the mine cars move at a constant speed underground. Secondly, all roads are two-way lanes, supporting mine cars to turn around and temporarily stop at key nodes. Finally, there are no decimal point differences in the input data table, meaning that 100.1 and 100.2 in the initial data are the same point. This assumption ensures the conversion of basic data information and the normal use of the road network topology. For the road network topology information, it is first necessary to determine the key points in the underground road network topology, construct a topology graph by connecting points, assign weights to the edges of the road network topology, and perform pathfinding using the shortest path. The road network topology graph is shown in Figure 2 above.
[0137] In simple terms, this embodiment of the disclosure inputs the underground transportation network topology information. Secondly, it requires inputting worker-related information such as the number of miners, their work areas, and their commuting times for the next time period, i.e., target passenger information. Additionally, the distance between each work area and its nearest station can be calculated and saved. During the station planning process, these distances, the network topology information, and the target passenger information are used as input to the algorithm to iterate the station planning route. After several generations of selection, crossover, and mutation operations using a genetic algorithm, a solution for station settings and departure times is obtained, i.e., the determined station planning route. This can include multiple stations in sequence and departure times. The distance between each work area and its nearest station can be understood as station information, which may also include the location information of each station. The station planning process in this embodiment of the disclosure can be understood as a station planning model based on a genetic algorithm, such as... Figure 5 As shown, the model input includes road network topology information, passenger information (such as absenteeism information), and station information. Specifically, this information is used in the process of initializing the population and calculating the fitness of the planned routes at each station. This can be understood as obtaining this information during the station planning process and executing steps S501: encoding; S502: initializing the population and evaluating the fitness of individuals within the population; S503: determining whether the iteration termination condition is met; if not, executing step S504: selection operation; S505: crossover operation; S506: mutation operation; if yes, executing step S507: obtaining the station plans and departure times. The process from S502 to S506 can be understood as the evolutionary process of a genetic algorithm. The fitness of each individual in the initial population, i.e., the encoded planned routes at each station, is calculated. Based on this fitness, selection, crossover, and mutation operations are performed on the initial population to obtain the iterated population. The same operations as on the initial population are performed on the iterated population, and this process is repeated until the iteration termination condition is met, resulting in the target station planned routes, departure times, and station settings plan. The specific calculation of fitness, the selection operation based on the fitness of the current population, and the subsequent crossover and mutation operations have been described in detail in the above embodiments, and will not be repeated here.
[0138] In one example, from a qualitative perspective, the embodiments of this disclosure can achieve automatic planning of departure time and station settings; from a quantitative perspective, after the model training is stable, the shuttle bus travels a distance of 22km, the total walking distance for workers is 31m, and the total travel distance for workers by bus is 3401m.
[0139] This disclosure also provides a site planning device, such as... Figure 6 As shown, it may include:
[0140] The acquisition module 601 is used to acquire road network topology information and target passenger information; the road network topology information includes multiple pre-specified key locations that are interconnected; the target passenger information includes: the passenger's origin and departure point and travel time;
[0141] The generation module 602 is used to generate multiple initial site planning routes to obtain an initial population including multiple initial site planning routes; the initial site planning routes include multiple pre-sorted sites, and the sites are selected from key locations;
[0142] The iteration module 603 is used to iterate the initial population based on the fitness of the planned routes at multiple initial stations to obtain the iterated population. The fitness of the planned routes at the initial stations is calculated based on the road network topology information and the target passenger information. If the number of iterations reaches the preset number of genetic iterations, or the fitness of the planned routes at the stations in the iterated population meets the fitness condition, then the planned route at the target station is selected from the iterated population.
[0143] Optionally, the iteration module 603 is specifically used to repeatedly execute the following steps: calculate the fitness of multiple planned routes at multiple stations in the current population; based on the fitness of the planned routes at multiple stations, select planned routes at stations to be operated from the current population, perform crossover and mutation operations on the planned routes at stations to be operated to obtain the planned routes at stations after operation, and obtain the iterated population based on the planned routes at stations after operation. The current population is the iterated population obtained in the previous iteration of the current iteration, and the current population corresponding to the first iteration is the initial population.
[0144] Optionally, the iteration module 603 is specifically used to plan routes for multiple stations included in the current population, calculate the selection probability of the planned route based on the fitness of the planned route; and in response to the selection probability meeting a preset threshold, select the planned route of the station whose selection probability meets the preset threshold from the current population as the planned route of the station to be operated.
[0145] Optionally, the iteration module 603 is specifically used to exchange at least one station in the planned route of one station to be operated with at least one station in the planned route of another station to be operated, to obtain the planned route of the station to be operated after the cross operation; and to replace at least one station in the planned route of the station to be operated after the cross operation with other stations, wherein the other stations are stations other than the stations in the planned route of the station to be operated after the cross operation.
[0146] Optionally, the origin and destination of a passenger's journey may include: at least one work area where at least one passenger is located, and the travel time may include the passenger's start and / or end times; the planned route may also include the departure time.
[0147] The iteration module 603 is specifically used to calculate the passenger cost corresponding to the station planning route by utilizing the positional relationship between at least one work area and each station in a sequence of multiple stations, and the relationship between passenger work hours and / or get off work hours and departure times; to calculate the distance from the starting station to the ending station of the station planning route using multiple interconnected key points, as the vehicle cost corresponding to the station planning route; and to determine the fitness corresponding to the station planning route based on the passenger cost and vehicle cost.
[0148] Optionally, the iteration module 603 is specifically used to calculate the weighted sum of passenger costs and vehicle costs as the fitness of the planned route at the station.
[0149] Optionally, passenger costs include a first cost, a second cost, and a third cost;
[0150] The iterative module 603 is specifically used to calculate, for each work area, the sum of the distances between each work area and the nearest station corresponding to each work area as the first cost; calculate the sum of the travel distances of each passenger as the second cost; calculate the alighting time based on the departure time and the distance between the starting station and each nearest station, and calculate the passenger waiting time using the alighting time and the passenger's work time; and / or calculate the boarding time based on the passenger's get off work time and the distance between the destination station and each nearest station, and calculate the passenger waiting time using the boarding time and the departure time as the third cost.
[0151] Optionally, the device further includes:
[0152] The coding module is used to encode the multiple stations in sequence included in the initial site planning route;
[0153] The iteration module 603 is specifically used to iterate the initial population based on the fitness of the coded site planning routes to obtain the iterated population.
[0154] The collection, storage, use, processing, transmission, provision, and disclosure of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0155] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0156] Figure 7A schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0157] like Figure 7 As shown, device 700 includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 702 or a computer program loaded from storage unit 708 into random access memory (RAM) 703. RAM 703 may also store various programs and data required for the operation of device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via bus 704. Input / output (I / O) interface 705 is also connected to bus 704.
[0158] Multiple components in device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of monitors, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0159] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as site planning methods. For example, in some embodiments, the site planning method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the site planning method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the site planning method by any other suitable means (e.g., by means of firmware).
[0160] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0161] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0162] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0163] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0164] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0165] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0166] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0167] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A site planning method applicable to the coal industry and coal mine auxiliary transportation scenarios, comprising: Obtain road network topology information and target passenger information; The road network topology information includes multiple pre-designated key locations that are interconnected; The target passenger information includes: the passenger's starting point and travel time; the key location is a suitable place for vehicle parking; the starting point is a dynamically changing work area, and the travel time is not fixed. Multiple initial site planning routes are generated to obtain an initial population including multiple initial site planning routes; the initial site planning routes include multiple pre-sorted sites, which are selected from the key locations; The initial population is iterated based on the fitness of the planned routes at multiple initial stations to obtain the iterated population; the fitness of the planned routes at the initial stations is calculated based on the road network topology information and the target passenger information. If the number of iterations reaches the preset number of genetic iterations, or if the fitness of the planned routes at the stations in the population after the iterations meets the fitness condition, then the planned routes at the target stations are selected from the population after the iterations; the planned routes at the target stations include multiple stations in order and departure times. The step of iterating the initial population based on the fitness of the planned routes at multiple initial stations to obtain an iterated population includes: repeatedly executing the steps: calculating the fitness of the planned routes at multiple stations in the current population; selecting planned routes at stations to be operated from the current population based on the fitness of the planned routes at multiple stations; performing crossover and mutation operations on the planned routes at stations to be operated to obtain planned routes at stations after operation; and obtaining an iterated population based on the planned routes at stations after operation. The current population is the iterated population obtained in the previous iteration of the current iteration, and the current population corresponding to the first iteration is the initial population. The starting point of the passenger's trip includes: at least one work area where at least one passenger is located; the travel time includes the passenger's work start time and / or get off work end time; the planned route at the station also includes the departure time. The calculation of the fitness of planned routes at multiple stations in the current population includes: For each work area, the sum of the distances between each work area and its nearest corresponding station is calculated as the first cost; the sum of the travel distances for each passenger is calculated as the second cost; based on the departure time and the distance between the starting station and each nearest station, the alighting time is calculated, and the passenger waiting time is calculated using the alighting time and the passenger's work start time; and / or based on the passenger's get off work finish time and the distance between the destination station and each nearest station, the boarding time is calculated, and the passenger waiting time is calculated using the boarding time and the departure time, as the third cost; passenger cost represents the cost required for the vehicle to operate according to the planned route at each station, including the first cost, the second cost, and the third cost; Using the interconnected key points, the distance from the starting station to the ending station of the planned route is calculated, which is used as the vehicle cost corresponding to the planned route. Based on the passenger cost and the vehicle cost, the fitness of the planned route for the station is determined.
2. The method according to claim 1, wherein, The step of selecting sites to be operated on from the current population and planning routes includes: For multiple stations included in the current population, a route is planned, and the selection probability of the planned route is calculated based on the fitness of the planned route at each station. In response to a selection probability that meets a preset threshold, a site planning route that meets the preset threshold is selected from the current population as the site planning route to be operated.
3. The method according to claim 2, wherein, The step of performing cross-operation and mutation operations on the planned route of the station to be operated to obtain the planned route of the station after operation includes: Exchange at least one station in the planned route of one station to be operated with at least one station in the planned route of another station to be operated to obtain the planned route of the station to be operated after cross operation. Replace at least one station in the planned route of the stations to be operated after the cross operation with other stations, wherein the other stations are stations other than those in the planned route of the stations to be operated after the cross operation.
4. The method according to claim 1, wherein determining the fitness of the planned route at the station based on the passenger cost and the vehicle cost includes: Calculate the weighted sum of the passenger cost and the vehicle cost as the fitness of the planned route for the station.
5. The method according to claim 1, further comprising: The initial site planning route includes a series of sequentially ordered stations that are coded. The fitness of the route planning based on multiple initial stations is used to iterate the initial population to obtain the iterated population, which includes: Based on the fitness of the coded site planning routes, the initial population is iterated to obtain the iterated population.
6. A site planning device, applicable to the coal industry and coal mine auxiliary transportation scenarios, comprising: The acquisition module is used to acquire road network topology information and target passenger information; The road network topology information includes multiple pre-designated key locations that are interconnected; The target passenger information includes: the passenger's starting point and travel time; the key location is a suitable place for vehicle parking; the starting point is a dynamically changing work area, and the travel time is not fixed. A generation module is used to generate multiple initial site planning routes to obtain an initial population including multiple initial site planning routes; the initial site planning routes include multiple pre-sorted sites, which are selected from the key locations; An iteration module is used to iterate the initial population based on the fitness of the planned routes at multiple initial stations to obtain an iterated population. The fitness of the planned routes at the initial stations is calculated based on the road network topology information and the target passenger information. If the number of iterations reaches a preset genetic iteration number, or the fitness of the planned routes at the stations in the iterated population meets the fitness condition, then a target station planned route is selected from the iterated population. The target station planned route includes multiple stations in sequence and departure times. Specifically, the iteration module is used to repeatedly execute the following steps: calculate the fitness of multiple planned routes at multiple stations in the current population; based on the fitness of the multiple planned routes at multiple stations, select planned routes at stations to be operated from the current population, perform crossover and mutation operations on the planned routes at stations to be operated to obtain the planned routes at stations after operation, and obtain the iterated population based on the planned routes at stations after operation, wherein the current population is the iterated population obtained in the previous iteration of the current iteration, and the current population corresponding to the first iteration is the initial population; The starting point of the passenger's trip includes: at least one work area where at least one passenger is located; the travel time includes the passenger's work start time and / or get off work end time; the planned route at the station also includes the departure time. The calculation of the fitness of multiple station-planned routes in the current population includes: for each work area, calculating the sum of the distances between each work area and its corresponding nearest station as a first cost; calculating the sum of the travel distances of each passenger as a second cost; calculating the alighting time based on the departure time and the distance between the starting station and each nearest station, and calculating the passenger waiting time using the alighting time and the passenger's work start time, and / or calculating the boarding time based on the passenger's get off work finish time and the distance between the destination station and each nearest station, and calculating the passenger waiting time using the boarding time and the departure time as a third cost; passenger cost represents the cost required for the vehicle to operate according to the station-planned route, including the first cost, the second cost, and the third cost; using the multiple interconnected key points, calculating the distance from the starting station to the destination station of the station-planned route as the vehicle cost corresponding to the station-planned route; and determining the fitness corresponding to the station-planned route based on the passenger cost and the vehicle cost.
7. The apparatus according to claim 6, wherein, The iterative module is specifically used to plan routes for multiple stations included in the current population, calculate the selection probability of the planned route based on the fitness of the planned route, and select the planned route of the station with the selection probability satisfying the preset threshold from the current population as the planned route of the station to be operated.
8. The apparatus according to claim 7, wherein, The iterative module is specifically used to exchange at least one station in the planned route of one station to be operated with at least one station in the planned route of another station to be operated, to obtain the planned route of the station to be operated after the cross operation; and to replace at least one station in the planned route of the station to be operated after the cross operation with other stations, wherein the other stations are stations other than the stations in the planned route of the station to be operated after the cross operation.
9. The apparatus according to claim 6, wherein the iteration module is specifically configured to calculate the weighted sum of the passenger cost and the vehicle cost as the fitness of the planned route at the station.
10. The apparatus of claim 6, further comprising: The encoding module is used to encode the multiple stations in sequence included in the planned route. The iteration module is specifically used to iterate the initial population based on the fitness of the encoded site planning routes to obtain the iterated population.
11. An electronic device, comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-5.
13. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-5.
Citation Information
Patent Citations
Vehicle path selecting method
CN106951981A
Multi-starting and -ending point multi-vehicle-type hybrid customized bus route planning method
CN107330559A
Path planning method and device for commuting bus management
CN113537546A
