Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Approximate ¶
func NewApproximate ¶
func NewApproximate(communityCards models.CommunityCards, playerCards []models.DealtCards, playersCount int, simulationRounds int, concurrency int) *Approximate
func (*Approximate) Run ¶
func (a *Approximate) Run() Result
type Deterministic ¶
type Deterministic struct { }
func (Deterministic) Run ¶
func (d Deterministic) Run() Result
type PlayerResult ¶
type PlayerResult struct { Cards models.DealtCards WinProbability float64 TieProbability float64 }
type ProbabilityCalculator ¶
type ProbabilityCalculator interface {
Run() Result
}
type Result ¶
type Result struct {
PlayerResult []PlayerResult
}
Click to show internal directories.
Click to hide internal directories.