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.
15 lines (14 loc) • 382 B
TypeScript
import type { Team } from './Team';
export declare class Person {
id: string;
name: string;
teams: Team[];
p: number;
private _shortLabel?;
constructor(id: string, name?: string, p?: number);
randomPresence(): boolean;
getAllocation(overhead: number): number;
getShortLabel(): string;
setTeams(teams: Team[]): void;
getOneTeam(): Team;
}