File

src/app/simulation/models/simulation-state.ts

Index

Properties

Properties

avgSpeed
avgSpeed: number
Type : number

Simulation avg. speed.

counts
counts: Counts
Type : Counts

Simulation counts.

data
data: NumericalSimulation[]
Type : NumericalSimulation[]

Simulation data.

export interface NumericalSimulation {

    edge: string;
    wayName: string;
    trafficVolume: number;
    trafficCount: number;
    delay: number | string;
    stops: number;

}

export interface Counts {

    startedVehicles: number;
    arrivedVehicles: number;

}

export interface Simulation {

    /**
     * Simulation data.
     */
    data: NumericalSimulation[];
    /**
     * Simulation counts.
     */
    counts: Counts;
    /**
     * Simulation avg. speed.
     */
    avgSpeed: number;

}

result-matching ""

    No results matching ""