#This is a sample script file for timetable planner. The lines, which
#begin with '#' and empty lines are ignored. The data layout is rigid
#and must follow the pattern, shown below.

#Number of courses (max. 6)
2

#First course (information is space separated):
#name,                           (max. 9 characters)
#number of lectures,             (0 -  4)
#number of groups,               (0 - 30)
#number of activities per group  (0 -  4, should be at least 1 if groups != 0)
IN270 2 8 2

#The lectures (information is space separated):
#weekday                         (1 - Monday through 5 - Friday)
#start hour                      (8 - 19)
#end hour                        (9 - 20)
3 11 12
5 12 14

#The groups...
#ID number (1 - 999)
1

#Activities: Weekday, start hour, end hour (the ranges are as for lectures).
2 9 11
4 10 12

#ID number, etc....
2
1 12 14
2 18 20

3
1 16 18
3 18 20

4
1 10 12
3 16 18

105
1 14 16
4 14 16

6
1 8 10
4 14 16
107
4 18 20
1 8 10
108
1 18 20
4 16 18

#Second course
#Name, number of lectures, number of groups, number of activities per group
FYS115 0 2 1
1
2 12 16
2
4 8 12


#Filters.
#This section will be read if you redirect this file to stdin. If you give
#this file as the first arguement, the program will ignore this section and
#will ask the values interactively.

#Format (information is space separated):
#Operlaps between groups in number of hours            (0 -  9)
#start of studies interval                             (8 - 19)
#stop of studies interval                              (9 - 20) 
#deviation from time interval in hours/week            (0 -  9)
#minimum number of free days/week                      (0 -  4)
#maximum number of "holes" between activities in hours (0 -  9)
#more filters                                          (y / n)
0  8 16 0 1 2 y

0 10 16 1 0 4 n

#If the last data-character is neither 'n' nor 'y', the program will assume 'n'.
#The program may enter into an indefinite loop if the last character is omitted!
