Behavior Modeling And Real-Time Simulation For Autonomous Agents Using Hierarchies And Level-Of-Detail