where I i is the action-angle coordinate, n i is a positive integer, and μ μ i and b i are Maslov indexes. μ μ i corresponds to the number of classical turning points in the trajectory of q i (Dirichlet boundary condition), and b i corresponds to the number of reflections with a hard wall (Neumann boundary condition).