Commit 2ab28a36 authored by Florian Fittkau's avatar Florian Fittkau

WiP

parent 403455e3
......@@ -131,7 +131,8 @@ public class Main extends JFrame {
private static double numSessions(double min) {
double retVal = 0;
retVal += (min <= 230) ? 1 / ((min + 80) / 20d) * 1.2 : 0;
retVal += (min <= 230) ? min * 0.0003d : 0;
// retVal += (min <= 230) ? 1 / ((min + 80) / 20d) * 1.2 : 0;
retVal += (min > 230 && min <= 320) ? (min - 160) * 0.001d : 0;
retVal += (min > 320 && min <= 410) ? (min - 280) * 0.004d : 0;
retVal += (min > 410 && min <= 620) ? Math.cos((min - 545) / 120d) * 1.2 : 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment