Skip to content

prihandi/elevator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Elevator Simulation Problem

Edit only the function definition of Elevator.prototype.decide() in myelevator.js.
That function is called when elevator needs to decide which floor it needs to go to.
Try to:

  1. minimize total_people_wait_time_in_elevator
  2. minimize total_people_wait_time_out_elevator
  3. minimize total_elevator_traveled_distance
  4. maximize total_delivered_people

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published