---
name: "PGAGetPTournamentProb"
section: "3"
platform: "linux"
package: "pgapack"
version: "1.1.1-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/PGAGetPTournamentProb"
---

# PGAGetPTournamentProb(3)

returns the probability of selecting the best string in a probabilistic binary tournament

## NAME

PGAGetPTournamentProb - returns the probability of selecting the best string in a probabilistic binary tournament

## INPUT PARAMETERS

- ctx

  \- context variable

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
double  PGAGetPTournamentProb(ctx)
PGAContext *ctx
```

## LOCATION

select.c

## EXAMPLE

```
Example:
PGAContext *ctx;
double pt;
:
pt = PGAGetPTournamentProb(ctx);
```
