Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Timeline ¶
type Timeline struct { Id TimelineId Name TimelineName TermRecords terms.TermRecords Plans plans.Plans }
func NewTimeline ¶
func NewTimeline(name TimelineName, courseHistory terms.TermRecords) *Timeline
func (Timeline) AddTermRecord ¶
func (t Timeline) AddTermRecord(tr *terms.TermRecord)
func (Timeline) Aggregate ¶
func (t Timeline) Aggregate() *courses.CourseRecords
Flattens TermRecords and aggregates it into one CourseRecords
func (Timeline) IncompletePlans ¶
Checks if all declared plans in Plans are satisfied
func (Timeline) InvalidCourses ¶
func (t Timeline) InvalidCourses() courses.CourseRecords
Returns the courses whose pre-requisites are not satisfied
type TimelineId ¶
type TimelineId string
type TimelineName ¶
type TimelineName string
Click to show internal directories.
Click to hide internal directories.