@startuml
interface AgentParams { 
}

class AcoAgentParams {
  +PHEROMON_SELECTION_WEIGHT: number;
}
AcoAgentParams --|> AgentParams 

abstract class BaseAgent {
}
BaseAgent ..> AgentParams

class AcoAgent {
  -PARAMS: AcoAgentParams;
  -pheromonMatrices: HeightMap[];
  +tabuPositions: Position2D[][];

  -behave(): void
  -updatePheromonLevels(): void
}
AcoAgent --|> BaseAgent
AcoAgent ..> AcoAgentParams

interface SimulationParams {
  +MAX_ITERATION: number;
  +CHECK_NEW_STATE_PER_ITERATION: number;
  +POPULATION_SIZE: number;
}
SimulationParams --|> AgentParams 

class AcoSimulationParams {
  +PHEROMON_EVAPORATION_RATE: number;
}
AcoSimulationParams --|> AcoAgentParams
AcoSimulationParams ..|> SimulationParams 

abstract class BaseSimulation {
}
BaseSimulation ..> SimulationParams

class AcoSimulation {
  +run(\n  PARAMS: AcoSimulationParams,\n  heightMap: HeightMap,\n  cities: Position2D[],\n  citiesDistanceMap: DistanceMap[],\n  citiesPreviousMap: PreviousMap[],\n): Observable<AgentState>
}
AcoSimulation ..|> BaseSimulation 
AcoSimulation ..> AcoSimulationParams
AcoSimulation --* AcoAgent
@enduml