| 36 | } |
| 37 | |
| 38 | static float ComputeScore(float a, float s, float t) { |
| 39 | return s == 0 || t - 1 == 0 ? 0 : pow((a - s / t) * t, 2) / (s * (t - 1)); |
| 40 | } |
| 41 | |
| 42 | float operator()(int source, int destination, int timestamp) { |
| 43 | if (this->timestamp < timestamp) { |
nothing calls this directly
no outgoing calls
no test coverage detected