weekdaze-0.0.0.2: A school-timetable problem-solver.

Safe HaskellNone
LanguageHaskell2010

WeekDaze.Aggregate.GroupCatalogue

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Defines the name & attributes, of all groups.
Synopsis

Types

Type-synonyms

type GroupCatalogue timeslotId locationId = ResourceMap Id (Profile timeslotId locationId) Source #

The complete set of Profile, indexed by Id.

type ResourceIdsByGroupId resourceId = Map Id (Set resourceId) Source #

A map indexed by a group-id, of resource-ids.

Constants

tag :: String Source #

Used to qualify XML.

Functions

extractDistinctMeetingLocationIds :: Ord locationId => GroupCatalogue timeslotId locationId -> Locus locationId Source #

Extracts the set of distinct locationIds, from the group-catalogue.

getMeetingTimes :: Ord timeslotId => GroupCatalogue timeslotId locationId -> Membership -> TimeSet timeslotId Source #

Gather the set of meeting-times corresponding to the specified set of groups.