Skip to main content

IcmFieldPressureIndexResult

Returned by icmFieldPressureIndex. Pass heroIndex and potChips on the API call — they are not fields on this object.

FieldTypeMeaning
indexnumberStack-weighted field pressure score
pairwiseBubbleFactorsnumber[] | Float64ArrayPer-seat bubble factor vs hero (hero slot is unused)
argmaxVillainnumberSeat index with largest raw bubble factor vs hero

Semantics

For each villain seat j ≠ hero, pairwiseBubbleFactors[j] is icmPairwiseBubbleFactor for hero vs j at the given pot size. The aggregate index is a stack-weighted sum of bf / (1 + bf) over opposing seats. argmaxVillain is the j with the largest raw bubble factor.

Example

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

const stacks = [12000, 9000, 6000, 3000];
const payouts = [10000, 6000, 3000, 1000];
const heroIndex = 0;

const { index, pairwiseBubbleFactors, argmaxVillain } = poker.icmFieldPressureIndex(
stacks,
payouts,
heroIndex,
500,
);

See also

icmFieldPressureIndex · icmPairwiseBubbleFactor · Float64 ICM input