Skip to main content

flopToRiverAtLeastOneHitDisjointOutsSum

Sum disjoint categories, then same two-street hit formula (categories must not share outs).

flopToRiverAtLeastOneHitDisjointOutsSum(unseenAfterFlop: number, outsPerCategory: number[]): number

Import

const poker = require('poker-calculations');

ESM (Node):

import { createRequire } from 'module';
const require = createRequire(import.meta.url);
const poker = require('poker-calculations');

When to use

You have several non-overlapping out buckets (e.g. overcards + gutshot blocks counted separately with no shared cards). Simpler than union helpers when overlap is zero by construction.

How to use

const p = poker.flopToRiverAtLeastOneHitDisjointOutsSum(47, [6, 3, 2]);
console.log(p); // 11 effective outs → same as flopToRiver(11, 47)

console.log(poker.flopToRiverAtLeastOneHitProbability(11, 47));

See also

flopToRiverAtLeastOneHitProbability · flopToRiverAtLeastOneHitUnionTwoCategories