Timeline for How to convert vehicle schedule time window calculation algorithm to FP
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 10, 2021 at 17:14 | history | edited | Blaž Mrak | CC BY-SA 4.0 |
deleted 7 characters in body
|
| Dec 10, 2021 at 16:59 | comment | added | Blaž Mrak | @Ewan here is the code with the added explanation. Turns out I wasn't wrong :D | |
| Dec 10, 2021 at 16:58 | history | edited | Blaž Mrak | CC BY-SA 4.0 |
added 4065 characters in body
|
| Dec 10, 2021 at 16:55 | comment | added | Ewan | yeah that why i like your answer, the problem is, are you wrong? I would have to do the leg work! | |
| Dec 10, 2021 at 12:09 | comment | added | Blaž Mrak | @Ewan I will update the answer with actual implementation and tests as well and explain the math better. | |
| Dec 10, 2021 at 11:51 | comment | added | Blaž Mrak | Well, I have mathematically proven it and just put it into code. I could explain deeper how I came up with the formulas, but I essentially just turned my for loops into formulas and removed duplication :) | |
| Dec 10, 2021 at 11:31 | comment | added | Ewan | i love this answer but am hesitant to upvote without unit tests :) | |
| Dec 10, 2021 at 9:49 | history | edited | Blaž Mrak | CC BY-SA 4.0 |
edited body
|
| Dec 10, 2021 at 6:25 | history | edited | Blaž Mrak | CC BY-SA 4.0 |
deleted 114 characters in body
|
| Dec 10, 2021 at 6:04 | history | edited | Blaž Mrak | CC BY-SA 4.0 |
added 104 characters in body
|
| Dec 10, 2021 at 5:57 | history | answered | Blaž Mrak | CC BY-SA 4.0 |