Dynamic coordinated strategy for parking guidance in a mixed driving parking lot involving human-driven and autonomous vehicles

: The advent of autonomous vehicles (AVs) poses challenges to parking guidance in mixed driving scenarios involving human-driven vehicles (HVs) and AVs. This study introduced a dynamic and coordinated strategy (DCS) to optimize parking space allocation and path guidance within a mixed driving parking lot, aiming to enhance parking-cruising efficiency. DCS considers the distinctive characteristics of HVs and AVs and dynamically formulates parking guiding schemes based on real-time conditions. The strategy encompasses four main steps: Triggering scheme formulation, identifying preoccupied parking spaces, updating the parking lot traffic network and optimizing the vehicle-path-space matching scheme. A programming model was established to minimize the total remaining cruising time


Introduction
Parking cruising refers to the process of searching for an available parking space after a traveler has arrived at their destination or its vicinity by vehicle.Extensive research has been conducted by numerous scholars on vehicular parking cruising in urban roadways across various regions and times, with durations typically ranging between 0.5 and 16 minutes.The proportion of cruising traffic can reach up to 74% [1][2][3].However, there have been few studies focused on vehicular cruising within parking facilities.Based on our investigation during peak hours at a large-scale parking lot (the same as the one introduced in Section 5.2), it was found that on average, each entering vehicle cruised 49% more distance than the shortest path to reach its final parking space.Some vehicles even needed to travel over 600 meters extra, despite already being inside the parking facility.
Therefore, parking cruising is often assisted by parking guidance and information systems (PGISs) in numerous parking lots [4,5].These systems serve as bridges between parking lots and vehicles, offering drivers long-range information to assist them in navigating suitable paths toward available parking spaces.
The development of autonomous vehicles (AVs) may bring transformative changes to road traffic, including parking.With the autonomous valet parking function, high-level AVs can independently complete parking-cruising without drivers [6,7].This change transforms the role of PGIS from advisor to commander.
As it is unlikely that human-driven vehicles (HVs) will disappear entirely in the coming decades, the mixed driving scenario of HVs and AVs is a research topic that combines foresight and practicality [8,9].Traditional PGISs in parking lots have limited ability to detect real-time vehicle movements, providing only one-way information about available spaces to vehicles [10].However, in a new mixed driving scenario with both HVs and AVs, the operation and management of parking lots face new situations [11][12][13]: 1) For HVs, human drivers still can independently choose their paths and parking spaces based on the guidance provided by PGIS.It can use advanced sensing devices to grasp real-time information about HVs and provide conditional data for the optimization of all vehicles' operations.
2) For AV s, PGIS will command AV to operate accordingly through the mutual transmission of information, without the autonomous consciousness of the driver and disobedience to the command.
In the new mixed driving scenario, PGIS should allocate spaces and guide paths based on realtime detection of vehicles, parking spaces and lanes.This enables comprehensive optimization, providing direct decision support for HV drivers and AVs and enhancing parking-cruising efficiency.
The essence of parking guidance is a dynamic resource assignment (DRA) problem [14].However, existing research and testing systems often treat real-time parking guidance as an independent and one-time task.In other words, their approach involves allocating parking spaces or planning paths for vehicles upon their entry into the parking lot (Figure 1(a)) [15,16].This approach, called single formulating strategy (SFS), is feasible assuming full compliance with guidance and a static status of the parking facility throughout the parking-cruising process.However, SFS has limitations due to potential guidance violations by drivers [17] and dynamic updates of multiple elements within the parking lot, which may render the original scheme invalid or suboptimal.
As shown in Figure 1(b), HV B enters the parking lot after AV A. However, Vehicle B deviates from its scheduled path manually, indicating a high likelihood of ultimately occupying Parking Space 3. If Vehicle A continues cruising to Space 3 according to the original scheme, it not only forces Vehicle B to detour further in search of an alternative available space, but also blocks B's pathway through the lane near Space 3, significantly increasing the total cruising duration.To avoid such problems, dynamically reallocating Vehicle A to Space 1 and rendering Space 3 available for Vehicle B would present a better solution.Moreover, SFS is unable to promptly utilize newly available spaces resulting from vehicle departures for vehicles that have already started cruising in the parking lot.
In addition, coordination among multiple vehicles is crucial in dynamically changing scenarios.SFS assumes that the guiding scheme for vehicles already in the parking lot remains unchangeable when planning for a newly arriving vehicle, potentially leading to missing the globally optimal solution.As illustrated in Figure 1(c), the leading Vehicle A needs to block the lane to reverse into Parking Space 1.If Vehicle B is allocated to Space 2 by the SFS-based PGIS, it will encounter obstruction while passing through Space 1, resulting in an obvious delay.Even with the consideration of lane blocking, the PGIS employing SFS can only allocate Vehicle B to Space 3.However, if PGIS can coordinate among multiple vehicles, Vehicle A could be reassigned to Space 2 while Space 1 could be reserved for Vehicle B, achieving the globally optimal total parking-cruising duration of both vehicles.Therefore, in a mixed driving parking lot, it is necessary to focus on the dynamic and coordinated adjustment of parking space allocation and path guidance schemes for all cruising vehicles that have not yet parked inside the parking lot (Figure 2).This study aims to propose a dynamic and coordinated strategy (DCS) for parking space allocation and path guidance in a parking lot under the possible future scenario of mixed driving.Based on real-time sensing and estimation of the status of multiple entities, including vehicles, lanes and parking spaces, DCS will formulate, optimize and then transmit the parking guidance scheme to all cruising vehicles.It will reduce the overall parking-cruising duration through dynamic coordinated parking guidance, eliminating adverse effects and approaching the globally optimal solution.The remaining sections of this paper are organized as follows: Research on mixed driving and parking guidance strategies is reviewed in Section 2. Section 3 introduces the preparatory work revealing fundamental statements and network construction.Section 4 proposes the dynamic coordinated parking space allocation and path guidance strategy for the mixed driving parking lot.In Section 5, two case studies are conducted with computer simulation to validate the effectiveness of the proposed strategy under various conditions.Finally, conclusions are presented in Section 6.

Literature review
In this section, two closely related research streams are reviewed as follows.

Traffic management and control with mixed driving
Traffic management and control with mixed driving involving HVs and AVs is a realistic and pressing topic to study [18,19].The penetration of AVs into the traffic system can be divided into four stages: Pure HVs, HV-dominant, AV-dominant, and pure AVs [8].In the second and third stages, the presence of different types of vehicles leads to unknown and complex interactions posing significant challenges [19,20].Currently, apart from research on the physical automation of vehicles, investigations on traffic management and control with mixed driving mainly focus on microlevel aspects such as platooning [21][22][23], intersection [24,25] and lane management [11,26,27], as well as macro-level aspects such as traffic network allocation [28][29][30].Few studies specifically address mixed driving within parking lots.However, analysis approaches adopted in existing literature can be valuable references.
An important issue arises from the characteristics of HVs and AVs, specifically regarding the subjective consciousness and agency of vehicle control and the ability to comply with external information.Roughgarden and Tardos [31] highlighted the existence and severe consequences of selfish routing by HV drivers in terms of their chosen driving routes.In one case, it could result in a total delay reaching up to 4/3 times the minimum delay.This highlights the disparity between user equilibrium and system optimality, indicating the greatest distinction in decision-making between HVs and AVs.Human drivers may selfishly make choices based on their styles and preferences [32], while AVs can adhere to system-optimized instructions.
In light of this, relevant research on mixed driving has considered this.Khattak et al. [26] identified overcoming drivers' noncompliance as a key task for their lane management system.Inspired by Klein's work [33], Guo et al. [30] categorized travelers into two groups for mixed driving path allocation.In their theory, HVs do not sacrifice their interests for the sake of system but make choices with bounded rationality to satisfy their preferences.In contrast, AVs can comply with the guidance from the management system to achieve system optimality.Shi et al. [21] acknowledged that individual HVs were uncontrollable, but the collective behavior of HVs exhibits patterns and could be controlled.Therefore, they utilized the aggregation of HVs in the mixed driving vehicles with AVs to mitigate their randomness in the macroscopic characteristics.
Compared to urban road networks, intersections or public road segments discussed in the aforementioned studies, the dynamic traffic within a parking lot is relatively small.Additionally, in this study, the dynamic coordinated parking space allocation and path guidance schemes are tailored for each individual vehicle in real-time scenarios.In this context, although the group characteristics of HVs and drivers exhibit macroscopic patterns and statistical significance, in the real-time scenarios focused on in this study, probabilities manifest themselves as either not occurring at all or occurring with certainty (zero or one) in a small sample within each time slice.Hence, the macroscopic patterns and conclusions regarding driving behavior are challenging to directly apply to our dynamic strategy design.Specifically, even minor factors within a parking lot can lead drivers to make different choices, such as varying levels of driving proficiency, familiarity with the parking lot, pedestrians or temporary obstacles alongside the lanes.One imaginable scenario is that for a highly desired hot spot parking space, a slight miscalculation by one driver, such as pressing the accelerator a bit harder, could result in the vehicle quickly passing by that space and parking into another less popular space, ultimately causing a breakdown of macroscopic patterns within this particular scenario.Conversely, for the overall parking lot, the stochastic and unpredictable performance exhibited by individual vehicles will have a significant impact on other surrounding vehicles.
Furthermore, given that AVs cruising in the parking lot do not have occupants onboard, this study will prioritize HVs.This approach also represents the customary practice in situations where HVs and AVs encounter conflicts [24].When human drivers fail to comply with PGIS instructions, their behavior will be treated as a factor for dynamic coordinated decision for other cruising vehicles [25], aiming to seek optimal solutions within a controllable range.

Parking guidance and optimal operation within a parking lot
Numerous scholars have conducted research on parking guidance and optimal operation methods within a parking lot, which can be broadly categorized based on the objectives into two types.
1) When optimizing for individual parkers, the objective is to save time or costs for each individual parker within the parking lot [34].Some studies focused on cruising duration as a critical factor and used algorithms like Dijkstra, Floyd, A*, or other improved algorithms for parking space selection and path planning [35][36][37].Ata et al. [15] adopted a smart indoor parking system, searching for an available and suitable parking space for the first vehicle to arrive at the entrance in each allocation.Yu [16] and Wang [38] et al. respectively constructed time-varying road network models in HV and AV scenarios, dynamically adjusting edges' weights for shortest path calculations when one vehicle arrives.
In general, these studies focus on providing individual vehicles with optimal available parking spaces upon entry into the parking lot.PGIS functions as a personalized assistant for individual parkers, delivering customized services to each of them.
2) When optimizing the entire parking lot or multiple parkers, the objective is to improve the overall operational efficiency of all vehicles.Gai et al. [39] established a two-layer optimization model considering user and system perspectives, resulting in shorter parking-cruising durations.Chen et al. [40] developed a model for parking space allocation intending to eliminate interweaving and conflicts caused by lane blocking of vehicles entering and exiting parking spaces.Their model benefits both parkers and passer-by drivers by reducing delays.
In such studies, PGIS acts as a manager by coordinating and scheduling multiple vehicles, surpassing the individual parking users.
In summary, various methods have been employed to optimize vehicle parking, with a common objective of reducing individual or overall cruising duration.This objective reflects the convenience for parkers and the operational efficiency of parking facilities, and can further extend to considerations of energy consumption, pollution emissions and other related aspects.In our study, the objective is to minimize the remaining parking cruising duration for the entire field of vehicles, considering mixed driving characteristics and the mutual influence of vehicles on lanes.The strategy for dynamic coordinated parking space allocation and path guidance is designed accordingly.

Preparatory work
Before introducing the core strategy, it is essential to explain fundamental settings as preparatory work.

Fundamental statements and assumptions
Currently, mixed driving scenarios are in a limited testing phase, with many unknown or uncertain details.To standardize and clarify conditions for proposing the strategy subsequently, the following statements and assumptions are provided.
1) HVs receive guidance information provided by PGIS throughout the parking cruise but may deviate from the instructions.AVs strictly follow the PGIS upon entering the parking lot [11][12][13].
2) In the context of limited lane and parking space, vehicles using Ackermann steering (which is employed by the vast majority of modern cars) typically opt for reverse parking into parking spaces, including both HVs and AVs [41][42][43][44].The duration for HVs to block the lane before reversing into a parking space is an indeterminate positive value influenced by multiple factors [45].The controllers of AVs typically prescribe a stable reference longitudinal speed for cruising contingent upon specific scenarios [46].For the sake of simplification in this study, this duration is established as a constant value AV tr .
3) As this is an off-street parking lot, traffic unrelated to parking or vehicles exceeding the capacity will not enter.AV occupants disembark before entering the parking lot [46,47].HV occupants do not interfere with other vehicles' cruising after disembarking.Lanes are unobstructed, except when a vehicle reversing into a parking space blocks the lane [16].
4) As discussed in Section 2.1, in the event of a conflict between AVs and HVs, HVs have priority [24,25].

Construction of traffic network within a parking lot
The traffic network within a parking lot is constructed based on the spatial structure, with nodes representing the endpoints of lanes and the connection points of each parking space to the lanes, and edges representing the road segments between adjacent nodes, as shown in Figure 3.The nodes of parking spaces are labeled with S followed by a number.In cases of symmetrically arranged spaces on both sides of lanes, some nodes are shared by two spaces.For instance, in Figure 3, parking spaces S01 and S11 share one node on the same road segment.This node can be referred to as either S01 or S11.For constructing this traffic network, the driving velocities of all vehicles are assumed to be v .The weight of each edge is defined as the ratio of the corresponding lane length to v (i.e., the duration required for a vehicle to pass through the corresponding road segment).

Description of strategy and algorithm
A feasible process for the parking space allocation and path guidance strategy is proposed in this section.To timely improve parking-cruising efficiency, the scheme of parking space allocation and path guidance will be dynamically updated to meet the latest status.When there are parking-cruising vehicles that have not yet parked, there is a need for parking space allocation and path guidance and the strategy is in an operational state.The process of DCS in the operational state is described as four main steps and several sub-steps (Figure 4).When the necessity arises to update the parking guidance scheme, Step 1 initiates a new round of scheme formulation through conditional judgment.The subsequent three steps are then executed in sequence to derive the current optimal scheme at that moment.Step 2 focuses on the priority of HV parkers, identifying preoccupied parking spaces.Step 3 digitizes the status of various elements within the parking lot, aligning them to the traffic network.Finally, Step 4 generates the guidance scheme for all cruising vehicles through its internal iterative optimization process.From the perspective of time progression, these steps are iteratively performed to ensure that the system continually adapts to the dynamic environment and minimizes any associated losses caused by real-time changes.
Some symbols that will repeatedly appear in later sections are explained in Table 1.

. Triggering a new round of scheme formulation
Determining the beginning of a new round of scheme formulation marks Step 1 in the overall strategy.After the last round of parking space allocation and path guidance scheme is formulated, if t there are no critical events, there is no need to update the scheme.Critical events include: 1) A vehicle deviating from the scheduled path or entering an unscheduled parking space; 2) A parked vehicle leaving its parking space; 3) A vehicle entering the parking lot.
When PGIS detects such circumstances, it indicates that the previous scheme is likely no longer optimal or effective, and a new round of scheme formulation should be triggered.

Identifying the preoccupied parking space
Since the choice of parking spaces for HVs is not under control, speculating on the spaces that HV drivers may choose early on can improve the robustness of subsequent planning and reduce the risk of scheme failure.Therefore, if there are cruising HVs in the parking lot, PGIS checks whether they meet the conditions for preoccupying a parking space.
The method for Step 2, identifying preoccupied parking spaces, is as follows: Check each HV and calculate if it is approaching or moving away from each available parking space based on its current location and travel direction.If only one parking space is closer to the HV, the HV will likely occupy that space, marking it as preoccupied.Parking spaces marked as preoccupied are considered unavailable in subsequent optimization of scheme in this round, and the HV matched with a preoccupied space does not require allocation or guidance path.

Updating the parking lot network based on current status
Traffic networks should be able to accurately abstract and digitize real time traffic status.Based on the latest status within the parking lot, combined with preoccupied spaces, the edge weight and available parking space information in the parking lot traffic network at the current time is updated in Step 3. In addition, during the optimization process in Step 4, the network also needs to be updated based on the results of each iteration to prepare for the next iteration.Therefore, updating the traffic network within the parking lot needs to be repeatedly applied throughout the entire strategy.
The basic idea of updating the traffic network is to adjust edge weights and node statuses based on the given status within the parking lot.This status may be based on the current status (in Step 3) or calculated during the optimization iteration process (in Step 4).The input information for the update includes: 1) Position and remaining duration of each vehicle blocking the lane and reversing into its parking space.
2) Availability of each parking space.
3) Preoccupied parking space information of HV.
Using the above data, some attributes of edges and nodes in the traffic network within the parking lot will change.

Adjustment of edge weight
Since a vehicle reversing into a parking space will block the lane and obstruct the passage of other vehicles, the weight of the network edge corresponding to the road segment should be modified based on the estimated remaining duration of the lane blocking.According to Fundamental Assumption 2, (a) For an AV, the duration it blocks the lane while reversing is constant AV tr , so the remaining duration can be calculated based on the start time.(b) The duration that an HV blocks the lane is uncertain.To prioritize HVs (Fundamental Assumption 4), the remaining duration is set as a large positive number, represented as Big M. (c) An HV preoccupying a parking space is assumed to be reversing into the space with a remaining duration of Big M, even if it has not reached the space yet.
Suppose the remaining duration that vehicle i reversing into parking space j is denoted as ij tr , and the calculation formula for its value at time t is as follows. , if is an HV reversing into or preoccupying a space where ij st represents the moment when vehicle i starts reversing into parking space j .After calculating ij tr using the above method, the weight of either edge adjacent to node Sj is set to the remaining time ij tr .

Change of node status
This status refers to the availability of parking spaces connected to the node, rather than that in the structure of network.It means whether this node can serve as the destination of the vehicle's path and the connectivity of the network will not change due to the change in node status.Specifically, the status of parking space can be occupied, preoccupied, being entered, and available, while the status of a node can be available or unavailable.Therefore, the following criteria need to be considered: Criterion 1.If all parking spaces connected to a node are either occupied or preoccupied, the node is marked as unavailable.
Criterion 2. Since a vehicle reversing into a parking space will block other vehicles from accessing other available spaces connected to the same node, if at least one space connected to a node is being entered, the node is marked as unavailable.
Nodes that do not meet the above criteria are marked as available.
In addition, a node will not be marked as unavailable to prevent a vehicle from being rejected to enter the parking lot.If a node is connected to more than one parking space and there is only one available space connected to the node, the node will be marked as available regardless of Criterion 2.
In conclusion, Step 3 transforms the status of on-site elements including vehicles, lanes, and parking spaces into the attributes of the traffic network.This transformation enables the convenient digitization of inputs for subsequent establishment and solving of the optimized matching model.

Optimizing vehicle-path-space matching scheme
Combining the latest traffic network and location of all parking-cruising vehicles, the parkingcruising vehicles, driving paths and available parking spaces (vehicle-path-space) matching for this round is performed in Step 4. This is the most key part of DCS and will also be expounded in detail subsequently with binary programming model and iterative optimization.After this step, an optimal parking space allocation and path guidance scheme can be obtained, which will be fed back to all cruising vehicles by PGIS.
The ultimate objective of this programming model is to allocate parking spaces to cruising vehicles and plan their paths to minimize the total remaining cruising duration of current cruising vehicles.The approach is similar to the assignment problem in operations research.In classical assignment problems, the cost matrix is fixed.However, in this study, the weight of traffic network edges changes dynamically when vehicles are guided to drive on them, which affects each other and changes the cost matrix.Therefore, this study establishes a binary programming model based on the assignment model and uses an iterative approach to search for the optimal solution.The workflow of Step 4 is depicted in the lower right section of Figure 4.

Establishing and solving the initial vehicle-path-space matching model
The purpose of the first sub-step is to obtain the initial matching results of cruising vehicles, paths, and available spaces.Assuming the current time is t and setting 0 r = , the programming model can be represented as: 1) Optimization objective Since the parking-cruising duration has already been consumed by vehicles and cannot be changed, what PGIS can do is minimizing the total remaining parking-cruising duration.We use the binary decision variable ij x to reflect whether to match the vehicle i to the parking space j .The cruising duration r ij d for vehicle i to space j can be obtained according to the parking lot traffic network.The formula can be expressed as: 2) Constraints The goal of the scheme is to match parking cruising vehicles, driving paths, and available parking spaces (Constraints a and b).Each vehicle that is cruising must match an available parking space (Constraint c), and each space can only be allocated to at most one vehicle (Constraint d).Finally, there is a constraint on the values of binary decision variables (Constraint e).

 
Combining Eqs (2) and (3), the initial matching results can be obtained by solving the model.It is possible to have multiple solutions in which the objective 0 Z achieves the same optimal value.In such a case, the solution that minimizes the changes in the vehicle-path-space matching results compared to the previous scheme is considered as the optimal solution.
At this juncture, PGIS is capable of formulating a matching scheme for parking guidance.However, this scheme may not necessarily represent the optimum solution.Therefore, subsequent substeps are required to perform optimization and adjustments.

Loading vehicles onto network
Due to the static nature of the above programming model, dynamic interaction between cruising vehicles has not been directly considered.To avoid issues such as lane blocking, it is necessary to load the vehicle on the network for testing.Assuming that each vehicle travels according to the shortest path corresponding to the matching result x obtained from previous solution based on  (6) When the iteration time r is not less than two, it is necessary to establish a termination condition after the vehicle loading test, which is vital to avoid oscillation or excessive time expenditure in pursuing negligible effects.If 2 r  and either of the following two conditions are satisfied, the iteration will terminate, resulting in the final matching result and guidance scheme at current time.Otherwise, it becomes essential to execute a subsequent iteration of the matching scheme optimization in accordance with the next sub-step, aimed at further augmenting the efficacy of scheme formulation.Condition 1.The iteration time r has reached the preset upper limit; Condition 2. The decrease rate (DR) in the overall objective function value is nonnegative and less than the preset threshold.The formula of DR is: If the iteration is judged to terminate, the current ij x will be used as the matching result between vehicles and parking spaces.The path corresponding to r ij d in network ' r G will be used as vehicle's driving path to complete the matching of vehicles-path-space at the current time.Since Step 4 is the last in the process of formulating the vehicle-parking space allocation and path guidance plan for a round, the above matching result serves as the basis for PGIS to guide or instruct vehicles at time t .

Iteratively optimizing matching scheme
If the iteration has not been terminated previously, it is necessary to perform iterative optimization for the matching scheme that exhibits poor performance after vehicle loading, aiming to obtain improved solutions.Based on the previous results, the following operations are performed to identify vehicles that require rematching in iteration: (9) A programming model is constructed to rematch parking spaces with vehicles for iterative optimization.This model needs to be executed for each vehicle with an increased cruising duration due to vehicle loading.Similar to Eq (3), the optimization objective is set to minimize the remaining parking-cruising duration.The constraints are set to establish a one-to-one match between the target vehicle and parking spaces that have not been allocated to other vehicles.Elements from set Upon completing a round of iterative solution, DCS will once again engage in the vehicle loading test and iteration termination judgment as described in the preceding section.This is to determine whether to continue with further iterations or to adopt the current iteration results.If the latter is the case, it signifies the completion of Step 4, whereby real-time parking space allocation and path guidance schemes are formulated and can be transmitted to cruising vehicles through PGIS.

Efficient calculation method for shortest path based on the parking-cruising path tree
Within the process of DCS, the calculation of the shortest path from cruising vehicles to available parking spaces plays a pivotal role in both the identification of preoccupying parking spaces in Step 2, and the optimization of the matching scheme in Step 4. It serves as a crucial data foundation in the proposed strategy.Enhancing the computation speed of the shortest path can significantly augment the overall efficiency of strategy implementation.
Observations of the construction and dynamic changes in the parking lot traffic network reveal that although edge weights and node statuses in the network undergo modifications, the connectivity of the traffic network topology remains unchanged.This provides an opportunity to reduce redundant computation of shortest paths after network updates.In a network, the shortest path tree (SPT) refers to a spanning tree of a graph wherein every tree path constitutes the shortest path.In practical applications, the SPT often requires updates to accommodate changes in the network, with edge weight modifications being one of the most fundamental scenarios [48].While recalculating the SPT entirely based on the adjusted network is a viable approach, it results in redundant and repetitive computations.This is recognized as the dynamic SPT problem, for which numerous algorithms have been proposed by scholars to provide solutions.
The ball-and-string algorithm, proposed by Narváez et al. [49], is an efficient method for solving dynamic SPT problems based on the Dijkstra algorithm.The algorithm treats network nodes as balls and edges as inelastic strings with lengths matching the edge weights.By lifting the ball representing the root node, the other balls in the network hang below it due to the gravity, connected by the strings.The hanging distance of each ball represents the shortest distance from the root node to the corresponding node, and the straightened strings represent the shortest paths.When there is a change in network edge weights, the algorithm adjusts the string lengths and observes the hanging states of balls to simulate the change in SPT.This algorithm always selects and extends the edge that leads to the minimum increase (or the maximum decrease) in path length, tending to consolidate vertices in the whole branch instead of only one vertex.Consequently, compared to other dynamic SPT algorithms, it involves significantly fewer edge changes to the existing SPT structure, thereby aiding in the maintenance of the tree's structural stability and coherence.This, in turn, culminates in enhanced overall efficiency.
The core steps of the ball-and-string algorithm include node selection, distance update and node search.If we denote the ball-and-string algorithm as a function BnS , its inputs and outputs can be expressed as In parking lot networks where edge weights dynamically change, a model can be established that transforms the problem of finding the shortest path from cruising vehicles to available parking spaces into a dynamic SPT problem, thereby reducing redundant computations.This study introduces the concept of parking-cruising path tree (PCPT) and proposes a fast computation method for determining the shortest cruising path for parking vehicles based on the ball-and-string algorithm.
In a parking lot, the starting point of a parking-cruising path is a specific point on the network where a vehicle is located, while the endpoint is a node corresponding to an available parking space.The PCPT refers to a tree structure that is constructed at a given moment, with the location of a cruising vehicle serving as the root and the nodes representing available parking spaces serving as the leaf nodes.These leaf nodes are connected to the root by the shortest paths.When one cruising vehicle is not exactly located on a network node, the position of the vehicle is defined as the "virtual root" of PCPT.The nearest node ahead of the vehicle's movement is the "real root" of the tree.As shown in Figure 5, the tree composed of green lines represents the current PCPT for the blue vehicle, marking the shortest paths to each available parking space.Since in this study the topological connectivity is not altered during the update process, the balland-string algorithm can be utilized to efficiently compute the PCPT.According to the definition, PCPT is the tree obtained by removing all sub-trees from the SPT with the same root node that do not contain any available nodes, disregarding incomplete edges between the virtual root and the real root.the previous round of scheme generation occurred at time p and the new round of generation occurs at time q , the initial ,0 node SPT values for each node in the parking lot are precomputed in the vehicle-free network.At time q , the fast computation method for updating PCPT based on ball-and-string is as the pseudocode below.
Algorithm PCPT computation for all parking-cruising vehicles , , , , , , , ,0 , , , if no available node in the subtree of ( ) ,, f i q q SPT with root j then 16 cut the whole subtree of ( )

end for
In the same way, the ' PCPT after r iterations will also be calculated based on the PCPT of previous iterations at the same time.
According to theoretical derivation by ball-and-string's proposers, this algorithm has a time complexity that, in the worst-case scenario, is no higher than that of classical algorithms such as dynamic Bellman-Ford or Dijkstra.Simulation experiments have indicated that the algorithm possesses significantly lower observed average complexity [49].In the provided PCPT computation algorithm, Lines 8 and 11 eliminate the redundant steps of recomputing the SPT from scratch by using the ball-and-string algorithm.This reduction in computation time is particularly significant for applications with a larger quantity of cruising vehicles in the parking lot with a larger-scale traffic network.This engineering significance can help improve the efficiency of guidance scheme's formulation.
In summary, with Step 1 the strategy promptly captures changes in the status of vehicles and parking spaces within the parking lot to update the scheme and adapt to the latest dynamics.Step 2 demonstrates the strategy's adaptation to HV characteristics, coordinating HVs and AVs while prioritizing human drivers.Step 3 digitizes changes in physical elements into traffic network adjustments, facilitating efficient PCPT computation.This fast solution of PCPT also provides an efficient data source for subsequent steps.Lastly, Step 4 employs iterative vehicle loading and programming models to obtain the optimal matching scheme for vehicle-path-space.This step implements dynamic allocation and coordination among vehicles, emphasizing efficient resource utilization and coordination.The aforementioned process enables effective guidance for vehicles seeking available parking spaces and optimizes overall parking management.

Case studies
Two studies are analyzed in this section: A small parking lot to illustrate the working principles and steps of DCS, and a large parking lot with a complex internal structure to verify the effectiveness of the proposed strategy.

A simple case for DCS illustration
To provide a more intuitive demonstration of the proposed parking space allocation and path guidance strategy, a parking lot with 68 spaces and a simple spatial structure is used for the first part of the case study.The internal status at time t is depicted in Figure 6.Prior to the formulation of the parking space allocation and path guidance scheme at time t , five vehicles, encompassing two HVs and three AVs are cruising within the parking lot.Among them, Vehicle B is in the process of reversing into Space S04, consequently obstructing the lane, with an anticipated remaining duration of 40 seconds.Concurrently, Vehicle E has recently entered the parking lot via the western entrance.At this juncture, the triggering criterion 3 in Step 1 is satisfied, prompting the initiation of a new round of scheme formulation.
In Step 2, the identification of preoccupied parking spaces is conducted specifically for vehicles A and E, which are HVs.It is found that Vehicle A is approaching Space S65 and is moving away from all other available spaces.Therefore, Vehicle A meets the condition for preoccupying S65.In contrast, Vehicle E cannot preoccupy any available space.Based on the results of previous steps, the traffic network is updated at time t by edge weight adjustments and node state changes in Step 3, as shown in Figure 7. Edge weights of two road segments (marked in red) are increased and some nodes are distinguished as available or unavailable.It should be noted that the unavailability of a node only means that the node cannot be used as the destination of a path guide.The PCPT of each cruising vehicle is computed with the algorithm using ball-andstring for a quick search of the shortest paths between the vehicle and available spaces.
In Step 4, the parking space allocation and path guidance scheme for Vehicles C, D and E, which have not yet found or reserved parking spaces, will be formulated based on the updated traffic network.The initial matching model will be solved in Steps 4.1 and 4.2 and the vehicle loading results are shown in Table 2.The total remaining parking-cruising time after this iteration 1 Z is 89.4 seconds.It can be seen from the table that Vehicle E has an extremely high remaining cruising duration, occupying most of the objective function.Combined with Figure 7, we can observe that part of the paths of Vehicles C and E overlap, while C starts reversing into a parking space on E's path, blocking the lane that E needs to pass through.Therefore, with the highest remaining parking-cruising duration, E is selected as 1 i .
Next, the iterative process continues.Vehicles E, D and C are sequentially substituted into model Eq (10) in descending order of i R , and the matching parking spaces and paths for these three vehicles in the second iteration are solved, as shown in Table 3.It can be seen that the objective function value 2 Z after the second iteration is significantly lower than the previous 2 Z .Although there is a slight increase in the remaining parking-cruising duration for Vehicle C, the reduction in it for Vehicle E is more noteworthy.This is attributable to the absence of vehicles obstructing the lanes of other vehicles in this scheme.Despite spatial overlaps in the paths of Vehicles C and E, C is no longer impacted by lane blocking, as it will traverse this particular location before E reaches Space S21.The total objective function value of the final scheme is 49.4 seconds, which is 40 seconds lower than the initial result.As analyzed earlier, the vehicle loading test and iterative process ensures that there are no situations where a front vehicle blocks the passage of a rear vehicle due to reversing into a parking spot and blocking a lane.In accordance with the scheme, each cruising vehicle is capable of reaching its assigned parking space without encountering any forced delays caused by other vehicles.Delays potentially arising from congestion or competition for parking spaces are circumvented through temporal or spatial allocation.This is of great significance for improving the efficiency of vehicle cruising in the parking lot.The complete process of the proposed DCS is illustrated in this section.

Analysis of DCS based on simulation of a large-scale parking lot
This study also uses a large-scale parking lot as a case to analyze the effectiveness of DCS through simulation.

Case description and data preparation
This case parking lot is derived from reality in Nanjing, China.It is affiliated with a commercial building encompassing various functionalities such as shopping, dining, entertainment and office spaces.There is a significant parking demand during both weekdays and weekends.Compared to the case in Section 5.1, this parking lot has a more complex internal structure and a larger quantity of parking spaces.
As depicted in Figure 9, this parking lot comprises two levels and accommodates a total of 576 parking spaces with two entrances.Only passenger vehicles with a capacity of no more than seven occupants or minivans are permitted to access the parking lot.All available parking spaces can accommodate vehicles of the above types.We assume that this parking lot is equipped with a PGIS integrated with DCS, which can optimize the guidance for mixed driving vehicles.To compare the optimization effect of the newly proposed DCS with that in existing research, we use SFS as the control experiment group in this study.SFS allocates parking spaces and plans routes for each vehicle based on its status when it enters the parking lot.Once the vehicle enters the parking lot, its allocated parking space and planned path will not be updated due to changes in status within the parking lot.
In addition to using SFS and DCS as controls, two variables will be set to analyze the characteristics of the proposed strategy under different conditions: 1) AV penetration rate, which refers to the proportion of AVs in mixed driving vehicles, is an important attribute of mixed driving scenarios.In the future, it is foreseeable that the proportion of AVs in mixed driving scenarios is expected to continuously increase.Therefore, this study will set the AV penetration rate in the simulation experiments in increments of 10% within 100%.
2) Initial saturation of the parking lot, which refers to the proportion of available parking spaces before the simulation starts, is adjusted at intervals of 10% within the range of 50 to 90%.The initial occupancy of each parking space in the parking lot will be randomly determined according to the initial saturation.
Additionally, an on-site investigation was conducted at this parking lot during a high-demand period on a weekend afternoon.The investigation encompassed the recording of vehicles entering and exiting the parking lot, as well as some characteristics of vehicular movement within the parking facility.Through tailgating and stationary surveys, data about vehicular cruising speed, paths and lane blocking within the parking lot was acquired.This information will be partially utilized in setting the parameters for the simulation.
During the three-hour simulation period, entry and exit times, as well as specific entrances and exits used by each vehicle were derived from the on-site investigations (the lowermost part of Figure 9).Within the simulation period, 676 vehicles enter and 624 vehicles exit the parking lot, ensuring relatively stable saturation.The type (AV or HV) of vehicles is randomly determined based on the preset AV penetration rate.Considering the possibility of HV drivers violating the guidance scheme provided by PGIS, a random probability between 0 and 100% is assigned to each driver for disregarding the scheme at each intersection or available parking space.Other parameters are also set regarding the on-site investigation of the case parking lot or relevant reference, as shown in Table 4.

Result analysis
For each combination of conditions, the numerical simulation program runs 10 times to eliminate random effects.First, the efficiency of updating and computing the shortest paths using PCPT was verified according to the algorithm in Section 4.5.The simulations were conducted on a computer equipped with an AMD Ryzen TM 7 3800X processor and 16GB of memory.Using the Dijkstra algorithm directly for path computation instead of PCPT resulted in an average total duration of 64.1 s for optimizing the guidance scheme in each simulation for all entering vehicles.However, when PCPT was used for fast path solving, the duration decreased to 41.7 s, representing a significant improvement.This improvement is mainly attributed to PCPT, effectively utilizing the existing network calculation results for necessary updates.
Figure 10(a) displays the simulation outcomes of the average parking-cruising duration under various combinations of initial saturation and AV penetration rate.Furthermore, to observe the degree of superiority of the DCS compared to traditional strategy, we calculated the optimization ratio (OR) using the following formula and plotted the results in Figure 10(b). where PCD and DCS ij PCD represents the average parking-cruising duration under condition of AV penetration rate i and initial saturation j , employing SFS and DCS, respectively.The calculation results of optimization ratio in Figure 10(b) show that: 1) Compared to the traditional strategy SFS, the proposed DCS can reduce the average parkingcruising duration by up to 18%, indicating a significant optimization effect under some conditions.
2) The OR varies under different conditions.DCS has a higher OR as the AV penetration rate decreases or saturation increases.Moreover, when the AV penetration rate is high, OR shows a strong negative response to it.In addition to the average cruising duration, the distribution of vehicle cruising durations can reflect the potential extreme situations caused by different strategies.For the condition where the vehicle cruising time is longer and the proposed DCS performs well, with an initial saturation of 90%, we have collected statistics on the distributing range of vehicle cruising durations (Figure 11(a)).Through each vertical line depicted in this figure, the maximum, minimum and average parking cruising durations under each condition can be observed.
It is evident that under different AV penetration rates, the proposed DCS does not have a significant impact on the minimum cruising duration of vehicles.However, it can significantly reduce the maximum value of cruising duration.That is, the phenomenon of extremely long cruising durations is eliminated.Similarly, at the initial saturation level of 90%, we compiled statistics on the average quantity of forced decelerations and stoppings per vehicle during cruising, along with the corresponding delay durations (as shown in Figure 11(b)).Please note that red represents the performance of the SFS, while blue denotes that of DCS.Solid lines correspond to the primary vertical axis on the left and dashed lines utilize the secondary vertical axis on the right.DCS is able to significantly reduce the number of forced decelerations and stoppings as well as delays experienced by vehicles.Likewise, the magnitude of reduction is generally inversely correlated with the AV penetration rate.
In connection with the ideas in DCS, the reasons for above results can be deduced.
1) The presence of human drivers in HVs is a key factor contributing to the occurrence of unpredictable events.Compared to the traditional SFS, DCS focuses more on real-time dynamic optimization to avoid the adverse consequences of HV violating the scheme.Furthermore, the concept of preoccupied parking spaces also enables AVs to avoid conflicts with HVs promptly.Therefore, the impact of noncompliant HVs on AVs' parking space allocation (for example, in Figure 1(b)) is weakened, which can highlight the effectiveness of DCS, especially when AV penetration rate is not high enough.
2) When available parking spaces are limited and multiple vehicles are cruising at the same time, DCS can dynamically update the scheme from a coordinated perspective to reduce delays.Specifically, the vehicle loading test in iterative optimization involves coordinated adjustments among multiple vehicles, which helps alleviate the phenomenon of lane blocking and reduces ineffective waiting time.
Overall, the proposed DCS is able to optimize parking space allocation and provide path guidance for mixed driving parking lots, ultimately enhancing the efficiency and performance of vehicles' parking-cruising.Compared to the existing guidance strategy, the method is particularly effective when HVs have a high share and do not fully comply with guidance, or when the parking lot with high saturation represents low fault tolerance.

Conclusions
The SFS introduced by previous studies, which only performed when vehicles entered the parking lot through the entrance, struggled to cope with the adverse consequences of HV drivers violating the induction scheme.Furthermore, it could not dynamically update the parking guidance scheme from a cooperative standpoint, thereby failing to mitigate unnecessary cruising duration and forced delay.
To overcome the above limitations and effectively deal with uncontrollable and unpredictable changes as well as multiple mixed driving vehicles cruising simultaneously, this study presented a dynamic and coordinated strategy for parking space allocation and path guidance.The process for formulating guidance schemes for HVs and AV s was designed based on real-time status inside the parking lot, consisting of four steps: Triggering scheme formulation, identifying preoccupied parking space, updating the parking lot network based on current status and optimizing the vehicle-path-space matching scheme.By cyclically executing these steps, the scheme can be dynamically updated to meet real-time status and avoid negative impacts caused by incomplete scheme execution by HVs as well as lane blocking.
Two case studies were conducted to demonstrate the effectiveness of DCS.A simple case of a small parking lot was provided to illustrate its steps.Simulation based on a large parking lot was conducted to verify and analyze the optimization effect of DCS.Through simulations under different conditions, compared to the traditional SFS, the proposed DCS was found to (a) reduce the parkingcruising duration and forced delays of vehicles, especially for those with particularly long cruising durations and (b) perform well in low AV penetration rates or high saturation statuses of parking lots.These results demonstrated DCS's superiority in dynamically formulating schemes under low fault tolerance conditions in a mixed driving parking lot.
Main contributions of this study are the following three points.1) A process was designed to allocate parking spaces and paths in a mixed driving parking lot and mitigate the adverse effects of HVs' not fully following guidance.This was achieved by updating the scheme based on real-time status and preoccupying spaces promptly.
2) The PCPT model was introduced to effectively reduce redundant computation in shortest-path solutions within the traffic network, thereby improving computational efficiency in engineering practice.
3) An objective optimization model was established based on binary programming to match cruising vehicles, paths and available parking spaces, being able to achieve the objective of minimizing the total remaining parking-cruising duration.An iterative method aligning closely with the actual vehicle operation process was proposed, which considers dynamic changes in edge weights and involves vehicle loading tests to avoid lane blocking and iteratively refine the matching solution.
Some certain limitations existing in this study can be further discussed and improved in future research.a) The current method for parking space preoccupancy is still relatively rudimentary, leading to the determination being made only when there is one available parking space left that is being approached by an HV.By studying driver behavior, the identification method for preoccupancy can be improved, enabling a more accurate and predictable formulation of guidance schemes for other vehicles.In particular, given the complexity of deciphering the decision-making mechanisms of human drivers, it is feasible to draw on emerging technologies already applied in other fields for analysis, including language models, generation constructive hyper-heuristic and others [53][54][55][56].
b) Subjective consciousness and agency of vehicle control are critical, but not the only differences between HVs and AVs.Studying the features of HVs and AVs from economic, energy and vehicle engineering perspectives can be expanded to reflect their differences in social and physical aspects in the establishment of optimization models [23].This multidimensional approach may enhance the effectiveness of parking lot management.c) This study employed a binary programming model with PCPT to solve the vehicle-path-space matching scheme.This is a relatively traditional method, advantageous for obtaining precise solutions but tends to consume excessive computational time in large networks, which is not conducive to efficient decision-making.Moreover, as scenarios expand, the quantity of involved elements and variables increases, and the back-end model may not timely assimilate all information for decision-making.The non-immediacy and uncontrollability of problems could diminish the advantages of traditional algorithms.Therefore, in future scenarios involving extremely large-scale parking facilities or urban parking lot groups, advanced optimization algorithms such as adaptive algorithms [57,58], metaheuristics [59,60] and hybrid algorithms [61,62], which have been widely applied in other fields including online learning and data science, could be applied to address distribution and scheduling issues in parking guidance.

Use of AI tools declaration
The authors declare they have not used Artificial Intelligence (AI) tools in the creation of this article.

Figure 1 .
Figure 1.Principle and two scenarios illustrating the shortcomings of SFS.

Figure 2 .
Figure 2. Working framework for PGIS in a mixed driving parking lot.

Figure 3 .
Figure 3. Sample of traffic network in a parking lot.

Figure 4 .
Figure 4. Schematic process of DCS for scheme formulation.

R
for each vehicle to reach its parking space is estimated with 0 ij d .The i corresponding to the sorted i R in ascending order are loaded onto their respective paths, and the following operations are performed: in descending order and are substituted into h , respectively.noting that the quantity of elements in r A equals the times the model is established and solved in the current iteration.Although the model may be computed multiple times, all calculations are part of the r -th iteration.Upon completion of each model solution, the parking space allocated to vehicle h is added to r J .
after updating the edge weights; original SPT represents the SPT before the edge weight updates; original G denotes a network with edge weights before updating;  represents a table containing the edges affected by weight changes and their corresponding change values.

Figure 5 .
Figure 5. PCPT of a cruising vehicle within a parking lot.

Figure 6 .
Figure 6.The structure and status within the parking lot.

Figure 8 .
Figure 8. Final parking space allocation and path guidance scheme.

Figure 9 .
Figure 9. Internal structure and vehicle entry-exit information of the large-scale parking lot.

Figure 10 .
Figure 10.Simulation results under various conditions.

Figure 11 .
Figure 11.Statistics on Cruising Duration and Forced Delay.

Table 1 .
Symbol explanation.Table of weight-adjusted edges and their change values in network 2 G relative to 1 G + δ Set of edges with increasing weight in ( ) − δ Set of edges with decreasing weight in ( ) PCPT PCPT with node ( ) , f i t as its real root after r iterations at time t ( ) x N Set of nodes in network or tree x r Z Overall objective function, representing the total remaining parking-cruising duration of all vehicles in the parking lot ij x Binary decision variable, representing whether match vehicle i with parking space j t C Set of parking-cruising vehicles at time t in the parking lot t S Set of vacant parking spaces at time t in the parking lot t G Traffic network within parking lot at time t , where 0 G is the initial network ' r G Traffic network within parking lot after r iterations, where 0 ' G is obtained from Step 3 r ij d The shortest duration from vehicle i to parking space j in network ' r G according to PCPT i R Estimated remaining parking-cruising duration for vehicle i to reach its allocated parking space r i The vehicle that experiences the longest increase in parking-cruising duration due to vehicle loading after r iterations, where 0 {} i is set to an empty set r A Set of vehicles for whose corresponding i R is no more than r J Set of parking spaces j allocated to the vehicles whose corresponding i R is greater than

Table 2 .
Results of initial matching and vehicle loading.

Table 3 .
Results of matching and vehicle loading after the second iteration.

Table 4 .
Some parameter settings in the simulation.