evalMultiHandSpecialK: Evaluate multiple poker hands using the SpecialK evaluator

Description Usage Arguments Details Value Note References Examples

Description

Returns an integer vector, where higher = a better hand

Usage

1

Arguments

x

An integer vector.

Details

No details

Value

an integer, where higher = better

Note

No notes

References

https://gist.github.com/EluctariLLC/832122

Examples

1
2
3
4
5
n <- 2e7 #20 million hands
cards <- sample(1:52, 7*n, replace=TRUE)
t1 <- system.time(res_sk <- evalMultiHandSpecialK(cards))
hps <- prettyNum(n / t1[['elapsed']],big.mark=",",scientific=FALSE)
print(paste("evaluated", hps, "poker hands per second"))

zachmayer/pokeR documentation built on May 4, 2019, 9:05 p.m.