Skip to content

dukefromearth/Tour-Scheduler

Repository files navigation

OCAML - Scheduler

Creates and schedules employees automatically given a schedule.

To Compile into a UNIX Executible and run the program:

First, install calendar and labltk via opam

  $ opam install labltk
  $ opam install calendar

Second, type the following

  $ ocamlopt -o Scheduler -linkpkg -package calendar,labltk parse_csv.ml scheduler.mli scheduler.ml interface.ml
  $ ./Scheduler

Create your own files or use the example files.

Create an employees file in the following format

Employee | Priority Number | Days Off | Days Off Time | Recurring Schedule | Maximum Shifts | Duties

employees

Create a schedule file in the following format

Shift | Date | Time | Day of Week

schedule

Run the program

Load Employees CSV Load Schedule CSV Run

View your output.

Output should be located in your current directory under "new_schedule.csv"

schedule_output

About

Scheduling interface in OCAML.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages