Software-Engineering-Group-9 / Back-End-API

Spring Boot. Backend of Doable Calendar - Endpoints, JDBC, etc.
0 stars 0 forks source link

Scheduler Algorithm #7

Open BoKlassen opened 3 years ago

BoKlassen commented 3 years ago

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)

MingHaoC commented 3 years ago

@salvarenga25 @BoKlassen Have you guy started on this yet? Also you guy need to figure out #8 before starting on this. Let me know when you guy have started!