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.

14 lines (13 loc) 518 B
import type { OfficeBuilding } from '$lib/office/OfficeBuilding'; import type { People } from '$lib/people/People'; import type { Teams } from '$lib/people/Teams'; import { Simulator } from '$lib/seating/Simulator'; import type { Genome } from './Genome'; export declare class GenerationManager { building: OfficeBuilding; people: People; allocations: Map<string, number>; simulator: Simulator; constructor(building: OfficeBuilding, people: People, teams: Teams); test(genome: Genome): void; }