Skip navigation links
C D G I M N R U Y 

C

catNames - Static variable in class YahtzeeUtil
Strings containing single-character category names
choose - Static variable in class DiceUtil
Result of choose function indexed by n, k.
choose(int, int) - Static method in class DiceUtil
Combinatorial choose function

D

DiceUtil - Class in <Unnamed>
 
DiceUtil() - Constructor for class DiceUtil
 

G

getNumRerolls(int[]) - Static method in class YahtzeeUtil
Return the total number of unique reroll actions for the given roll
getNumSortedRolls(int) - Static method in class DiceUtil
Return the number of unique sorted rolls given the number of dice.
getRerollFlags(int, int[], boolean[]) - Static method in class YahtzeeUtil
Given rerollID and roll, write reroll booleans to given reroll array.
getRollProb(int, int) - Static method in class YahtzeeUtil
Given a roll id and the given number of dice, return the probability of getting that roll when rolling that number of dice.

I

idToRerollIdToFlags - Static variable in class YahtzeeUtil
array where first index of roll id and second index of reroll id maps to boolean array with true values corresponding to indices of corresponding roll array that are to be rerolled
idToRerollIdToIndices - Static variable in class YahtzeeUtil
array where first index of roll id and second index of reroll id maps to int array listing indices of corresponding roll array that are to be rerolled
idToRoll - Static variable in class YahtzeeUtil
integer array mapping roll id to int array with ascending sorted roll values
intToRankCounts(int, int, int[]) - Static method in class DiceUtil
Convert an integer roll ID number to the corresponding dice rank counts representation
intToRoll(int, int[]) - Static method in class DiceUtil
Convert an integer roll ID to the corresponding roll (sorted ascending)

M

main(String[]) - Static method in class DiceUtil
A test of conversion from roll number to rank counts to roll back to rank counts and back to roll number to check consistency of conversions for all possible rolls where dice order does not matter.
main(String[]) - Static method in class YahtzeeUtil
Test method for YahtzeeUtil.java
MAX_DICE - Static variable in class DiceUtil
Maximum number of dice modeled
MAX_RANK - Static variable in class DiceUtil
Maximum die rank
MIN_RANK - Static variable in class DiceUtil
Minimum die rank

N

NUM_CATEGORIES - Static variable in class YahtzeeUtil
number of categories
NUM_DICE - Static variable in class YahtzeeUtil
number of dice
NUM_RANKS - Static variable in class DiceUtil
Number of die ranks.
NUM_RANKS - Static variable in class YahtzeeUtil
number of ranks
NUM_ROLLS - Static variable in class YahtzeeUtil
number of unique sorted rolls of NUM_DICE dice with NUM_RANKS ranks

R

rankCountsToInt(int, int[]) - Static method in class DiceUtil
Given the number of dice and the rank counts, return a unique integer roll ID from an enumeration of all possible rolls
rankCountsToInt(int[]) - Static method in class DiceUtil
Given the rank counts, return the unique integer ID representing that roll from an enumeration of all possible rolls.
rankCountsToRoll(int[], int[]) - Static method in class DiceUtil
Convert a rank count representation of a roll to a sorted roll representation.
rollRerollRollTransitionProbs - Static variable in class YahtzeeUtil
array where first index of roll id and second index of reroll id and third index of next roll id maps to a probability of transitioning to next roll given roll and reroll action.
rollToInt(int[]) - Static method in class DiceUtil
Return roll ID number associated with given ascending sorted roll array.
rollToRankCounts(int[], int[]) - Static method in class DiceUtil
Convert an unsorted roll representation to a rank count representation.

U

UPPER_BONUS_LIMIT - Static variable in class YahtzeeUtil
upper section bonus limit

Y

YahtzeeUtil - Class in <Unnamed>
 
YahtzeeUtil() - Constructor for class YahtzeeUtil
 
C D G I M N R U Y 
Skip navigation links