ืื ื’ืœื™ืชืฆืจืคืชื™ืชืกืคืจื“ื™

ืกืžืœ OnWorks

PGFitness - ืžืงื•ื•ืŸ ื‘ืขื ืŸ

ื”ืคืขืœ ืืช PGFitness ื‘ืกืคืง ืื™ืจื•ื— ื‘ื—ื™ื ื ืฉืœ OnWorks ืขืœ ืื•ื‘ื•ื ื˜ื• ืื•ื ืœื™ื™ืŸ, ืคื“ื•ืจื” ืื•ื ืœื™ื™ืŸ, ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ Windows ืื• ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ MAC OS

ื–ื•ื”ื™ ื”ืคืงื•ื“ื” PGAFitness ืฉื ื™ืชืŸ ืœื”ืจื™ืฅ ื‘ืกืคืง ื”ืื™ืจื•ื— ื”ื—ื™ื ืžื™ ืฉืœ OnWorks ื‘ืืžืฆืขื•ืช ืื—ืช ืžืชื—ื ื•ืช ื”ืขื‘ื•ื“ื” ื”ืžืงื•ื•ื ื•ืช ื”ืžืจื•ื‘ื•ืช ืฉืœื ื•, ื›ื’ื•ืŸ Ubuntu Online, Fedora Online, ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ Windows ืื• ืืžื•ืœื˜ื•ืจ ืžืงื•ื•ืŸ ืฉืœ MAC OS

ืชึธื›ึฐื ึดื™ืช:

ืฉืึตื


PGAFitness - ืžืžืคื” ืืช ืขืจืš ืคื•ื ืงืฆื™ื™ืช ื”ื”ืขืจื›ื” ืฉืœ ื”ืžืฉืชืžืฉ ืœืขืจืš ื›ื•ืฉืจ.

ืชื™ืื•ืจ


ืจืืฉื™ืช, ืขืจืš ืคื•ื ืงืฆื™ื™ืช ื”ื”ืขืจื›ื” ืฉืœ ื”ืžืฉืชืžืฉ ืžืชื•ืจื’ื ืœื›ืœ ื”ืขืจื›ื™ื ื”ื—ื™ื•ื‘ื™ื™ื ืื ืงื™ื™ืžื™ื
ื”ื ืฉืœื™ืœื™ื™ื. ืœืื—ืจ ืžื›ืŸ, ืจืฆืฃ ื—ื™ื•ื‘ื™ ื–ื” ืžืชื•ืจื’ื ืœื‘ืขื™ื™ืช ืžืงืกื•ื ืื
ื›ื™ื•ื•ืŸ ื”ืื•ืคื˜ื™ืžื™ื–ืฆื™ื” ืฉืœ ื”ืžืฉืชืžืฉ ื”ื™ื” ืžื–ืขื•ืจ. ืœืื—ืจ ืžื›ืŸ ืžืžื•ืคื” ื”ืจืฆืฃ ื”ื—ื™ื•ื‘ื™ ื”ื–ื” ืœ
ืขืจืš ื›ื•ืฉืจ ื‘ืืžืฆืขื•ืช ื“ื™ืจื•ื’ ืœื™ื ื™ืืจื™, ื›ื•ืฉืจ ื ื•ืจืžืœื™ื–ืฆื™ื” ืœื™ื ื™ืืจื™ ืื• ื”ื–ื”ื•ืช (ื›ืœื•ืžืจ,
ืขืจืš ืคื•ื ืงืฆื™ื™ืช ื”ื”ืขืจื›ื”). ืฉื’ืจื” ื–ื• ืžืฉืžืฉืช ื‘ื“ืจืš ื›ืœืœ ืœืื—ืจ ืงืจื™ืืช PGAEvaluate.

ืงืœื˜ ืคืจืžื˜ืจื™ื


ctx - ืžืฉืชื ื” ื”ืงืฉืจ
ืคื•ืค - ืงื‘ื•ืข ืกืžืœื™ ืฉืœ ื”ืื•ื›ืœื•ืกื™ื™ื” ืœื—ื™ืฉื•ื‘ ื”ื›ื•ืฉืจ ืขื‘ื•ืจื•

ืชืคื•ืงื” ืคืจืžื˜ืจื™ื


ืืฃ ืœื ืื—ื“

ืชึทืงืฆึดื™ืจ


#include "pgapack.h"
void PGFitness(ctx, popindex)
PGAContext *ctx
int popindex

ืœื•ืงื™ื™ืฉืŸ


ื›ื•ืฉืจ.ื’

ื“ื•ื’ืžื


ื“ื•ื’ืžื:
ื—ืฉื‘ ืืช ื”ื›ื•ืฉืจ ืฉืœ ื›ืœ ื”ืžื™ืชืจื™ื ื‘ืื•ื›ืœื•ืกื™ื™ืช PGA_NEWPOP ืœืื—ืจ
ืงื•ืจื ืœ-PGAEvaluate ื›ื“ื™ ืœื—ืฉื‘ ืืช ืขืจืš ื”ืขืจื›ืช ื”ืžื—ืจื•ื–ื•ืช.

ืื ืจื’ื™ื” ื›ืคื•ืœื” (PGAContext *ctx, int p, int pop);
PGAContext *ctx;
:
PGAEvaluate(ctx, PGA_NEWPOP, energy);
PGAFitness (ctx, PGA_NEWPOP);

05/01/95 PGAFitness(1)

ื”ืฉืชืžืฉ ื‘-PGFitness ื‘ืื•ืคืŸ ืžืงื•ื•ืŸ ื‘ืืžืฆืขื•ืช ืฉื™ืจื•ืชื™ onworks.net


ืฉืจืชื™ื ื•ืชื—ื ื•ืช ืขื‘ื•ื“ื” ื‘ื—ื™ื ื

ื”ื•ืจื“ ืืคืœื™ืงืฆื™ื•ืช Windows & Linux

ืคืงื•ื“ื•ืช ืœื™ื ื•ืงืก

Ad