Research Article

Customer Behavior Analysis in Ticket Windows at Scenic Spots from Game-Theoretic Perspective

Algorithm 1

Search for and .
Input: λ, , θ, R, C
Output: ,
(1)Set , n = 1,
(2)Calculate according to equation (6).
(3)while do
(4)n = n + 1.
(5) Calculate according to equation (6).
(6) if then
(7)  , .
(8) end if
(9)end while
(10).