PGASetPrintFrequencyValue(7)

PGASetPrintFrequencyValue7

Specifies the frequency with which genetic algorithm statistics are reported.

Usage

#include "pgapack.h"
void  PGASetPrintFrequencyValue(ctx, print_freq)
PGAContext *ctx
int print_freq

Overview

The default is every 10 GA iterations. Used only if PGARun() is used to run the GA.

Input parameters

ctx

- context variable

print_freq

- the genetic algorithm population size to use

Output parameters

none

Location

report.c

Examples

Example:
PGAContext *ctx;
:
PGASetPrintFrequencyValue(ctx,1);

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.