remulasce / metroapp

Realtime arrival notification utility for LA Metro
2 stars 0 forks source link

Prioritize earliest-added stops over later ones. #243

Open remulasce opened 9 years ago

remulasce commented 9 years ago

Adding a tiny bit of priority to the first stops you add will help prevent trips from having identical priorities, which is undefined.

Specifically, some transfer points are at the same GPS positions. You want to be able to always have your drop-off station show up above your next-on station.

So, I'm thinking decrease priority by a tiny amount for for each request that has already been added.

remulasce commented 9 years ago

Dev Cycle 5, because I need a reason to have eyes on the milestone for testing.

remulasce commented 9 years ago

No, this isn't a quick fix.

Get rid of it.

remulasce commented 9 years ago

Also, the priority I'm going for isn't "old stops are better", it's really just trying to make the stop order in the ServiceRequestList affect the resulting order a little.

Adding priority by time is really just a way to do this from within the Trips, without having to go and specifically set each request to have a priority, etc.