Learn R Programming

refitgaps (version 0.1.1)

Reduce the Number of Holes in the School Timetable

Description

If a teacher was assigned, say, hours 1, 2, 4, 6 for his lessons on the current day, then he got two "gaps" (or "holes"), in hours 3 and 5. If the total number of holes in the existing daily schedule is too large (exceeding, say, 6% of the total lessons), then the problem arises of reallocating the respective lessons by hours (respecting the constraints induced by the existence of coupled lessons) so that the total number of holes is as small as possible.

Copy Link

Version

Install

install.packages('refitgaps')

Monthly Downloads

522

Version

0.1.1

License

MIT + file LICENSE

Maintainer

Vlad Bazon

Last Published

April 28th, 2025

Functions in refitgaps (0.1.1)

%>%

Pipe operator
have_gaps

Evidențiază orarele profesorilor care au ferestre
recast

Rearanjează clasele indicate oră de oră pe liniile profesorilor (și cuplajelor) într-o matrice-orar (păstrând unicitatea claselor pe coloanele orare și când este cazul, respectând alocarea pe ore existentă pentru lecțiile tuplate), astfel încât numărul total de ferestre (incluzând pe cele induse de cuplaje) să devină după un anumit număr de iterații, cât se poate de mic.
MOZ

A simple example (from a Romanian school) of a daily schedule
TPL

Tupled lessons for 'MOZ'
refitgaps-package

refitgaps: Reduce the Number of Holes in the School Timetable