@zfunction/genetics-js
Version:
Genetic and evolutionary algorithms framework for the web
38 lines (37 loc) • 918 B
TypeScript
export interface SumoOptions {
command_name?: string;
flags: string[];
files: {
network: string;
routes: string[];
additional?: string[];
};
}
export interface SumoAggregatedData {
performance: {
duration: number;
realTimeFactor: number;
};
vehicles: {
inserted: number;
loaded: number;
running: number;
waiting: number;
};
teleports: {
jam: number;
yield: number;
wrongLane: number;
total: number;
};
statistics: {
routeLength: number;
speed: number;
duration: number;
waitingTime: number;
timeLoss: number;
departDelay: number;
};
}
export declare function ins(x: any, colors?: boolean): string;
export declare function executeSumo(sumoOptions: SumoOptions): SumoAggregatedData;