diff --git a/License.txt b/License.txt index 0c52b94..ca21700 100644 --- a/License.txt +++ b/License.txt @@ -1,4 +1,4 @@ -The core ideas used in this PHPSkills project were described in +The core ideas used in this Moserware.Skills for PHP project were described in "TrueSkill (TM): A Bayesian Skill Rating System" available at http://research.microsoft.com/apps/pubs/default.aspx?id=67956 @@ -12,7 +12,7 @@ http://blogs.technet.com/apg/archive/2008/06/16/trueskill-in-f.aspx This PHP code was ported from the C# Moserware.Skills project at http://github.com/moserware/Skills -Both the PHP code in this PHPSkills project and C# in Moserware.Skills are +Both the PHP code in this project and C# in Moserware.Skills are Copyright (c) 2010 Jeff Moser Redistribution and use in source and binary forms, with or without modification, are diff --git a/PHPSkills/Elo/EloRating.php b/Skills/Elo/EloRating.php similarity index 100% rename from PHPSkills/Elo/EloRating.php rename to Skills/Elo/EloRating.php diff --git a/PHPSkills/Elo/FideEloCalculator.php b/Skills/Elo/FideEloCalculator.php similarity index 100% rename from PHPSkills/Elo/FideEloCalculator.php rename to Skills/Elo/FideEloCalculator.php diff --git a/PHPSkills/Elo/FideKFactor.php b/Skills/Elo/FideKFactor.php similarity index 100% rename from PHPSkills/Elo/FideKFactor.php rename to Skills/Elo/FideKFactor.php diff --git a/PHPSkills/Elo/GaussianEloCalculator.php b/Skills/Elo/GaussianEloCalculator.php similarity index 100% rename from PHPSkills/Elo/GaussianEloCalculator.php rename to Skills/Elo/GaussianEloCalculator.php diff --git a/PHPSkills/Elo/KFactor.php b/Skills/Elo/KFactor.php similarity index 100% rename from PHPSkills/Elo/KFactor.php rename to Skills/Elo/KFactor.php diff --git a/PHPSkills/Elo/TwoPlayerEloCalculator.php b/Skills/Elo/TwoPlayerEloCalculator.php similarity index 100% rename from PHPSkills/Elo/TwoPlayerEloCalculator.php rename to Skills/Elo/TwoPlayerEloCalculator.php diff --git a/PHPSkills/FactorGraphs/Factor.php b/Skills/FactorGraphs/Factor.php similarity index 100% rename from PHPSkills/FactorGraphs/Factor.php rename to Skills/FactorGraphs/Factor.php diff --git a/PHPSkills/FactorGraphs/FactorGraph.php b/Skills/FactorGraphs/FactorGraph.php similarity index 100% rename from PHPSkills/FactorGraphs/FactorGraph.php rename to Skills/FactorGraphs/FactorGraph.php diff --git a/PHPSkills/FactorGraphs/FactorGraphLayer.php b/Skills/FactorGraphs/FactorGraphLayer.php similarity index 100% rename from PHPSkills/FactorGraphs/FactorGraphLayer.php rename to Skills/FactorGraphs/FactorGraphLayer.php diff --git a/PHPSkills/FactorGraphs/FactorList.php b/Skills/FactorGraphs/FactorList.php similarity index 100% rename from PHPSkills/FactorGraphs/FactorList.php rename to Skills/FactorGraphs/FactorList.php diff --git a/PHPSkills/FactorGraphs/Message.php b/Skills/FactorGraphs/Message.php similarity index 100% rename from PHPSkills/FactorGraphs/Message.php rename to Skills/FactorGraphs/Message.php diff --git a/PHPSkills/FactorGraphs/Schedule.php b/Skills/FactorGraphs/Schedule.php similarity index 100% rename from PHPSkills/FactorGraphs/Schedule.php rename to Skills/FactorGraphs/Schedule.php diff --git a/PHPSkills/FactorGraphs/Variable.php b/Skills/FactorGraphs/Variable.php similarity index 100% rename from PHPSkills/FactorGraphs/Variable.php rename to Skills/FactorGraphs/Variable.php diff --git a/PHPSkills/FactorGraphs/VariableFactory.php b/Skills/FactorGraphs/VariableFactory.php similarity index 100% rename from PHPSkills/FactorGraphs/VariableFactory.php rename to Skills/FactorGraphs/VariableFactory.php diff --git a/PHPSkills/GameInfo.php b/Skills/GameInfo.php similarity index 100% rename from PHPSkills/GameInfo.php rename to Skills/GameInfo.php diff --git a/PHPSkills/Guard.php b/Skills/Guard.php similarity index 100% rename from PHPSkills/Guard.php rename to Skills/Guard.php diff --git a/PHPSkills/HashMap.php b/Skills/HashMap.php similarity index 100% rename from PHPSkills/HashMap.php rename to Skills/HashMap.php diff --git a/PHPSkills/ISupportPartialPlay.php b/Skills/ISupportPartialPlay.php similarity index 100% rename from PHPSkills/ISupportPartialPlay.php rename to Skills/ISupportPartialPlay.php diff --git a/PHPSkills/ISupportPartialUpdate.php b/Skills/ISupportPartialUpdate.php similarity index 100% rename from PHPSkills/ISupportPartialUpdate.php rename to Skills/ISupportPartialUpdate.php diff --git a/PHPSkills/Numerics/BasicMath.php b/Skills/Numerics/BasicMath.php similarity index 95% rename from PHPSkills/Numerics/BasicMath.php rename to Skills/Numerics/BasicMath.php index 241d995..59dccb3 100644 --- a/PHPSkills/Numerics/BasicMath.php +++ b/Skills/Numerics/BasicMath.php @@ -1,8 +1,7 @@ * @copyright 2010 Jeff Moser */ diff --git a/PHPSkills/Numerics/GaussianDistribution.php b/Skills/Numerics/GaussianDistribution.php similarity index 99% rename from PHPSkills/Numerics/GaussianDistribution.php rename to Skills/Numerics/GaussianDistribution.php index ebac63f..6229302 100644 --- a/PHPSkills/Numerics/GaussianDistribution.php +++ b/Skills/Numerics/GaussianDistribution.php @@ -7,7 +7,6 @@ require_once(dirname(__FILE__) . "/basicmath.php"); /** * Computes Gaussian (bell curve) values. * - * @package PHPSkills * @author Jeff Moser * @copyright 2010 Jeff Moser */ diff --git a/PHPSkills/Numerics/Matrix.php b/Skills/Numerics/Matrix.php similarity index 100% rename from PHPSkills/Numerics/Matrix.php rename to Skills/Numerics/Matrix.php diff --git a/PHPSkills/Numerics/Range.php b/Skills/Numerics/Range.php similarity index 100% rename from PHPSkills/Numerics/Range.php rename to Skills/Numerics/Range.php diff --git a/PHPSkills/PairwiseComparison.php b/Skills/PairwiseComparison.php similarity index 100% rename from PHPSkills/PairwiseComparison.php rename to Skills/PairwiseComparison.php diff --git a/PHPSkills/PartialPlay.php b/Skills/PartialPlay.php similarity index 100% rename from PHPSkills/PartialPlay.php rename to Skills/PartialPlay.php diff --git a/PHPSkills/Player.php b/Skills/Player.php similarity index 100% rename from PHPSkills/Player.php rename to Skills/Player.php diff --git a/PHPSkills/PlayersRange.php b/Skills/PlayersRange.php similarity index 100% rename from PHPSkills/PlayersRange.php rename to Skills/PlayersRange.php diff --git a/PHPSkills/RankSorter.php b/Skills/RankSorter.php similarity index 100% rename from PHPSkills/RankSorter.php rename to Skills/RankSorter.php diff --git a/PHPSkills/Rating.php b/Skills/Rating.php similarity index 100% rename from PHPSkills/Rating.php rename to Skills/Rating.php diff --git a/PHPSkills/RatingContainer.php b/Skills/RatingContainer.php similarity index 100% rename from PHPSkills/RatingContainer.php rename to Skills/RatingContainer.php diff --git a/PHPSkills/SkillCalculator.php b/Skills/SkillCalculator.php similarity index 100% rename from PHPSkills/SkillCalculator.php rename to Skills/SkillCalculator.php diff --git a/PHPSkills/Team.php b/Skills/Team.php similarity index 100% rename from PHPSkills/Team.php rename to Skills/Team.php diff --git a/PHPSkills/Teams.php b/Skills/Teams.php similarity index 100% rename from PHPSkills/Teams.php rename to Skills/Teams.php diff --git a/PHPSkills/TeamsRange.php b/Skills/TeamsRange.php similarity index 100% rename from PHPSkills/TeamsRange.php rename to Skills/TeamsRange.php diff --git a/PHPSkills/TrueSkill/DrawMargin.php b/Skills/TrueSkill/DrawMargin.php similarity index 100% rename from PHPSkills/TrueSkill/DrawMargin.php rename to Skills/TrueSkill/DrawMargin.php diff --git a/PHPSkills/TrueSkill/FactorGraphTrueSkillCalculator.php b/Skills/TrueSkill/FactorGraphTrueSkillCalculator.php similarity index 100% rename from PHPSkills/TrueSkill/FactorGraphTrueSkillCalculator.php rename to Skills/TrueSkill/FactorGraphTrueSkillCalculator.php diff --git a/PHPSkills/TrueSkill/Factors/GaussianFactor.php b/Skills/TrueSkill/Factors/GaussianFactor.php similarity index 100% rename from PHPSkills/TrueSkill/Factors/GaussianFactor.php rename to Skills/TrueSkill/Factors/GaussianFactor.php diff --git a/PHPSkills/TrueSkill/Factors/GaussianGreaterThanFactor.php b/Skills/TrueSkill/Factors/GaussianGreaterThanFactor.php similarity index 100% rename from PHPSkills/TrueSkill/Factors/GaussianGreaterThanFactor.php rename to Skills/TrueSkill/Factors/GaussianGreaterThanFactor.php diff --git a/PHPSkills/TrueSkill/Factors/GaussianLikelihoodFactor.php b/Skills/TrueSkill/Factors/GaussianLikelihoodFactor.php similarity index 100% rename from PHPSkills/TrueSkill/Factors/GaussianLikelihoodFactor.php rename to Skills/TrueSkill/Factors/GaussianLikelihoodFactor.php diff --git a/PHPSkills/TrueSkill/Factors/GaussianPriorFactor.php b/Skills/TrueSkill/Factors/GaussianPriorFactor.php similarity index 100% rename from PHPSkills/TrueSkill/Factors/GaussianPriorFactor.php rename to Skills/TrueSkill/Factors/GaussianPriorFactor.php diff --git a/PHPSkills/TrueSkill/Factors/GaussianWeightedSumFactor.php b/Skills/TrueSkill/Factors/GaussianWeightedSumFactor.php similarity index 100% rename from PHPSkills/TrueSkill/Factors/GaussianWeightedSumFactor.php rename to Skills/TrueSkill/Factors/GaussianWeightedSumFactor.php diff --git a/PHPSkills/TrueSkill/Factors/GaussianWithinFactor.php b/Skills/TrueSkill/Factors/GaussianWithinFactor.php similarity index 100% rename from PHPSkills/TrueSkill/Factors/GaussianWithinFactor.php rename to Skills/TrueSkill/Factors/GaussianWithinFactor.php diff --git a/PHPSkills/TrueSkill/Layers/IteratedTeamDifferencesInnerLayer.php b/Skills/TrueSkill/Layers/IteratedTeamDifferencesInnerLayer.php similarity index 100% rename from PHPSkills/TrueSkill/Layers/IteratedTeamDifferencesInnerLayer.php rename to Skills/TrueSkill/Layers/IteratedTeamDifferencesInnerLayer.php diff --git a/PHPSkills/TrueSkill/Layers/PlayerPerformancesToTeamPerformancesLayer.php b/Skills/TrueSkill/Layers/PlayerPerformancesToTeamPerformancesLayer.php similarity index 100% rename from PHPSkills/TrueSkill/Layers/PlayerPerformancesToTeamPerformancesLayer.php rename to Skills/TrueSkill/Layers/PlayerPerformancesToTeamPerformancesLayer.php diff --git a/PHPSkills/TrueSkill/Layers/PlayerPriorValuesToSkillsLayer.php b/Skills/TrueSkill/Layers/PlayerPriorValuesToSkillsLayer.php similarity index 100% rename from PHPSkills/TrueSkill/Layers/PlayerPriorValuesToSkillsLayer.php rename to Skills/TrueSkill/Layers/PlayerPriorValuesToSkillsLayer.php diff --git a/PHPSkills/TrueSkill/Layers/PlayerSkillsToPerformancesLayer.php b/Skills/TrueSkill/Layers/PlayerSkillsToPerformancesLayer.php similarity index 100% rename from PHPSkills/TrueSkill/Layers/PlayerSkillsToPerformancesLayer.php rename to Skills/TrueSkill/Layers/PlayerSkillsToPerformancesLayer.php diff --git a/PHPSkills/TrueSkill/Layers/TeamDifferencesComparisonLayer.php b/Skills/TrueSkill/Layers/TeamDifferencesComparisonLayer.php similarity index 100% rename from PHPSkills/TrueSkill/Layers/TeamDifferencesComparisonLayer.php rename to Skills/TrueSkill/Layers/TeamDifferencesComparisonLayer.php diff --git a/PHPSkills/TrueSkill/Layers/TeamPerformancesToTeamPerformanceDifferencesLayer.php b/Skills/TrueSkill/Layers/TeamPerformancesToTeamPerformanceDifferencesLayer.php similarity index 100% rename from PHPSkills/TrueSkill/Layers/TeamPerformancesToTeamPerformanceDifferencesLayer.php rename to Skills/TrueSkill/Layers/TeamPerformancesToTeamPerformanceDifferencesLayer.php diff --git a/PHPSkills/TrueSkill/Layers/TrueSkillFactorGraphLayer.php b/Skills/TrueSkill/Layers/TrueSkillFactorGraphLayer.php similarity index 100% rename from PHPSkills/TrueSkill/Layers/TrueSkillFactorGraphLayer.php rename to Skills/TrueSkill/Layers/TrueSkillFactorGraphLayer.php diff --git a/PHPSkills/TrueSkill/TrueSkillFactorGraph.php b/Skills/TrueSkill/TrueSkillFactorGraph.php similarity index 100% rename from PHPSkills/TrueSkill/TrueSkillFactorGraph.php rename to Skills/TrueSkill/TrueSkillFactorGraph.php diff --git a/PHPSkills/TrueSkill/TruncatedGaussianCorrectionFunctions.php b/Skills/TrueSkill/TruncatedGaussianCorrectionFunctions.php similarity index 100% rename from PHPSkills/TrueSkill/TruncatedGaussianCorrectionFunctions.php rename to Skills/TrueSkill/TruncatedGaussianCorrectionFunctions.php diff --git a/PHPSkills/TrueSkill/TwoPlayerTrueSkillCalculator.php b/Skills/TrueSkill/TwoPlayerTrueSkillCalculator.php similarity index 100% rename from PHPSkills/TrueSkill/TwoPlayerTrueSkillCalculator.php rename to Skills/TrueSkill/TwoPlayerTrueSkillCalculator.php diff --git a/PHPSkills/TrueSkill/TwoTeamTrueSkillCalculator.php b/Skills/TrueSkill/TwoTeamTrueSkillCalculator.php similarity index 100% rename from PHPSkills/TrueSkill/TwoTeamTrueSkillCalculator.php rename to Skills/TrueSkill/TwoTeamTrueSkillCalculator.php diff --git a/UnitTests/Elo/EloAssert.php b/UnitTests/Elo/EloAssert.php index c0e3277..2c72214 100644 --- a/UnitTests/Elo/EloAssert.php +++ b/UnitTests/Elo/EloAssert.php @@ -1,9 +1,9 @@ org.netbeans.modules.php.project - phpskills + Skills