Abstract

The conflict between pedestrians and vehicles plays a significant role in influencing the efficiency of intersections. In turn, the effectiveness of intersections greatly affects the entire network. Statistical data indicates that up to 70% of people move in groups (such as friends, couples, or families walking together). The pedestrian group-crossing behavior, as well as an analysis of the dynamics between groups of pedestrians and vehicles at unsignalized intersections, deserves a thorough study. In this paper, a model based on the multidimensional dirty faces game is proposed to analyze the crossing behavior of pedestrians and vehicles as “rational people.” Computer simulations were performed to investigate the effect of the group size on crossing behavior and conflict risks. The relationship between heterogeneity of waiting time and walking speed is also investigated. These findings can be used to advance understanding on the “Chinese style road crossing” phenomenon and elucidate the dynamics involved.

1. Introduction

Pedestrians are among the most vulnerable road users. Traffic accidents involving pedestrians have become a major problem, especially in developing countries [1, 2]. According to a WHO’s Global status report on road safety, more than 1.2 million people die each year as a result of road traffic crashes and pedestrians make up 22% of these fatalities [3]. According to the report, the situation is worst in low-income countries, where rates are more than double those in high-income countries. There is also a disproportionate number of deaths relative to these countries’ level of motorization. Data reveals that 90% of road traffic deaths occur in low- and middle-income countries, yet these countries have just 54% of the world’s vehicles. Globally, an estimated 3% of GDP is lost to road traffic deaths and injuries [3].

With a population of more than 1.37 billion, China has her traffic characteristics. First, the existing road traffic planning may not provide adequate safety for pedestrians in some cases. Hence, mixed traffic consisting of motorized vehicles and pedestrians is ubiquitous. Second, unsignalized crosswalks widely exist in small cities and suburbs. Third, motorists are supposed to give way to pedestrians at unsignalized crosswalks, but these motorists do not always comply due to a general lack of safety consciousness [4, 5]. Hence, the crossing behavior at unsignalized crosswalks is not as straightforward as it seems. It is of utmost importance to investigate the behavior of pedestrians and vehicles [1, 610] to inform policy-makers, pedestrians, and motorists better. Many microscopic simulation models, such as the social force model [11], cellular automaton model [12], and lattice gas model [13], have been used to investigate mixed traffic flows due to their simple, easy-to-calculate, and flexible characteristics. The motion characteristics of pedestrians and vehicles are accounted for in the models mentioned above. However, pedestrians and vehicles (drivers) are more than just moving objects. They are “rational people” and their cognitive and social processes need to be properly accounted for, though not easily achieved under these existing models.

Besides motion characteristics, behavioral characteristics like the cognitive, social, or even psychological behavior need to be properly accounted for in the model, to investigate the crossing behavior of pedestrians and vehicles thoroughly. Hence, modeling the pedestrian crossing behavior from the perspective of behavioral science is an essential process. Game theory is a subject of coordination of conflicts, suitable for studying crossing behavior. Although some studies have utilized game theory to investigate the crossing behavior [1417], there are still many limitations that need to be overcome first. Most works assume that the decision-making process is a rational process, described by the prisoners’ dilemma game. That is, they have a strategy that is either cooperative or defective. However, this does not necessarily agree with the real-life scenario. Secondly, some of these works also assume static games and fail to capture the dynamic processes and interactions between pedestrians and vehicles. Finally, some of these studies assume that the interactions of the individuals are based on simple behavioral rules, and all the individuals behave homogeneously. Most importantly, these studies fail to consider the physiological and psychological characteristics of individuals, as well as the traffic environment. Pedestrians’ road crossing behavior may be influenced by many factors. These include physical environment (e.g. the number of vehicle lanes, types of street, with or without signals), road user variables (e.g. gender, age, education, income, the purpose of the trip, waiting time, attitude towards risk), and social factors (e.g. pedestrian group size at crosswalks).

It is worth noting that it has long been recognized that group behavior is not simply the sum of individual behaviors [18]. Intuitively, what we may not do as individuals; we may now do as part of a group. Human crowd dynamics has attracted the attention of researchers from many different fields. For instance, synergetics, fluid dynamics, molecular dynamics and cellular automata have all been applied to the study of social systems [1923]. Statistical data indicates that up to 70% of people move in groups [24] and this motivates our current study to investigate the pedestrian group-crossing behavior and its underlying dynamical mechanism. Moussaïd et al. [25] collected empirical data on the motion of pedestrian groups using video recordings in public areas and analyzed the organization of pedestrian social groups and their impact on the complex dynamics of crowd behavior. Zhou et al. [26, 27] examined the effects of conformity tendency on Chinese pedestrians’ intentions to cross the road in potentially dangerous situations. The results reveal that pedestrians showed greater likelihood in crossing the road when other pedestrians were crossing the road. Rosenbloom [28] reviewed the road behavior of individual pedestrians and groups of pedestrians at these intersections. Their results indicate that 13.5% of the pedestrians arriving in the red-light phase crossed the street on a red light. Faria et al. [29] investigated social information use by pedestrians at a road crossing and assessed if pedestrians followed others by analyzing their starting positions and crossing orders. Their results show that on average a person was 1.5–2.5 times more likely to cross if their neighbor had started so. Xin et al. [5, 30] proposed a cellular automata model to study the characteristics of pedestrian–vehicle mixed traffic flows at the unsignalized crosswalk. Their study shows that pedestrians cross the crosswalk in groups, and the sizes of groups follow the power law distribution.

In reality, pedestrians and vehicles have to compete for limited road resources in a road-crossing scenario and this can be modeled as a “game” between pedestrians and vehicles. Through an in-depth analysis of the interference mechanism between groups of pedestrians and vehicles at the unsignalized intersections, a dirty faces game is used in this paper to analyze the crossing behavior of pedestrians and vehicles as “rational people”. We first set up the multidimensional dirty faces game to analyze pedestrian group-crossing behavior, where a dynamic process of modeling and simulation is then proposed. This paper fills an important gap because previous work [31] only considers one pedestrian and one vehicle at an intersection only. From our simulation results, the effect of the group size on crossing behavior and conflict risks is then analyzed.

2. Multidimensional Dirty Faces Game of Pedestrian Group-Crossing Behavior

The dirty faces game is well-studied and usually found in the literature on iterated reasoning. It plays a central role in most discussions of common knowledge [32, 33]. In an early description of the problem, Littlewood describes the following situation: “three ladies (A, B and C) in a railway carriage all have dirty faces (but unable to observe their own faces) and are laughing at each other. As each lady notices that the others do not stop laughing, she infers that her own face must be dirty.” Their thought process would be like this: “if I (in this case, A) am not laughable, then B will be arguing: if I (in this case, B) am not laughable, then C will have nothing to laugh at. Since B does not so argue, I (that is, A) must be laughable.” Notice that, for A to realize this, A must think that B is rational enough to draw an inference from C, which is a subtle chain of reasoning. Readers can refer to Littlewood [34] for a detailed discussion on the dirty faces game. This logic can also be extended to an arbitrarily large number of dirty-faced ladies [34]. The dirty faces game relies on common knowledge about the fact that at least one face is dirty (which results from the public laughter) and on common knowledge of rationality [32].

In our study, we consider pedestrians and vehicle drivers as the two players of the game, where each player has two choices: strategy 1 is that the vehicle lets the pedestrian go first, and strategy 2 is that the vehicle goes first. The strategy chosen by the two players in areas of potential conflict will directly lead to the changes in intersection traffic conditions. By simple deduction, the following scenarios can be inferred.

(i) Both players choose strategy 1 (the vehicle lets the pedestrian go first); then the pedestrian decides to pass the intersection.

(ii) Both sides choose strategy 2 (the pedestrian lets the vehicle go first); then the vehicle decides to cross the intersection.

(iii) The pedestrian adopts strategy 1 and the vehicle adopts strategy 2; then the pedestrian and vehicle collide (this situation is very dangerous).

(iv) The pedestrian adopts strategy 2, while the vehicle adopts strategy 1; then both pedestrian and vehicle give way to the other (this situation is especially inefficient).

Through the above analysis, it is straightforward to see that both pedestrian and vehicle adopting strategy 1 or strategy 2 at the same time are the kind of situation that we would like to have. The key question is, how do we let pedestrian and vehicle adopt the same strategy simultaneously? The best approach is to make strategy 1 or strategy 2 becomes the common knowledge for both sides. Since both sides cannot communicate directly when they cross the road; therefore, they do not know which strategy his/her opponent will choose. At this moment, the choice between vehicle allowing the pedestrian to go first or the pedestrian allowing the vehicle to go first is not the common knowledge for both parties. Therefore, some factors that drive towards the formation of common knowledge must exist, and the signal lights in the intersection are exactly this driving factor. When the traffic light in the crosswalk turns green, the pedestrian sees that and adopts strategy 1; the vehicle also sees that and adopts strategy 1. The pedestrian also knows that the vehicle will adopt strategy 1, while the vehicle knows that the pedestrian will adopt strategy 1. The pedestrian further knows that the vehicle is aware that the pedestrian will adopt strategy 1; the vehicle also knows that the pedestrian is aware that the vehicle will adopt strategy 1 as well. At this time, “the vehicle lets the pedestrian go first” becomes common knowledge for both sides. When the traffic light turns red, the analysis is the same as what we have just discussed. The only difference is that “the pedestrian lets the vehicle go first” becomes common knowledge for both sides at this time.

Since unsignalized crosswalks are ubiquitous in small cities in China, we now focus on the formation processes of common knowledge at these unsignalized crosswalks. Bayer et al. concluded that three elements are needed to form the common knowledge: (i) each player should generate a dominant strategy first, (ii) each player can assess and analyze the dominant strategy of the others, and (iii) each player can announce the dominant strategy of their own immediately. In order to obtain common knowledge at unsignalized intersections, pedestrian and vehicle usually produce and announce the dominant strategy of their own first according to the traffic condition and then assess his/her opponent’s dominant strategy. The announcement and assessment cannot be explained in words and can only be shown in acceleration, deceleration, horn honking, or gesturing. The interactive announcement and assessment may be more than one round. Sometimes, several rounds of the game are needed to achieve common knowledge, and common knowledge may not even be fully achieved in some instances.

The “Chinese style road crossing” refers to the behavior of Chinese pedestrians crossing an intersection, not by following the traffic signals but whether there is a sufficient number of pedestrians who feel safe to cross [35, 36]. Pedestrians running the red light are a common phenomenon that can be observed in many countries [37, 38]. Even though traffic lights exist, there are still many reasons that will render vehicle drivers and pedestrians to disobey them and the situation at unsignalized crosswalks will be even worse. A possible explanation from the perspective of the multidimensional dirty faces game is as follows. Assume that the vehicle driver (for continuous vehicle flows, we only consider the heading car) and the waiting pedestrians are the players of the game. Only when the driver and all waiting pedestrians form the common knowledge of “the pedestrian lets the vehicle go first,” then the vehicle passes through the intersection. In fact, the driver may not choose all pedestrians as competitors, where only representative pedestrians are selected as competitors in the game. In practice, the representative pedestrian can be the one who stands in front of the crowd or the one who demonstrates an intention to cross (i.e., stretch his head and look out or suddenly accelerates). If the driver and representative pedestrians form common knowledge, the other pedestrians will recognize the strategy under conformity pressure. Thus, the dimension of the dirty faces game is reduced. The solution to the simplified game can then be used as the solution to the multidimensional dirty faces game. This works in most cases. However, there are some special cases that need to be considered separately. For instance, the waiting time of pedestrians may be too long and some of the pedestrians are not patient enough; the gap between two adjacent vehicles is large enough; or someone from the pedestrian group (usually the one not selected as a representative pedestrian) changes the strategy unilaterally and takes the lead to cross. If the driver is forced to accept the strategy, the other pedestrians change their strategy and begin to cross. In this way, the common knowledge of “the pedestrian lets the vehicle go” changes to one of “the vehicle lets the pedestrian go.” Based on the multidimensional dirty faces game, we now propose a systematic way to analyze crossing behavior of pedestrians and vehicles as follows.

Step 1. For a pedestrian group which consists of pedestrians waiting to cross, the probability that the th pedestrian selects “the vehicle driver gives priority to the pedestrian” as the dominant strategy is where represents the passing time of the vehicle estimated by the th pedestrian on the basis of traffic parameters and represents the passing time of the th pedestrian estimated by himself on the basis of traffic parameters. Assume that the estimated passing time satisfies the normal distribution, where the average value of the distribution is equal to the theoretical passing time, and the standard deviations and reflect the estimation accuracy of the pedestrian and driver, respectively. Let be the theoretical passing time of the th pedestrian, , be the road width, be the walking speed of the th pedestrian, be the theoretical passing time of the vehicle, where , be the distance between the vehicle and the point of intersection, and be the vehicle speed. In the proposed simulation, and are random numbers satisfying the normal distributions and , respectively, where , , and and reflect the pedestrian’s estimation accuracy of the passing times of himself and the vehicle, respectively. The probability that the th pedestrian selects “the pedestrian gives priority to the vehicle” as the dominant strategy is .

The probability that the vehicle driver selects “the pedestrian gives priority to vehicle” as the dominant strategy is given by and its derivation can be found in Appendix A.

Step 2. Generate random numbers: . Then, condition (2) below can be used to assess whether the pedestrians and driver can achieve common knowledge. If common knowledge can be achieved, the pedestrians or driver will pass through the intersection under the zero-step mode, and the computations can be completed. Otherwise, go to the one-step mode.

Step 3. When both pedestrians and driver enter the one-step mode, they further announce the dominant strategy of their own via acceleration or deceleration, and they may also recognize the dominant strategy of the other. As such, we define two parameters and that describe the possibility of acceleration or deceleration for pedestrians and vehicles, respectively. According to condition (1) and (2) above, the person with a higher probability to produce a dominant strategy, will have a shorter estimated passing times. It is reasonable to assume that this same person will have a higher probability of acceleration when entering the one-step mode. This can be represented in the following form:Now, we generate random numbers, . Then, condition (4) below can be used to decide whether the pedestrians and driver can achieve common knowledge. If common knowledge can be achieved, the pedestrians or driver will pass through the intersection under the one-step mode, and the computations are completed. Otherwise, go to the two-step mode.

Step 4. Generate random numbers, . We define and (both pedestrian and driver become more cautious) as the possibility of acceleration by the pedestrians and vehicle, respectively, at this stage. Then, condition (5) below can be used to decide whether the pedestrians and driver can achieve common knowledge. If common knowledge can be achieved, the pedestrian or driver will pass through the intersection under the two-step mode, and the computations are completed. Otherwise, both sides fail to cross the intersection normally and this leads to the failure mode whereby the dirty faces game is terminated. Failure mode corresponds to the stagnation or collision between pedestrians and vehicle in reality.

Figure 1 presents a schematic diagram to illustrate the dynamic process of pedestrian group-crossing behavior. Our simulation results predict that, with increasing N, the probability of the pedestrian group and vehicle forming the common knowledge of “the pedestrian gives priority to the vehicle” and they give way to each other decreases, while the probability of the pedestrian group and vehicle forming the common knowledge of “the vehicle driver gives priority to the pedestrian” and both sides cross simultaneously increases. Considering that only the representative pedestrians are selected as competitors in the game, we take the representative pedestrians to replace all N pedestrians. Thus, the dimension of the dirty faces game is reduced. The Monte-Carlo simulation approach is then applied to mimic a real road-crossing scenario by relying on repeated random sampling to obtain numerical results. The pseudocode implementation of the Monte-Carlo simulation is given in Appendix B.

3. Simulation Results and Discussion

3.1. Simulation Analysis in Consideration of the Heterogeneity of Waiting Time

Due to differences in arrival times and traffic conditions, different pedestrians may experience different waiting times. When the waiting time increases, pedestrians become impatient and try to cross the street impetuously [39, 40]. Therefore, the heterogeneity of waiting time may affect the crossing behavior of pedestrian groups. We assume that different pedestrians in the group experience different waiting times, and the waiting times satisfy the uniform distribution . In order to quantify the influence of the waiting time on the crossing behavior of pedestrians, we adopt the method proposed by Wang et al. [31]. We introduce the influence coefficient of the waiting time , which reflects the amplification effect of the crossing probability due to an increase in the waiting time. Accordingly, the probability that the th pedestrian selects “the vehicle gives priority to the pedestrian” as the dominant strategy is

Other parameters remain unchanged. Simulations were performed to investigate the effect of the waiting time on the crossing behavior of pedestrians. In the simulation model, it is assumed that each pedestrian in the group has the same theoretical passing time (i.e., they have the same walking speed) and estimation accuracy, where the estimated passing times satisfy the same normal distribution.

The simulation was performed under different combinations of (the theoretical passing time of a pedestrian) and (the theoretical passing time of the vehicle). The number of samples is 1,000,000. Figure 2 shows the effect of the group size on the conflict probability, where the number of pedestrians is 1, 2, 3, 5, 10, and 20, respectively. The conflict probability here is defined as the ratio of the sample that causes a conflict in the failure mode to the sample size. The simulation results predict that, with an increase in the group size, the size of the region of the parameter space that may cause a conflict decreases. At the same time, the conflict probability also decreases.

In order to further explore the effect of the group size on the decision mechanism of crossing behavior, we tracked the number of different crossing results for two combinations of and (case 1: the theoretical passing time of pedestrians  s, the theoretical passing time of the vehicle  s; case 2:  s,  s). The Monte-Carlo simulation results are given in Tables 1 and 2 for illustrative purposes.

Table 1 shows that when the theoretical passing times of both pedestrians and vehicle are 4 s, the passing probability of pedestrians is higher than that of the vehicle in all modes. This is because the probability that pedestrians try to cross the street increases with an increase in the waiting time. This phenomenon becomes more pronounced with an increase in the group size. Specifically, when the group size is 5, nearly 95% of pedestrians cross the intersection successfully before the failure mode. Moreover, the conflict probability decreases with an increase in the group size. This is because the probability that the driver selects “the pedestrian gives priority to the vehicle” as the dominant strategy decreases; this makes more pedestrians cross the intersection successfully before the failure mode. The above analysis appears to support the notion of “the more, the safer” behavior of pedestrians and can elucidate the “Chinese style road crossing” phenomenon.

As shown in Table 2, when the theoretical passing time of pedestrians is 4 s and the theoretical passing time of the vehicle is 3 s; the vehicle has the advantage in crossing without considering other factors. When there is only one pedestrian, the passing probability of the vehicle is much larger than that of pedestrians under all modes. It is worth noting that the probability that the vehicle and pedestrians complete crossing under zero-step mode is not high because the advantage of the passing time is not immediately obvious for the vehicle. However, under the one-step mode, they obtain common knowledge with a larger probability and complete the crossing. The probability that the pedestrians cross the intersection successfully increases with an increase in the group size. When the group size is 10, the proportions of pedestrians and vehicles passing through the intersection are approximately equal. When the group size is 20, the ratio of pedestrians passing through the intersection is more than 60%. This is because, with an increase in the group size, the probability that the driver selects “the pedestrian gives priority to the vehicle” as the dominant strategy decreases. At the same time, the probability that the pedestrians try to cross the street impetuously increases, and this results in a higher probability that they obtain the common knowledge “the pedestrians pass first.” Besides, the probability that both sides enter the failure mode increases with an increase in the group size; especially, the probability that the pedestrians and vehicle yield to each other increases. This is because the vehicle has the advantage in crossing times and pedestrians have the advantage in numbers, and which one occupies the dominant status is not clear at all. When both sides are very hesitant, if one side happens to be radical, the probability of a collision greatly increases.

3.2. Simulation Analysis in Consideration of the Heterogeneity of Walking Speed

In Section 3.1, we analyzed the situation in which each pedestrian in the group has the same theoretical passing time. However, in real life, different people have different walking speeds due to their differences in ages, genders, physical conditions, and travel purposes. Statistical data show that the walking speeds of pedestrians satisfy the normal distribution [41]. Based on statistical data, we can assume that the average walking speed is 1.3 m/s and the standard deviation is 0.15 times the average walking speed, that is, . Simulations were performed with the road width as  m. Thus, the average theoretical crossing time of a pedestrian is 3.85 s.

Figure 3 shows the crossing probability for pedestrians for different group sizes (the theoretical passing time of vehicles is set to 4 s). Since the average theoretical passing time of pedestrians is approximately equal to the theoretical passing time of the vehicle, we can see from the figure that when there is only one pedestrian, the crossing probability for pedestrians is about 50%. This demonstrates that the pedestrian and vehicle have equal opportunity to cross. With an increase in the group size, the crossing probability for pedestrians increases as well. When there are ten pedestrians, the crossing probability for pedestrians approaches 100%.

Figure 4 shows the crossing probability for pedestrians for different theoretical passing times of vehicles (the number of pedestrians is set to 20). When the theoretical passing time of vehicles is 3 s, the crossing probability for pedestrians is nearly 100%. Though the vehicle benefits from a better theoretical passing time (3 s < 3.85 s), the probability that the theoretical passing time of a specific pedestrian is less than 3 s increases with the increase in the group size. When a specific pedestrian takes the lead to cross and the other pedestrians follow suit, hence, the advantage in having a higher numbers of pedestrians induces the vehicle to give way to the pedestrians instead.

Figure 5 shows the collision probability, for different theoretical passing times of vehicles in consideration of the group size. The results show that, with an increase in the group size, the size of the parameter space that may cause a conflict decreases. This is because the probability that a specific pedestrian has a higher walking speed within the group increases with an increase in the group size, and more pedestrians cross the intersection successfully before the failure mode. At the same time, the peak of the collision probability becomes larger with an increase in the group size. Through the analysis of the theoretical passing times of vehicles corresponding to the peak of the collision probability, we can deduce that the theoretical passing time of the vehicle is smaller than that of the average pedestrian. This means that the probability that the driver selects “the pedestrian gives priority to the vehicle” as the dominant strategy is relatively high. At the same time, the advantage of having a higher numbers of pedestrians leads them to change their former strategy and to cross the intersection. Thus, the probability of a collision increases. Group-crossing risks can be interpreted as a “gamble”: it saves time for pedestrians and will also lead to a higher probability of a collision.

4. Conclusion

Using the multidimensional dirty faces game, coupled by Monte-Carlo simulations, we have proposed an original and novel method to analyze the crossing behavior of pedestrians group-behavior and vehicles as “rational people.” Our model is able to capture the multistage dynamic interactions between pedestrians and vehicles.

By considering the heterogeneity of waiting times, our results show that, with an increase in the group size, the size of the parameter space that may cause a conflict decreases, while the conflict probability also decreases. When the theoretical passing times of both pedestrians and vehicle are equal, the crossing probability of pedestrians is higher than that of the vehicle in all modes. This phenomenon becomes more pronounced with an increase in the group size. When the theoretical passing time of the vehicle is smaller than the theoretical passing times of pedestrians, the probability that the pedestrians cross the intersection increases, with an increase in the group size. At the same time, the probability that both sides enter the failure mode or encounter a collision increases. Considering the heterogeneity of walking speeds and an increase in the group size, the crossing probability for pedestrians becomes larger, and the size of the parameter space that may cause a conflict decreases. However, the probability that both sides enter the failure mode or have a collision increases. Through an in-depth analysis of the theoretical passing time of the vehicle corresponding to the peak of the collision probability, we observe that the theoretical passing time of the vehicle is smaller than that of the average pedestrian.

Our findings have provided a theoretical framework to advance understanding of the illegal pedestrian group-crossing behavior and elucidate the dynamics involved. Future work includes the use of empirical data to validate the proposed model. The passing ratios of pedestrians/vehicles crossing and the ratios of stagnation and collision can be obtained in a well-designed observational study. However, since this is a multistage dynamic model, it is not easy to fully capture the interaction process (i.e., the acceleration probabilities in each mode) from an empirical study. To this end, more advanced technologies or restricting the experiments in a laboratory setting should be explored. This paper mainly focuses on analyzing the crossing behavior at unsignalized intersections with the assumption that every pedestrian has the intention to cross without considering the traffic signals. However, this is not always the case at signalized intersections. Future work will involve overcoming the limitations mentioned above. These result findings will also be useful to policy-makers for intersection design, informing pedestrian road safety, and minimizing pedestrian and vehicle collision. Traffic rules define that motor vehicle should slow down and let the pedestrians cross first. However, vehicle drivers do not always comply due to the lack of safety consciousness, thereby increasing conflict risk. The government may want to look into increasing the penalty and ways to standardize drivers’ driving behavior. Pedestrian islands can also be used to help pedestrians cross roads safely, where pedestrians can stop before finishing crossing wide, multilane busy roads.

Appendix

A. Calculation of the Probability That the Vehicle Driver Selects “the Pedestrian Giving Priority to Vehicle” as the Dominant Strategy

The probability that the vehicle driver selects “the pedestrian gives priority to vehicle” as the dominant strategy iswherewhere represents the passing time of the th pedestrian estimated by the vehicle on the basis of traffic parameters, and represents the passing time of the vehicle estimated by the driver himself on the basis of traffic parameters. In the same way, and are random numbers satisfying the normal distribution and , respectively, where , , and    and   reflect the vehicle driver’s estimation accuracy of the passing time of the pedestrian and himself, respectively. The probability that the vehicle driver selects “the vehicle driver gives priority to the pedestrian” as the dominant strategy is .

B. Pseudocode Implementation of the Monte-Carlo Simulation

See Pseudocode 1.

Initialization
: denotes the theoretical passing time of pedestrians
: denotes the theoretical passing time of the vehicle
: denotes the number of pedestrians
: denotes the maximum number of the Monte-Carlo simulation
Set , , , , , , Nstag, , in which:
: The number of times of vehicle passes under zero-step mode
: The number of times of pedestrians passes under zero-step mode
: The number of times of vehicle passes under one-step mode
: The number of times of pedestrians passes under one-step mode
: The number of times of vehicle passes under two-step mode
: The number of times of pedestrians passes under two-step mode
stag: The number of times of stagnation of the pedestrians and vehicle
coll: The number of times of collision of the pedestrians and vehicle
Repeat the Monte-Carlo simulation times
for to
Determine the estimated passing time and probability of the dominant strategy for each pedestrian and vehicle
Generate random numbers , , and satisfying the normal distribution
Calculates and
Assess whether the pedestrians and driver can achieve common knowledge under zero-step mode
Generate random numbers:
ifany
else if all
else
Assess whether the pedestrians and driver can achieve common knowledge under one-step mode
Calculates the acceleration probability of pedestrians and vehicle and
Generate random numbers:
if  any
else if  all
else
Assess whether the pedestrians and driver can achieve common knowledge under two-step mode
Calculates the acceleration probability of pedestrians and vehicle and
Generate random numbers:
if  any ,
else if  all ,
else if  all
else if any , ,
end
end
end
end

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This project was supported by the National Natural Science Foundation of China (Grant no. 61375068), Ministry of Education, Humanities and Social Sciences research projects (13YJAZH106 and 15YJCZH210), Anhui Provincial Natural Science Foundation (1708085MF164), and Talent Project for Higher Education Promotion Program of Anhui Province.