Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'average time spent on elevator' statistic. #52

Open
markbrouch opened this issue Jan 27, 2015 · 2 comments
Open

Add 'average time spent on elevator' statistic. #52

markbrouch opened this issue Jan 27, 2015 · 2 comments

Comments

@markbrouch
Copy link

I've noticed that some of my "best" solutions sometimes hold passengers hostage on the elevator, ignoring their floor for an extended period of time if it's for the good of the system. I think average time spent on an elevator would be an important metric to track, along the same lines as the existing average time spent waiting for an elevator.

Edit: I suppose the most beneficial metric for measuring an elevator system's effectiveness would be the average time to destination, which would include time spent waiting for and getting to the desired floor.

@gonchuki
Copy link

Your edit is what I think is lacking here.

Most of the solutions for the "minimum amount of moves" challenges hold the passengers hostage until the elevator is above a certain loadFactor, which is detrimental for the total time to destination metric.

This could effectively add a couple challenges where both amount of moves and max time to destination are relevant.

@magwo
Copy link
Owner

magwo commented Jan 28, 2015

Yeah somewhat similar to #30

Note that Avg and max waiting time includes travel time... I'm pretty sure. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants