PGASetPrintOptions(7)

PGASetPrintOptions7

Set flags to indicate what ga statistics should be printed whenever output is printed.

Usage

#include "pgapack.h"
void  PGASetPrintOptions(ctx, option)
PGAContext *ctx
int option

Overview

May be called more than once to specify different report options. Valid choices are PGA_REPORT_AVERAGE, PGA_REPORT_OFFLINE, PGA_REPORT_ONLINE, PGA_REPORT_WORST, PGA_REPORT_HAMMING, and PGA_REPORT_STRING to specify offline analysis, online analysis, the worst string in the population, the Hamming distance of the population, and the actual allele values of the best string. The best string is always printed.

Input parameters

ctx

- context variable

option

- symbolic constant to specify a print option

Output parameters

none

Location

report.c

Examples

Example:
PGAContext *ctx;
:
PGASetPrintOptions(ctx, PGA_REPORT_WORST);

Releases

Unchanged in 4 releases since Debian 5.0 (Lenny).

  1. 5.0–8

From pgapack 1.1.1-3 in Debian 8 (Jessie). Parsed by carta from the page's man source.