Understanding the planning of LLM agents: A survey