Searched refs:numBars (Results 1 – 3 of 3) sorted by relevance
66 for (long numBars : barsPrecedingEachStar) { in getReportConfigsForSequenceIndex()67 if (numBars == 0L) { in getReportConfigsForSequenceIndex()72 int[] reportConfig = createReportingConfig(numBars, noiseParams); in getReportConfigsForSequenceIndex()85 private static int[] createReportingConfig(long numBars, ImpressionNoiseParams noiseParams) { in createReportingConfig() argument86 long triggerData = (numBars - 1L) % ((long) noiseParams.getTriggerDataCardinality()); in createReportingConfig()87 long remainingData = (numBars - 1L) / ((long) noiseParams.getTriggerDataCardinality()); in createReportingConfig()
116 public static long getNumberOfStarsAndBarsSequences(int numStars, int numBars) { in getNumberOfStarsAndBarsSequences() argument118 return LongMath.binomial(numStars + numBars, numStars); in getNumberOfStarsAndBarsSequences()161 int numBars = Math.multiplyExact(numTriggerData, numWindows); in getNumStatesArithmetic() local162 return getNumberOfStarsAndBarsSequences(numStars, numBars); in getNumStatesArithmetic()
248 int numBars = getTriggerDataCardinality() in validateAndSetNumReportStates() local252 long numStates = Combinatorics.getNumberOfStarsAndBarsSequences(numStars, numBars); in validateAndSetNumReportStates()