Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ScheduleEvaluator

The goal of the schedule evaluator is to efficiently sort the generated schedules according to the set of the rules defined by the user

Hierarchy

  • ScheduleEvaluator

Index

Constructors

constructor

Properties

Private Optional Readonly Module

Module: typeof NativeModule

Private _refSchedule

_refSchedule: GeneratedSchedule["All"]

Private Readonly classList

classList: RawAlgoCourse[]

the array of (combined) sections

Private Readonly events

events: Event[]

the array of events kept, use to construct generated schedules

options

options: Readonly<EvaluatorOptions>

Private Readonly secLens

secLens: number[]

Accessors

refSchedule

  • get refSchedule(): ScheduleAll<Set<number>[]>
  • set refSchedule(refSchedule: GeneratedSchedule["All"]): void

size

  • get size(): number

Methods

empty

  • empty(): boolean

getRange

getSchedule

sort

Generated using TypeDoc