Dynamical behaviors determined by the Lyapunov function in competitive Lotka-Volterra systems