UNPKG

officekit

Version:

A toolkit to represent and visualize office spaces. It also provides functionality to simulate usage of offices, and calculate a score given a fitness function. It also have functionatlity for automatic allocation of offices using a genetic algorithm.

19 lines (18 loc) 409 B
import type { Team } from './Team'; export declare class Teams { map: Map<string, Team>; constructor(); add(team: Team): void; has(id: string): boolean; get(id: string): Team; size(): number; [Symbol.iterator](): { next: () => { value: Team; done: boolean; } | { done: boolean; value?: undefined; }; }; }