Skip to content
Snippets Groups Projects
Commit 2ab28a36 authored by Florian Fittkau's avatar Florian Fittkau
Browse files

WiP

parent 403455e3
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment