mirror of
https://github.com/furyfire/trueskill.git
synced 2025-04-11 17:14:13 +00:00
CodeBeautifier for PSR-12 standard.
This commit is contained in:
@ -15,7 +15,8 @@ class TruncatedGaussianCorrectionFunctions
|
||||
* correction of a single-sided truncated Gaussian with unit variance."
|
||||
*
|
||||
* @param $teamPerformanceDifference
|
||||
* @param $drawMargin In the paper, it's referred to as just "ε".
|
||||
* @param $drawMargin In the paper, it's referred to as just
|
||||
* "ε".
|
||||
* @param $c
|
||||
*/
|
||||
public static function vExceedsMarginScaled(float $teamPerformanceDifference, float $drawMargin, float $c): float
|
||||
@ -123,7 +124,8 @@ class TruncatedGaussianCorrectionFunctions
|
||||
($drawMargin - $teamPerformanceDifferenceAbsoluteValue)
|
||||
*
|
||||
GaussianDistribution::at(
|
||||
$drawMargin - $teamPerformanceDifferenceAbsoluteValue)
|
||||
$drawMargin - $teamPerformanceDifferenceAbsoluteValue
|
||||
)
|
||||
- (-$drawMargin - $teamPerformanceDifferenceAbsoluteValue)
|
||||
*
|
||||
GaussianDistribution::at(-$drawMargin - $teamPerformanceDifferenceAbsoluteValue)) / $denominator;
|
||||
|
Reference in New Issue
Block a user