Module openrailwaymap_exporter::simulation::agents
source · Expand description
This module contains types and traits related to decision agents.
Decision agents are responsible for choosing the best action based on the current state of the simulation. They interact with movable objects on rail tracks, such as trains, to control their movement.
Re-exports
pub use crate::ai::TrainAgentAI;
Modules
- This module contains a factory for creating decision agents.
Structs
- The
ForwardUntilTargetAgent
struct represents a decision agent that moves a railway object forward until it reaches its next target node.
Enums
- Represents the possible actions a movable object on rail tracks can take in the simulation.
Traits
- A trait that represents a decision agent responsible for choosing the best action based on the current state of the simulation.