Skip to content

A demonstration of using mathematical schema to describe time in terms of a given event

Notifications You must be signed in to change notification settings

EmperorCodeman/schedulerRuby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

schedulerRuby

A demonstration of using mathematical schema to describe time in terms of a given event

Entry point in -> scheduler.rb -> team_availability(appointments)
Vocabulary Key: open- no appointment, closed-appointment

Problem Description:

  • Given appointments over a given time interval -> render a sequence of all 30 minute open blocks that result

Chosen Solution:

  • Describe time interval in terms of unit appointmentTime, where whole numbers are 30 minute blocks and decimals are fractions of 30 minute blocks. Numeric system base 30 in decimal range
  • Using military time for one dimensional representation of appointmentTime. Example 2:25 pm -> 26.25 and 2:30 pm -> 27.00
  • Tabulate closed intervals
  • Tabulate open intervals
  • Iterate over open intervals length -> each whole number(iteration) in interval length is a appointment opening

About

A demonstration of using mathematical schema to describe time in terms of a given event

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages