Helper library for calculations related to odds.
import com.company.odds.OddsCalculator;
...
float combinedOdds = OddsCalculator.combine(oddsA, oddsB, oddsC);
float basicOdds = OddsCalculator.basic(nrPossibleOutcomes, nrFavorableOutcomes);
...
Collect all operations related to odds in one place to control how calculations are performed across the company
dependencies {
compile group: 'company', name: 'odds', version: '0.1.7'
}
<project>
...
<dependencies>
<dependency>
<groupId>company</groupId>
<artifactId>odds</artifactId>
<version>0.1.7</version>
</dependency>
</dependencies>
</project>
Takes an arbitrary list of odds and returns the combined odds
Calculates the basic odds given possible and desirable number of outcomes
> gradle test
Link to Jira accounts here
- Fork this repository in Stash
- Create a feature branch
- Make your changes
- Submit a pull request back to master branch and add at least 2 core contributors as reviewers
Changelog here