Skip to content

Scheduler Algorithm  #7

@BoKlassen

Description

@BoKlassen

We need an algorithm which converts a list of TodoEvents into a list of CalendarEvents, based on the availability of the user. 1 or many CalendarEvents can correspond to a single TodoEvent, representing the situation where one assignment may need to be done in 1 or many sittings.

 

Sample Header:

public List Optimize(List, List);

 

Where each object has the following attributes (using java.util.Date as example):

 

TodoEvent(title: String, duedate: Date, timeneeded: Float)

Availability(start: Date, end: Date)

CalendarEvent(title: String, start: Date, end: Date)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions