You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by da...@apache.org on 2017/05/28 18:31:51 UTC

svn commit: r1796518 [8/19] - in /spamassassin/trunk/build/pga: ./ docs/ examples/ examples/c/ examples/fortran/ examples/mgh/ examples/templates/ include/ lib/ lib/linux/ man/ man/man1/ man/man2/ man/man3/ man/man4/ man/man5/ man/man6/ man/man7/ man/m...

Added: spamassassin/trunk/build/pga/man/man3/PGAGetSelectType.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGAGetSelectType.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGAGetSelectType.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGAGetSelectType.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,46 @@
+.TH PGAGetSelectType 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetSelectType \- Returns the type of selection selected
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetSelectType(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+select.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int selecttype;
+:
+selecttype = PGAGetSelectType(ctx);
+switch (selecttype) {
+case PGA_SELECT_PROPORTIONAL:
+printf("Selection Type = PGA_SELECT_PROPORTIONAL\n");
+break;
+case PGA_SELECT_SUS:
+printf("Selection Type = PGA_SELECT_SUS\n");
+break;
+case PGA_SELECT_TOURNAMENT:
+printf("Selection Type = PGA_SELECT_TOURNAMENT\n");
+break;
+case PGA_SELECT_PTOURNAMENT:
+printf("Selection Type = PGA_SELECT_PTOURNAMENT\n");
+break;
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGAGetUniformCrossoverProb.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGAGetUniformCrossoverProb.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGAGetUniformCrossoverProb.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGAGetUniformCrossoverProb.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,33 @@
+.TH PGAGetUniformCrossoverProb 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetUniformCrossoverProb \- returns the probability of a bit being
+selected from the first child string in uniform crossover
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+double  PGAGetUniformCrossoverProb(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+cross.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+double pu;
+:
+pu = PGAGetUniformCrossoverProb(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGAMutate.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGAMutate.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGAMutate.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGAMutate.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,52 @@
+.TH PGAMutate 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAMutate \- This routine performs mutation on a string.  
+.SH DESCRIPTION
+The type of mutation
+depends on the data type.  Refer to the user guide for data-specific
+examples.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- index of string to mutate
+.PD 0
+.TP
+pop
+- symbolic constant of the population containing p
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAMutate(ctx, p, pop)
+PGAContext *ctx
+int p
+int pop
+.fi
+.SH LOCATION
+mutation.c
+.SH EXAMPLE
+.nf
+Example:
+Mutate the best string in the population, until 10 or more mutations
+have occured.
+
+PGAContext *ctx;
+int p, count = 0;
+:
+p = PGAGetBestIndex(ctx, PGA_NEWPOP);
+while (count < 10) {
+count += PGAMutate(ctx, p, PGA_NEWPOP);
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGARestart.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGARestart.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGARestart.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGARestart.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,51 @@
+.TH PGARestart 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARestart \- reseeds a population from the best string
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+val
+- the probability of changing an allele when copying the
+best string to the new population
+.PD 0
+.TP
+source_pop
+- the source population
+.PD 0
+.TP
+dest_pop
+- symbolic constant of the destination population
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+side
+-effect.
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGARestart(ctx, source_pop, dest_pop)
+PGAContext *ctx
+int source_pop
+int dest_pop
+.fi
+.SH LOCATION
+restart.c
+.SH EXAMPLE
+.nf
+Perform an unspecified test to determine if the current evolution is
+not evolving fast enough, and if so, restart the evolution.
+
+PGAContext *ctx;	    PGAEvaluateMS(ctx, PGA_OLDPOP, f, comm);
+PGAFitness   (ctx, PGA_OLDPOP);
+}
+
+:
+if (StagnantEvolution()) {
+PGARestart(ctx, PGA_OLDPOP, PGA_NEWPOP);
+PGAEvaluate(ctx, PGA_NEWPOP, EvalFunc);
+PGAUpdateGeneration(ctx);
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASelect.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASelect.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASelect.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASelect.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,44 @@
+.TH PGASelect 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASelect \- performs genetic algorithm selection using either the default
+selection scheme or that specified with PGASetSelectType().  
+.SH DESCRIPTION
+Valid selection methods are proportional, stochastic universal, tournament, or probabilistic
+tournament selection, PGA_SELECT_PROPORTIONAL, PGA_SELECT_SUS, 
+PGA_SELECT_TOURNAMENT, and PGA_SELECT_PTOURNAMENT, respectively.  This 
+function updates an internal array with the indices of members of popix 
+selected for recombination.  These indices may be accessed with 
+PGASelectNextIndex()
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+popix
+- symbolic constant of population to select from
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASelect(ctx, popix)
+PGAContext *ctx
+int popix
+.fi
+.SH LOCATION
+select.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx,
+:
+PGASelect(ctx, PGA_OLDPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASelectNextIndex.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASelectNextIndex.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASelectNextIndex.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASelectNextIndex.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,33 @@
+.TH PGASelectNextIndex 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASelectNextIndex \- returns the index of next individual in
+internal array that contains the indices determined by PGASelect
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGASelectNextIndex(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+select.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int l;
+:
+l = PGASelectNextIndex(ctx, PGA_OLDPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetCrossoverProb.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetCrossoverProb.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetCrossoverProb.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetCrossoverProb.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,41 @@
+.TH PGASetCrossoverProb 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetCrossoverProb \- Probability that a selected string will undergo
+crossover.  
+.SH DESCRIPTION
+The default is 0.85.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- the crossover probability
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetCrossoverProb(ctx, crossover_prob)
+PGAContext *ctx
+double crossover_prob
+.fi
+.SH LOCATION
+cross.c
+.SH EXAMPLE
+.nf
+Example:
+Make crossover happen infrequently.
+
+PGAContext *ctx;
+:
+PGASetCrossoverProb(ctx,0.001);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetCrossoverType.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetCrossoverType.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetCrossoverType.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetCrossoverType.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,42 @@
+.TH PGASetCrossoverType 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetCrossoverType \- specify the type of crossover to use. 
+.SH DESCRIPTION
+Valid choices are PGA_CROSSOVER_ONEPT, PGA_CROSSOVER_TWOPT, or PGA_CROSSOVER_UNIFORM for
+one-point, two-point, and uniform crossover, respectively.  The default is
+PGA_CROSSOVER_TWOPT.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+crossover_type
+- symbolic constant to specify crossover type
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetCrossoverType(ctx, crossover_type)
+PGAContext *ctx
+int crossover_type
+.fi
+.SH LOCATION
+cross.c
+.SH EXAMPLE
+.nf
+Example:
+Use uniform crossover when crossingover strings.
+
+PGAContext *ctx;
+:
+PGASetCrossoverType(ctx, PGA_CROSSOVER_UNIFORM);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetMutationBoundedFlag.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetMutationBoundedFlag.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetMutationBoundedFlag.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetMutationBoundedFlag.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,42 @@
+.TH PGASetMutationBoundedFlag 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetMutationBoundedFlag \- If this flag is set to PGA_TRUE, then for
+Integer and Real strings whenever a gene is mutated, if it underflows
+(overflows) the lower (upper)bound it is reset to the lower (upper) bound.
+.SH DESCRIPTION
+In this way all allele values remain within the range the integer strings
+were initialized on.  If this flag is PGA_FALSE (the default), the alleles
+may take any values.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+flag
+- either PGA_TRUE or PGA_FALSE
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetMutationBoundedFlag(ctx, val)
+PGAContext *ctx
+int val
+.fi
+.SH LOCATION
+mutation.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetMutationBoundedFlag(ctx, PGA_TRUE);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetMutationIntegerValue.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetMutationIntegerValue.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetMutationIntegerValue.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetMutationIntegerValue.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,40 @@
+.TH PGASetMutationIntegerValue 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetMutationIntegerValue \- Set multiplier to mutate PGA_DATATYPE_INTEGER
+strings with.  
+.SH DESCRIPTION
+The use of this value depends on the type of mutation
+being used.  The default value is 1.  See the user guide for more details.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+val
+- the mutation value to use for Integer mutation
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetMutationIntegerValue(ctx, val)
+PGAContext *ctx
+int val
+.fi
+.SH LOCATION
+mutation.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetMutationIntegerValue(ctx, 5);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetMutationProb.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetMutationProb.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetMutationProb.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetMutationProb.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,41 @@
+.TH PGASetMutationProb 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetMutationProb \- Specifies the probability that a given allele will
+be mutated.  
+.SH DESCRIPTION
+If this is called without calling PGASetMutationType(), the
+default mutation type is PGA_MUTATION_FIXED.  The default probability is
+the reciprocal of the string length.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- the mutation probability
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetMutationProb(ctx, mutation_prob)
+PGAContext *ctx
+double mutation_prob
+.fi
+.SH LOCATION
+mutation.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetMutationProb(ctx,0.001);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetMutationRealValue.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetMutationRealValue.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetMutationRealValue.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetMutationRealValue.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,40 @@
+.TH PGASetMutationRealValue 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetMutationRealValue \- Set multiplier to mutate PGA_DATATYPE_REAL
+strings with.  
+.SH DESCRIPTION
+The use of this value depends on the type of mutation
+being used.  The default value is 0.1.  See the user guide for more details.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+val
+- the mutation value to use for Real mutation
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetMutationRealValue(ctx, val)
+PGAContext *ctx
+double val
+.fi
+.SH LOCATION
+mutation.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetMutationRealValue(ctx,50.0);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetPTournamentProb.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetPTournamentProb.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetPTournamentProb.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetPTournamentProb.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,41 @@
+.TH PGASetPTournamentProb 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetPTournamentProb \- Specifies the probability that the string that wins
+a binary tournament will be selected.  
+.SH DESCRIPTION
+This function will have no effect
+unless PGA_SELECT_PTOURNAMENT was specified as the type of selection to
+use with PGASetSelectType.  The default value is 0.6.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- the probability of selecting the better string
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetPTournamentProb(ctx, ptournament_prob)
+PGAContext *ctx
+double ptournament_prob
+.fi
+.SH LOCATION
+select.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetPTournamentProb(ctx,0.8);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetRestartAlleleChangeProb.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetRestartAlleleChangeProb.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetRestartAlleleChangeProb.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetRestartAlleleChangeProb.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,37 @@
+.TH PGASetRestartAlleleChangeProb 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetRestartAlleleChangeProb \- specifies the probability with which
+an allele will be mutated during a restart
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+prob
+- probability of mutation
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetRestartAlleleChangeProb(ctx, prob)
+PGAContext *ctx
+double prob
+.fi
+.SH LOCATION
+restart.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetRestartAlleleChangeProb(ctx, 0.5);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetRestartFlag.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetRestartFlag.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetRestartFlag.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetRestartFlag.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,37 @@
+.TH PGASetRestartFlag 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetRestartFlag \- specifies whether the algorithm should employ
+the restart operator
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+val
+- boolean variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetRestartFlag(ctx, val)
+PGAContext *ctx
+int val
+.fi
+.SH LOCATION
+restart.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetRestartFlag(ctx, PGA_TRUE);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetRestartFrequencyValue.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetRestartFrequencyValue.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetRestartFrequencyValue.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetRestartFrequencyValue.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,37 @@
+.TH PGASetRestartFrequencyValue 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetRestartFrequencyValue \- specifies the number of iterations of no
+change in the best string after which the algorithm should restart
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+numiter
+- number of changeless iterations
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetRestartFrequencyValue(ctx, numiter)
+PGAContext *ctx
+int numiter
+.fi
+.SH LOCATION
+restart.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetRestartFrequencyValue(ctx, 100);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetSelectType.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetSelectType.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetSelectType.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetSelectType.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,42 @@
+.TH PGASetSelectType 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetSelectType \- specify the type of selection to use. 
+.SH DESCRIPTION
+Valid choices
+are PGA_SELECT_PROPORTIONAL, PGA_SELECT_SUS, PGA_SELECT_TOURNAMENT, and
+PGA_SELECT_PTOURNAMENT for proportional, stochastic universal selection,
+tournament, and probabilistic tournament selection, respectively.  The
+default is PGA_SELECT_TOURNAMENT.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+select_type
+- symbolic constant to specify selection type
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetSelectType(ctx, select_type)
+PGAContext *ctx
+int select_type
+.fi
+.SH LOCATION
+select.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetSelectType(ctx, PGA_SELECT_SUS);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man3/PGASetUniformCrossoverProb.3
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man3/PGASetUniformCrossoverProb.3?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man3/PGASetUniformCrossoverProb.3 (added)
+++ spamassassin/trunk/build/pga/man/man3/PGASetUniformCrossoverProb.3 Sun May 28 18:31:49 2017
@@ -0,0 +1,42 @@
+.TH PGASetUniformCrossoverProb 3 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetUniformCrossoverProb \- Probability used in uniform crossover
+to specify that an allele value value be selected from a particular
+parent. 
+.SH DESCRIPTION
+The default is 0.6.  The crossover type must have been set
+to PGA_CROSSOVER_UNIFORM with PGASetCrossoverType for this function
+call to have any effect.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- the crossover probability
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetUniformCrossoverProb(ctx, uniform_cross_prob)
+PGAContext *ctx
+double uniform_cross_prob
+.fi
+.SH LOCATION
+cross.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetUniformCrossoverProb(ctx,0.9);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man4/PGABuildDatatype.4
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man4/PGABuildDatatype.4?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man4/PGABuildDatatype.4 (added)
+++ spamassassin/trunk/build/pga/man/man4/PGABuildDatatype.4 Sun May 28 18:31:49 2017
@@ -0,0 +1,43 @@
+.TH PGABuildDatatype 4 "05/01/95" " " "PGAPack"
+.SH NAME
+PGABuildDatatype \- Build an MPI datatype for string p in population pop.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- index of an individual
+.PD 0
+.TP
+pop
+- symbolic constant of the population
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+MPI_Datatype  PGABuildDatatype(ctx, p, pop)
+PGAContext *ctx
+int p
+int pop
+.fi
+.SH LOCATION
+parallel.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int p;
+MPI_Datatype dt;
+:
+dt = PGABuildDatatype(ctx, p, PGA_NEWPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man4/PGAGetCommunicator.4
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man4/PGAGetCommunicator.4?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man4/PGAGetCommunicator.4 (added)
+++ spamassassin/trunk/build/pga/man/man4/PGAGetCommunicator.4 Sun May 28 18:31:49 2017
@@ -0,0 +1,37 @@
+.TH PGAGetCommunicator 4 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetCommunicator \- Returns the default communicator used when PGARun is
+called.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+MPI_Comm  PGAGetCommunicator(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+parallel.c
+.SH EXAMPLE
+.nf
+Example:
+MPI_Comm comm;
+PGAContext *ctx,
+double f(PGAContext *ctx, int p, int pop);
+:
+ctx = PGACreate(&argc, argv, PGA_DATATYPE_BINARY, 100, PGA_MAXIMIZE);
+PGASetUp(ctx);
+comm = PGAGetCommunicator(ctx);
+
+
+.fi

Added: spamassassin/trunk/build/pga/man/man4/PGAGetNumProcs.4
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man4/PGAGetNumProcs.4?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man4/PGAGetNumProcs.4 (added)
+++ spamassassin/trunk/build/pga/man/man4/PGAGetNumProcs.4 Sun May 28 18:31:49 2017
@@ -0,0 +1,42 @@
+.TH PGAGetNumProcs 4 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetNumProcs \- Returns the size of communicator comm in processes. 
+.SH DESCRIPTION
+If comm is NULL or a sequential version of PGAPack is used, PGAGetNumProcs()
+returns 1.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable structure pointer
+.PD 0
+.TP
+comm
+- an MPI communicator
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetNumProcs(ctx, comm)
+PGAContext *ctx
+MPI_Comm comm
+.fi
+.SH LOCATION
+parallel.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext  *ctx;
+:
+if (PGAGetNumProcs(ctx, MPI_COMM_WORLD) < 4) {
+printf("Too few processors for decent performance!\n");
+exit(-1);
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man4/PGAGetRank.4
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man4/PGAGetRank.4?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man4/PGAGetRank.4 (added)
+++ spamassassin/trunk/build/pga/man/man4/PGAGetRank.4 Sun May 28 18:31:49 2017
@@ -0,0 +1,42 @@
+.TH PGAGetRank 4 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetRank \- Returns the rank of the processor in communicator comm.  If
+comm is NULL or a sequential version of PGAPack is used, PGAGetRank()
+returns 0.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable structure pointer
+.PD 0
+.TP
+comm
+- an MPI communicator
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetRank(ctx, comm)
+PGAContext *ctx
+MPI_Comm comm
+.fi
+.SH LOCATION
+parallel.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext  *ctx;
+int          rank;
+:
+rank = PGAGetRank(ctx, MPI_COMM_WORLD);
+if (rank == 0) {
+LetTheMasterDoSomething();
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man4/PGAReceiveIndividual.4
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man4/PGAReceiveIndividual.4?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man4/PGAReceiveIndividual.4 (added)
+++ spamassassin/trunk/build/pga/man/man4/PGAReceiveIndividual.4 Sun May 28 18:31:49 2017
@@ -0,0 +1,63 @@
+.TH PGAReceiveIndividual 4 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAReceiveIndividual \- receive an individual from another process
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- contex variable
+.PD 0
+.TP
+p
+- index of an individual
+.PD 0
+.TP
+pop
+- symbolic constant of the population
+.PD 0
+.TP
+source
+- ID of the process from which to receive
+.PD 0
+.TP
+tag
+- MPI tag to look for
+.PD 0
+.TP
+status
+- pointer to an MPI status structure
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+side
+-effect.
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGAReceiveIndividual(ctx, p, pop, source, tag, comm, status)
+PGAContext *ctx
+int p
+int pop
+int source
+int tag
+MPI_Comm comm
+MPI_Status *status
+.fi
+.SH LOCATION
+parallel.c
+.SH EXAMPLE
+.nf
+Receive a string from the master process (rank == 0) with tag
+PGA_SR_STRINGTOEVAL, and place it into the first temporary location
+in PGA_NEWPOP.
+
+PGAContext *ctx;
+MPI_Comm    comm;
+MPI_Status  status;
+:
+PGAReceiveIndividual(ctx, PGA_TEMP1, PGA_NEWPOP, 0, PGA_SR_STRINGTOEVAL,
+comm, &status);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man4/PGASendIndividual.4
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man4/PGASendIndividual.4?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man4/PGASendIndividual.4 (added)
+++ spamassassin/trunk/build/pga/man/man4/PGASendIndividual.4 Sun May 28 18:31:49 2017
@@ -0,0 +1,57 @@
+.TH PGASendIndividual 4 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASendIndividual \- transmit an individual to another process
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- index of an individual
+.PD 0
+.TP
+pop
+- symbolic constant of the population
+.PD 0
+.TP
+dest
+- ID of the process where this is going
+.PD 0
+.TP
+tag
+- MPI tag to send with the individual
+.PD 0
+.TP
+comm
+- MPI communicator
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASendIndividual(ctx, p, pop, dest, tag, comm)
+PGAContext *ctx
+int p
+int pop
+int dest
+int tag
+MPI_Comm comm
+.fi
+.SH LOCATION
+parallel.c
+.SH EXAMPLE
+.nf
+PGAContext *ctx;
+int p, dest;
+:
+dest = SelectAFreeProcessor();
+PGASendIndividual(ctx, p, PGA_NEWPOP, dest, PGA_SR_STRINGTOEVAL, comm);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man4/PGASendReceiveIndividual.4
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man4/PGASendReceiveIndividual.4?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man4/PGASendReceiveIndividual.4 (added)
+++ spamassassin/trunk/build/pga/man/man4/PGASendReceiveIndividual.4 Sun May 28 18:31:49 2017
@@ -0,0 +1,91 @@
+.TH PGASendReceiveIndividual 4 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASendReceiveIndividual \- Send an individual to a process, while receiving
+a different individual from a different process.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+send_p
+- index of string to send
+.PD 0
+.TP
+send_pop
+- symbolic constant of population to send from
+.PD 0
+.TP
+dest
+- destination process
+.PD 0
+.TP
+send_tag
+- tag to send with
+.PD 0
+.TP
+recv_p
+- index of string to receive
+.PD 0
+.TP
+recv_pop
+- symbolic constant of population to receive from
+.PD 0
+.TP
+source
+- process to receive from
+.PD 0
+.TP
+recv_tag
+- tag to receive with
+.PD 0
+.TP
+comm
+- an MPI communicator
+.PD 0
+.TP
+status
+- pointer to the MPI status structure
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASendReceiveIndividual(ctx, send_p, send_pop, dest, send_tag, recv_p, recv_pop, source, recv_tag, comm, status)
+PGAContext *ctx
+int send_p
+int send_pop
+int dest
+int send_tag
+int recv_p
+int recv_pop
+int source
+int recv_tag
+MPI_Comm comm
+MPI_Status *status
+.fi
+.SH LOCATION
+parallel.c
+.SH EXAMPLE
+.nf
+Example:
+A dedicated process is being used to perform an optimization algorithm
+on the strings.  Send a new string, s, to the process, while receiving an
+optimized string, r, from it.
+
+PGAContext *ctx;
+MPI_Comm    comm;
+MPI_Status  status;
+int  s, r;
+:
+PGASendReceiveIndividual(ctx, s, PGA_NEWPOP, 1, PGA_SR_STRINGTOMODIFY,
+r, PGA_NEWPOP, 1, PGA_SR_MODIFIEDSTRING,
+comm, &status);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man4/PGASetCommunicator.4
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man4/PGASetCommunicator.4?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man4/PGASetCommunicator.4 (added)
+++ spamassassin/trunk/build/pga/man/man4/PGASetCommunicator.4 Sun May 28 18:31:49 2017
@@ -0,0 +1,46 @@
+.TH PGASetCommunicator 4 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetCommunicator \- Set the default communicator to use when PGARun is
+called.  
+.SH DESCRIPTION
+Does not necessarily need to be the same as the number of
+processes in MPI_COMM_WORLD (which is the default).
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+comm
+- communicator to use
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetCommunicator(ctx, comm)
+PGAContext *ctx
+MPI_Comm comm
+.fi
+.SH LOCATION
+parallel.c
+.SH EXAMPLE
+.nf
+Example:
+MPI_Comm mycomm;
+PGAContext *ctx,
+double f(PGAContext *ctx, int p, int pop);
+:
+ctx = PGACreate(&argc, argv, PGA_DATATYPE_BINARY, 100, PGA_MAXIMIZE);
+PGASetCommunicator(ctx, mycomm);
+PGASetUp(ctx);
+PGARun(ctx, f);
+PGADestroy(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGACheckSum.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGACheckSum.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGACheckSum.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGACheckSum.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,43 @@
+.TH PGACheckSum 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGACheckSum \- maps a string to a number to be used a verification check
+PGA_DATATYPE_USER is not supported.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- string index
+.PD 0
+.TP
+pop
+- symbolic constant for the population
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGACheckSum(ctx, p, pop)
+PGAContext *ctx
+int p
+int pop
+.fi
+.SH LOCATION
+utility.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int p, sum;
+:
+sum = PGACheckSum(ctx, p, PGA_NEWPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGAGetBestIndex.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGAGetBestIndex.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGAGetBestIndex.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGAGetBestIndex.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,38 @@
+.TH PGAGetBestIndex 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetBestIndex \- returns the index of the string with the best evaluation
+function value in population pop
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+pop
+- symbolic constant of the population to find the best string in
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetBestIndex(ctx, pop)
+PGAContext *ctx
+int pop
+.fi
+.SH LOCATION
+utility.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int best;
+:
+best = PGAGetBestIndex(ctx,PGA_OLDPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGAGetRandomSeed.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGAGetRandomSeed.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGAGetRandomSeed.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGAGetRandomSeed.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,32 @@
+.TH PGAGetRandomSeed 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetRandomSeed \- returns the integer to seed random numbers with
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetRandomSeed(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+random.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int seed;
+:
+seed = PGAGetRandomSeed(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGAGetWorstIndex.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGAGetWorstIndex.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGAGetWorstIndex.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGAGetWorstIndex.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,38 @@
+.TH PGAGetWorstIndex 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetWorstIndex \- returns the index of the string with the worst
+evaluation function value in population pop
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+pop
+- symbolic constant of the population to find the worst string in
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetWorstIndex(ctx, pop)
+PGAContext *ctx
+int pop
+.fi
+.SH LOCATION
+utility.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int worst;
+:
+worst = PGAGetWorstIndex(ctx,PGA_OLDPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGAHammingDistance.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGAHammingDistance.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGAHammingDistance.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGAHammingDistance.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,41 @@
+.TH PGAHammingDistance 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAHammingDistance \- Calculates the mean Hamming distance for a population
+of binary strings.  
+.SH DESCRIPTION
+For all other data types returns a value of 0.0 and
+prints a warning message.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+popindex
+- symbolic constant of the population for which the
+Hamming distance is to be calculated
+Output:
+The mean Hamming distance in the population
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+double  PGAHammingDistance(ctx, popindex)
+PGAContext *ctx
+int popindex
+.fi
+.SH LOCATION
+hamming.c
+.SH EXAMPLE
+.nf
+:
+hd = PGAHammingDistance(ctx, PGA_NEWPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGAMean.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGAMean.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGAMean.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGAMean.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,42 @@
+.TH PGAMean 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAMean \- calculates the mean value of an array of elements
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+a
+- array to take the mean of
+.PD 0
+.TP
+n
+- number of elements in array a
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+double  PGAMean(ctx, a, n)
+PGAContext *ctx
+double *a
+int n
+.fi
+.SH LOCATION
+utility.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+double a[100], mean;
+:
+mean = PGAMean(ctx, a, 100);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGARandom01.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGARandom01.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGARandom01.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGARandom01.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,43 @@
+.TH PGARandom01 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARandom01 \- generates a uniform random number on the interval [0,1)
+.SH DESCRIPTION
+If the second argument is 0 it returns the next random number in the
+sequence.  Otherwise, the second argument is used as a new seed for the
+population
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+newseed
+- either 0 to get the next random number, or nonzero
+to reseed
+Outputs:
+A random number on the interval [0,1)
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+double  PGARandom01(ctx, newseed)
+PGAContext *ctx
+int newseed
+.fi
+.SH LOCATION
+random.c
+.SH EXAMPLE
+.nf
+PGAContext *ctx;
+double r;
+:
+r = PGARandom01(ctx,0);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGARandomFlip.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGARandomFlip.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGARandomFlip.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGARandomFlip.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,42 @@
+.TH PGARandomFlip 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARandomFlip \- flip a biased coin and return PGA_TRUE if the coin is
+a "winner."  
+.SH DESCRIPTION
+Otherwise, return PGA_FALSE.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- biased probability (.5 is a fair coin)
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGARandomFlip(ctx, p)
+PGAContext *ctx
+double p
+.fi
+.SH LOCATION
+random.c
+.SH EXAMPLE
+.nf
+Example:
+To return PGA_TRUE approximately seventy percent of the time, use
+
+PGAContext *ctx;
+int p;
+:
+PGARandomFlip(ctx, 0.7)
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGARandomGaussian.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGARandomGaussian.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGARandomGaussian.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGARandomGaussian.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,40 @@
+.TH PGARandomGaussian 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARandomGaussian \- returns an approximation to a Gaussian random number
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+mean
+- the mean of the Gaussian distribution
+.PD 0
+.TP
+sigma
+- the standard deviation of the Gaussian distribution
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+double  PGARandomGaussian(ctx, mean, sigma)
+PGAContext *ctx
+double mean
+double sigma
+.fi
+.SH LOCATION
+random.c
+.SH EXAMPLE
+.nf
+Example:
+To generate a Gaussian random number with mean 0.0 and standard
+deviation 1.0 use
+
+PGAContext *ctx;
+:
+r = PGARandomGaussian(ctx, 0.0, 1.0);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGARandomInterval.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGARandomInterval.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGARandomInterval.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGARandomInterval.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,44 @@
+.TH PGARandomInterval 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARandomInterval \- returns a uniform random number on the specified
+interval
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+start
+- starting (integer) value of the interval
+.PD 0
+.TP
+end
+- ending   (integer) value of the interval
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGARandomInterval(ctx, start, end)
+PGAContext *ctx
+int start
+int end
+.fi
+.SH LOCATION
+random.c
+.SH EXAMPLE
+.nf
+Example:
+Generate a value uniformly random from the interval [0,99]
+
+PGAContext *ctx;
+:
+PGARandomInterval(ctx, 0, 99);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGARandomUniform.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGARandomUniform.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGARandomUniform.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGARandomUniform.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,45 @@
+.TH PGARandomUniform 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARandomUniform \- returns a uniform random number on the interval
+[start,end]
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+start
+- starting (double) value of the interval
+.PD 0
+.TP
+end
+- ending   (double) value of the interval
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+double  PGARandomUniform(ctx, start, end)
+PGAContext *ctx
+double start
+double end
+.fi
+.SH LOCATION
+random.c
+.SH EXAMPLE
+.nf
+Example:
+Generate a uniform random number on the interval [-0.5, 1.5]
+
+PGAContext *ctx;
+double r;
+:
+r = PGARandomUniform(ctx, -0.5, 1.5);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGARound.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGARound.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGARound.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGARound.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,37 @@
+.TH PGARound 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARound \- Mathematically round a double to an integer, using 0.5 as the
+cutoff value.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+x
+- the number to be rounded
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGARound(ctx, x)
+PGAContext *ctx
+double x
+.fi
+.SH LOCATION
+utility.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int y;
+y = PGARound(ctx, -78.6);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGASetRandomSeed.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGASetRandomSeed.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGASetRandomSeed.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGASetRandomSeed.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,40 @@
+.TH PGASetRandomSeed 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetRandomSeed \- set a seed for the random number generator.  
+.SH DESCRIPTION
+The
+default is to use a random seed.  Specifying a seed exlicitly allows
+for reproducibility of runs.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+seed
+- seed  for the random number generator
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetRandomSeed(ctx, seed)
+PGAContext *ctx
+int seed
+.fi
+.SH LOCATION
+random.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetRandomSeed(ctx,1);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man5/PGAStddev.5
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man5/PGAStddev.5?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man5/PGAStddev.5 (added)
+++ spamassassin/trunk/build/pga/man/man5/PGAStddev.5 Sun May 28 18:31:49 2017
@@ -0,0 +1,48 @@
+.TH PGAStddev 5 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAStddev \- calculates the standard deviation of an array of elements
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+a
+- array to take the standard deviation of
+.PD 0
+.TP
+n
+- number of elements in array a
+.PD 0
+.TP
+mean
+- the mean of the elements in array a
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+double  PGAStddev(ctx, a, n, mean)
+PGAContext *ctx
+double *a
+int n
+double mean
+.fi
+.SH LOCATION
+utility.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+double a[100], mean, sigma;
+:
+mean  = PGAMean(ctx, a, 100);
+sigma = PGAStddev(ctx, a, 100, mean);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man6/PGAError.6
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man6/PGAError.6?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man6/PGAError.6 (added)
+++ spamassassin/trunk/build/pga/man/man6/PGAError.6 Sun May 28 18:31:49 2017
@@ -0,0 +1,57 @@
+.TH PGAError 6 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAError \- reports error messages.  Prints out the message supplied, and
+the value of a piece of data.  Terminates if PGA_FATAL.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+msg
+- the error message to print
+.PD 0
+.TP
+level
+- PGA_WARNING or PGA_FATAL to indicate the error's severity
+.PD 0
+.TP
+datatype
+- the data type of the following argument
+.PD 0
+.TP
+data
+- the address of the data to be written out, cast as a void
+pointer
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGAError(ctx, msg, level, datatype, data)
+PGAContext *ctx
+char *msg
+int level
+int datatype
+void *data
+.fi
+.SH LOCATION
+system.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int         val;
+:
+PGAError(ctx, "Some Non Fatal Error: val = ", PGA_WARNING, PGA_INT,
+(void *) &val);
+:
+PGAError(ctx, "A Fatal Error!", PGA_FATAL, PGA_VOID, NULL);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man6/PGAGetMaxMachineDoubleValue.6
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man6/PGAGetMaxMachineDoubleValue.6?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man6/PGAGetMaxMachineDoubleValue.6 (added)
+++ spamassassin/trunk/build/pga/man/man6/PGAGetMaxMachineDoubleValue.6 Sun May 28 18:31:49 2017
@@ -0,0 +1,33 @@
+.TH PGAGetMaxMachineDoubleValue 6 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetMaxMachineDoubleValue \- returns the largest double of the current
+machine
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+double  PGAGetMaxMachineDoubleValue(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+system.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+double big;
+:
+big = PGAGetMaxMachineDoubleValue(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man6/PGAGetMaxMachineIntValue.6
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man6/PGAGetMaxMachineIntValue.6?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man6/PGAGetMaxMachineIntValue.6 (added)
+++ spamassassin/trunk/build/pga/man/man6/PGAGetMaxMachineIntValue.6 Sun May 28 18:31:49 2017
@@ -0,0 +1,33 @@
+.TH PGAGetMaxMachineIntValue 6 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetMaxMachineIntValue \- returns the largest integer of the current
+machine
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetMaxMachineIntValue(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+system.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int intmax;
+:
+intmax = PGAGetMaxMachineIntValue(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man6/PGAGetMinMachineDoubleValue.6
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man6/PGAGetMinMachineDoubleValue.6?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man6/PGAGetMinMachineDoubleValue.6 (added)
+++ spamassassin/trunk/build/pga/man/man6/PGAGetMinMachineDoubleValue.6 Sun May 28 18:31:49 2017
@@ -0,0 +1,33 @@
+.TH PGAGetMinMachineDoubleValue 6 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetMaxMachineDoubleValue \- returns the smallest double of the current
+machine
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+double  PGAGetMinMachineDoubleValue(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+system.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+double small;
+:
+small = PGAGetMinMachineDoubleValue(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man6/PGAGetMinMachineIntValue.6
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man6/PGAGetMinMachineIntValue.6?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man6/PGAGetMinMachineIntValue.6 (added)
+++ spamassassin/trunk/build/pga/man/man6/PGAGetMinMachineIntValue.6 Sun May 28 18:31:49 2017
@@ -0,0 +1,33 @@
+.TH PGAGetMinMachineIntValue 6 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetMaxMachineIntValue \- returns the smallest integer of the current
+machine
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetMinMachineIntValue(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+system.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int intmin;
+:
+intmin = PGAGetMinMachineIntValue(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man7/PGAGetPrintFrequencyValue.7
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man7/PGAGetPrintFrequencyValue.7?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man7/PGAGetPrintFrequencyValue.7 (added)
+++ spamassassin/trunk/build/pga/man/man7/PGAGetPrintFrequencyValue.7 Sun May 28 18:31:49 2017
@@ -0,0 +1,32 @@
+.TH PGAGetPrintFrequencyValue 7 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetPrintFrequencyValue \- returns how often to print statistics reports
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetPrintFrequencyValue(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+report.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int freq;
+:
+freq = PGAGetPrintFrequencyValue(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man7/PGAPrintContextVariable.7
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man7/PGAPrintContextVariable.7?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man7/PGAPrintContextVariable.7 (added)
+++ spamassassin/trunk/build/pga/man/man7/PGAPrintContextVariable.7 Sun May 28 18:31:49 2017
@@ -0,0 +1,37 @@
+.TH PGAPrintContextVariable 7 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAPrintContextVariable \- prints the value of all the fields in the context
+variable.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+fp
+- file pointer to print the output to
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGAPrintContextVariable(ctx, fp)
+PGAContext *ctx
+FILE *fp
+.fi
+.SH LOCATION
+report.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGAPrintContextVariable(ctx, stdout);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man7/PGAPrintIndividual.7
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man7/PGAPrintIndividual.7?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man7/PGAPrintIndividual.7 (added)
+++ spamassassin/trunk/build/pga/man/man7/PGAPrintIndividual.7 Sun May 28 18:31:49 2017
@@ -0,0 +1,48 @@
+.TH PGAPrintIndividual 7 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAPrintIndividual \- prints the allele values of a string and associated
+fields (evaluation, fitness, etc.) of a string
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+fp
+- file pointer to print the output to
+.PD 0
+.TP
+p
+- string index
+.PD 0
+.TP
+pop
+- symbolic constant of the population string p is in
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGAPrintIndividual(ctx, fp, p, pop)
+PGAContext *ctx
+FILE *fp
+int p
+int pop
+.fi
+.SH LOCATION
+report.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int p;
+:
+PGAPrintIndividual(ctx, stdout, p, PGA_NEWPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man7/PGAPrintPopulation.7
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man7/PGAPrintPopulation.7?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man7/PGAPrintPopulation.7 (added)
+++ spamassassin/trunk/build/pga/man/man7/PGAPrintPopulation.7 Sun May 28 18:31:49 2017
@@ -0,0 +1,42 @@
+.TH PGAPrintPopulation 7 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAPrintPopulation \- Calls PGAPrintIndividual to print each member of a
+population
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+fp
+- file pointer to print the output to
+.PD 0
+.TP
+pop
+- symbolic constant of the population to be printed
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGAPrintPopulation(ctx, fp, pop)
+PGAContext *ctx
+FILE *fp
+int pop
+.fi
+.SH LOCATION
+report.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGAPrintPopulation(ctx, stdout, PGA_NEWPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man7/PGAPrintReport.7
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man7/PGAPrintReport.7?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man7/PGAPrintReport.7 (added)
+++ spamassassin/trunk/build/pga/man/man7/PGAPrintReport.7 Sun May 28 18:31:49 2017
@@ -0,0 +1,45 @@
+.TH PGAPrintReport 7 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAPrintReport \- prints genetic algorithm statistics.  
+.SH DESCRIPTION
+The statistics
+that are printed are determined by PGASetPrintOptions().
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+fp
+- file pointer to print the output to
+.PD 0
+.TP
+pop
+- symbolic constant of the population whose statistics are printed
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGAPrintReport(ctx, fp, pop)
+PGAContext *ctx
+FILE *fp
+int pop
+.fi
+.SH LOCATION
+report.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int p;
+:
+PGAPrintReport(ctx, stdout, PGA_NEWPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man7/PGAPrintString.7
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man7/PGAPrintString.7?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man7/PGAPrintString.7 (added)
+++ spamassassin/trunk/build/pga/man/man7/PGAPrintString.7 Sun May 28 18:31:49 2017
@@ -0,0 +1,47 @@
+.TH PGAPrintString 7 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAPrintString \- write the allele values in a string to a file
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+fp
+- pointer to file to write the string to
+.PD 0
+.TP
+p
+- index of the string to write out
+.PD 0
+.TP
+pop
+- symbolic constant of the population string p is in
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGAPrintString(ctx, file, p, pop)
+PGAContext *ctx
+FILE *file
+int p
+int pop
+.fi
+.SH LOCATION
+report.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int p;
+:
+PGAPrintString(ctx, stdout, p, PGA_OLDPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man7/PGASetPrintFrequencyValue.7
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man7/PGASetPrintFrequencyValue.7?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man7/PGASetPrintFrequencyValue.7 (added)
+++ spamassassin/trunk/build/pga/man/man7/PGASetPrintFrequencyValue.7 Sun May 28 18:31:49 2017
@@ -0,0 +1,40 @@
+.TH PGASetPrintFrequencyValue 7 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetPrintFrequencyValue \- Specifies the frequency with which genetic
+algorithm statistics are reported.  
+.SH DESCRIPTION
+The default is every 10 GA iterations.
+Used only if PGARun() is used to run the GA.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+print_freq
+- the genetic algorithm population size to use
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetPrintFrequencyValue(ctx, print_freq)
+PGAContext *ctx
+int print_freq
+.fi
+.SH LOCATION
+report.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetPrintFrequencyValue(ctx,1);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man7/PGASetPrintOptions.7
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man7/PGASetPrintOptions.7?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man7/PGASetPrintOptions.7 (added)
+++ spamassassin/trunk/build/pga/man/man7/PGASetPrintOptions.7 Sun May 28 18:31:49 2017
@@ -0,0 +1,45 @@
+.TH PGASetPrintOptions 7 "05/01/95" " " "PGAPack"
+.SH NAME
+PGASetPrintOptions \- set flags to indicate what GA statistics should be
+printed whenever output is printed.  
+.SH DESCRIPTION
+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. 
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+option
+- symbolic constant to specify a print option
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGASetPrintOptions(ctx, option)
+PGAContext *ctx
+int option
+.fi
+.SH LOCATION
+report.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGASetPrintOptions(ctx, PGA_REPORT_WORST);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAChange.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAChange.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAChange.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAChange.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,54 @@
+.TH PGAChange 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAChange \- Repeatedly apply mutation to a string (with an increasing
+mutation rate) until one or more mutations have occurred.  
+.SH DESCRIPTION
+This routine is
+usually used with PGADuplicate to modify a duplicate string.  It is not
+intended to replace PGAMutation
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- string index
+.PD 0
+.TP
+pop
+- symbolic constant of the population containing string p
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGAChange(ctx, p, pop)
+PGAContext *ctx
+int p
+int pop
+.fi
+.SH LOCATION
+duplcate.c
+.SH EXAMPLE
+.nf
+Example:
+Change any string in PGA_NEWPOP that is an exact copy of a string
+in PGA_OLDPOP.  To be complete, we should check the population again
+if any changes are made; for simplicity, we don't.
+
+PGAContext *ctx;
+int b, n;
+:
+n  = PGAGetPopsize(ctx);
+for (b=0; b<n; b++)
+if (PGADuplicate(ctx, b, PGA_NEWPOP, PGA_OLDPOP, n))
+PGAChange(ctx, b, PGA_NEWPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGACheckStoppingConditions.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGACheckStoppingConditions.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGACheckStoppingConditions.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGACheckStoppingConditions.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,33 @@
+.TH PGACheckStoppingConditions 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGACheckStoppingConditions \- returns boolean to indicate if the PGAPack
+termination conditions -- PGA_STOP_MAXITER, PGA_STOP_TOOSIMILAR, 
+PGA_STOP_NOCHANGE -- have been met.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGACheckStoppingConditions(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+stop.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGACheckStoppingConditions(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGACopyIndividual.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGACopyIndividual.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGACopyIndividual.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGACopyIndividual.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,53 @@
+.TH PGACopyIndividual 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGACopyIndividual \- copies string p1 in population pop1 to position p2 in
+population pop2
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p1
+- string to copy
+.PD 0
+.TP
+pop1
+- symbolic constant of population containing string p1
+.PD 0
+.TP
+p2
+- string to copy p1 to
+.PD 0
+.TP
+pop2
+- symbolic constant of population containing string p2
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGACopyIndividual(ctx, p1, pop1, p2, pop2)
+PGAContext *ctx
+int p1
+int pop1
+int p2
+int pop2
+.fi
+.SH LOCATION
+utility.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int i,j;
+:
+PGACopyIndividual(ctx, i, PGA_OLDPOP, j, PGA_NEWPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGACreate.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGACreate.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGACreate.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGACreate.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,90 @@
+.TH PGACreate 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGACreate \- creates an uninitialized context variable.  The Fortran version
+of this function call contains only the last three arguments
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+argc
+- address of the count of the number of command line arguments.
+.PD 0
+.TP
+argv
+- array of command line arguments.
+.PD 0
+.TP
+datatype
+- the data type used for the strings.  Must be one of
+PGA_DATATYPE_BINARY, PGA_DATATYPE_CHARACTER,
+PGA_DATATYPE_INTEGER, PGA_DATATYPE_REAL, or PGA_DATATYPE_USER
+.PD 0
+.TP
+binary
+-valued, character-valued, integer-valued,
+.PD 0
+.TP
+real
+-valued, or a user-defined datatype, respectively.
+.PD 0
+.TP
+len
+- the string length (number of genes).
+.PD 0
+.TP
+maxormin
+- the direction of optimization. Must be one of PGA_MAXIMIZE or
+PGA_MINIMIZE for maximization or minimization, respectively.
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+PGAContext * PGACreate(argc, argv, datatype, len, maxormin)
+int *argc
+char **argv
+int datatype
+int len
+int maxormin
+.fi
+.SH LOCATION
+create.c
+.SH EXAMPLE
+.nf
+Example:
+
+In C:
+void main(int argc, char **argv) {
+PGAContext *ctx;
+:
+ctx = PGACreate(&argc, argv, PGA_DATATYPE_BINARY, 100, PGA_MAXIMIZE);
+:
+//  Set options here
+:
+PGASetUp(ctx);
+:
+//  Run the GA here
+:
+PGADestroy(ctx);
+}
+
+In FORTRAN:
+integer ctx
+:
+ctx = PGACreate(PGA_DATATYPE_BINARY, 100, PGA_MAXIMIZE)
+:
+c       Set options here
+:
+call PGASetUp(ctx)
+:
+c       Run the GA here
+:
+call PGADestroy(ctx)
+stop
+end
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGADestroy.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGADestroy.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGADestroy.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGADestroy.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,32 @@
+.TH PGADestroy 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGADestroy \- deallocate memory for this instance of PGAPack, if this context
+initialized MPI, finalize MPI as well.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGADestroy(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+system.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGADestroy(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGADone.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGADone.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGADone.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGADone.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,40 @@
+.TH PGADone 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGADone \- Returns PGA_TRUE if the stopping conditions have been met,
+otherwise returns false.  
+.SH DESCRIPTION
+Calls exactly one of the user defined C or
+fortran or system (PGACheckStoppingConditions) stopping condition functions.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+comm
+- an MPI communicator
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGADone(ctx, comm)
+PGAContext *ctx
+MPI_Comm comm
+.fi
+.SH LOCATION
+stop.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+:
+PGADone(ctx, comm);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGADuplicate.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGADuplicate.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGADuplicate.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGADuplicate.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,78 @@
+.TH PGADuplicate 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGADuplicate \- determines if a specified string is a duplicate of one
+already in an existing population
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+p
+- string index
+.PD 0
+.TP
+pop1
+- symbolic constant of the population containing string p
+.PD 0
+.TP
+pop2
+- symbolic constant of the (possibly partial) population containing
+strings to compare string p against
+.PD 0
+.TP
+n
+- the number of strings in pop2 to compare string p against
+.PD 0
+.TP
+n
+-1)
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGADuplicate(ctx, p, pop1, pop2, n)
+PGAContext *ctx
+int p
+int pop1
+int pop2
+int n
+.fi
+.SH LOCATION
+duplcate.c
+.SH EXAMPLE
+.nf
+0,...,n-1 in population pop2.  Otherwise returns PGA_FALSE
+
+Example:
+Change any string in PGA_NEWPOP that is an exact copy of a string
+in PGA_OLDPOP.
+
+PGAContext *ctx;
+int b, n;
+:
+n  = PGAGetPopsize(ctx);
+for (b=0; b<n; b++)
+if (PGADuplicate(ctx, b, PGA_NEWPOP, PGA_OLDPOP, n))
+PGAChange(ctx, b, PGA_NEWPOP);
+
+
+Check if the best string in population PGA_OLDPOP is a duplicate of any
+of the strings in the first half of population PGA_NEWPOP.
+
+PGAContext *ctx;
+int b, n;
+:
+b  = PGAGetBestIndex(ctx, PGA_OLDPOP);
+n  = PGAGetPopsize(ctx) / 2;
+if (PGADuplicate(ctx, b, PGA_OLDPOP, PGA_NEWPOP, n))
+printf("A duplicate!\n");
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetDataType.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetDataType.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetDataType.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetDataType.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,49 @@
+.TH PGAGetDataType 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetDataType \- Returns the data type used by the given context.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetDataType(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+pga.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int datatype;
+:
+datatype = PGAGetDataType(ctx);
+switch (datatype) {
+case PGA_DATATYPE_BINARY:
+printf("Data Type = PGA_DATATYPE_BINARY\n");
+break;
+case PGA_DATATYPE_CHARACTER:
+printf("Data Type = PGA_DATATYPE_CHARACTER\n");
+break;
+case PGA_DATATYPE_INTEGER:
+printf("Data Type = PGA_DATATYPE_INTEGER\n");
+break;
+case PGA_DATATYPE_REAL:
+printf("Data Type = PGA_DATATYPE_REAL\n");
+break;
+case PGA_DATATYPE_USER:
+printf("Data Type = PGA_DATATYPE_USER\n");
+break;
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetGAIterValue.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetGAIterValue.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetGAIterValue.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetGAIterValue.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,33 @@
+.TH PGAGetGAIterValue 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetGAIterValue \- returns the number of the current genetic
+algorithm generation
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetGAIterValue(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+pga.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int g;
+:
+g = PGAGetGAIterValue(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetMaxGAIterValue.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetMaxGAIterValue.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetMaxGAIterValue.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetMaxGAIterValue.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,32 @@
+.TH PGAGetMaxGAIterValue 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetMaxGAIterValue \- Returns the maximum number of iterations to run
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetMaxGAIterValue(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+stop.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int maxiter;
+:
+maxiter = PGAGetMaxGAIterValue(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetMutationAndCrossoverFlag.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetMutationAndCrossoverFlag.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetMutationAndCrossoverFlag.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetMutationAndCrossoverFlag.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,41 @@
+.TH PGAGetMutationAndCrossoverFlag 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetMutationAndCrossoverFlag \- Returns true if mutation occurs only
+when crossover does.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+crossed
+-over strings.
+Otherwise, returns PGA_FALSE
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetMutationAndCrossoverFlag(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+pga.c
+.SH EXAMPLE
+.nf
+PGAContext *ctx;
+int mutatetype;
+:
+mutatetype = PGAGetMutationAndCrossoverFlag(ctx);
+switch (mutatetype) {
+case PGA_TRUE:
+printf("Mutating strings only after crossover\n");
+break;
+case PGA_FALSE:
+printf("Only mutating strings not undergoing crossover\n");
+break;
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetMutationOrCrossoverFlag.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetMutationOrCrossoverFlag.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetMutationOrCrossoverFlag.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetMutationOrCrossoverFlag.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,41 @@
+.TH PGAGetMutationOrCrossoverFlag 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetMutationOrCrossoverFlag \- Returns true if mutation only occurs when
+crossover does not.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetMutationOrCrossoverFlag(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+pga.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int mutatetype;
+:
+mutatetype = PGAGetMutationOrCrossoverFlag(ctx);
+switch (mutatetype) {
+case PGA_TRUE:
+printf("Only mutating strings not undergoing crossover\n");
+break;
+case PGA_FALSE:
+printf("Mutating strings only after crossover\n");
+break;
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetNoDuplicatesFlag.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetNoDuplicatesFlag.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetNoDuplicatesFlag.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetNoDuplicatesFlag.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,41 @@
+.TH PGAGetNoDuplicatesFlag 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetNoDuplicatesFlag \- Returns PGA_TRUE if duplicates are not allowed,
+else returns PGA_FALSE.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetNoDuplicatesFlag(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+duplcate.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int nodups;
+:
+nodups = PGAGetNoDuplicatesFlag(ctx);
+switch (nodups) {
+case PGA_TRUE:
+printf("Duplicate strings not allowed in population\n");
+break;
+case PGA_FALSE:
+printf("Duplicate strings allowed in population\n");
+break;
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetNumReplaceValue.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetNumReplaceValue.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetNumReplaceValue.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetNumReplaceValue.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,33 @@
+.TH PGAGetNumReplaceValue 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetNumReplaceValue \- Returns the maximum number of strings to replace
+each generation.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetNumReplaceValue(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+pop.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int numreplace;
+:
+numreplace = PGAGetNumReplaceValue(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetOptDirFlag.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetOptDirFlag.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetOptDirFlag.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetOptDirFlag.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,41 @@
+.TH PGAGetOptDirFlag 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetOptDirFlag \- Returns a symbolic constant that represents the
+direction of optimization
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetOptDirFlag(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+pga.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int optdir;
+:
+optdir = PGAGetOptDirFlag(ctx);
+switch (optdir) {
+case PGA_MAXIMIZE:
+printf("Optimization direction = PGA_MAXIMIZE\n");
+break;
+case PGA_MINIMIZE:
+printf("Optimization direction = PGA_MINIMIZE\n");
+break;
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetPopReplaceType.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetPopReplaceType.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetPopReplaceType.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetPopReplaceType.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,44 @@
+.TH PGAGetPopReplaceType 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetPopReplaceType \- returns the symbolic constant used to determine
+which strings to copy from the old population to the new population.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetPopReplaceType(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+pop.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int popreplace;
+:
+popreplace = PGAGetPopReplaceType(ctx);
+switch (popreplace) {
+case PGA_POPREPL_BEST:
+printf("Replacement Strategy = PGA_POPREPL_BEST\n");
+break;
+case PGA_POPREPL_RANDOM_REP:
+printf("Replacement Strategy = PGA_POPREPL_RANDOM_REP\n");
+break;
+case PGA_POPREPL_RANDOM_NOREP:
+printf("Replacement Strategy = PGA_POPREPL_RANDOM_NOREP\n");
+break;
+}
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetPopSize.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetPopSize.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetPopSize.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetPopSize.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,32 @@
+.TH PGAGetPopSize 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetPopSize \- Returns the population size
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetPopSize(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+pop.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int popsize;
+:
+popsize = PGAGetPopSize(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetSortedPopIndex.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetSortedPopIndex.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetSortedPopIndex.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetSortedPopIndex.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,47 @@
+.TH PGAGetSortedPopIndex 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetSortedPopIndex \- returns a population string index from the array
+created by PGASortPop().
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+n
+- specified which index element is to be returned.
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetSortedPopIndex(ctx, n)
+PGAContext *ctx
+int n
+.fi
+.SH LOCATION
+pop.c
+.SH EXAMPLE
+.nf
+Example:
+Copy the five best strings from the old population into the new
+population.  The rest of the new population will be created by
+recombination, and is not shown.
+
+PGAContext *ctx;
+int i,j;
+:
+PGASetPopReplaceType(ctx,PGA_POPREPL_BEST)
+PGASortPop(ctx, PGA_OLDPOP);
+for ( i=0; i < 5; i++) {
+j = PGAGetSortedPopIndex(ctx, i);
+PGACopyIndividual (ctx, j, PGA_OLDPOP, i, PGA_NEWPOP);
+:
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetStoppingRuleType.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetStoppingRuleType.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetStoppingRuleType.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetStoppingRuleType.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,39 @@
+.TH PGAGetStoppingRuleType 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetStoppingRuleType \- Returns a symbolic constant that defines the
+termination criteria.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetStoppingRuleType(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+stop.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int stop;
+:
+stop = PGAGetStoppingRuleType(ctx);
+if (stop & PGA_STOP_MAXITER)
+printf("Stopping Rule = PGA_STOP_MAXITER\n");
+if (stop & PGA_STOP_NOCHANGE)
+printf("Stopping Rule = PGA_STOP_NOCHANGE\n");
+if (stop & PGA_STOP_TOOSIMILAR)
+printf("Stopping Rule = PGA_STOP_TOOSIMILAR\n");
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGAGetStringLength.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGAGetStringLength.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGAGetStringLength.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGAGetStringLength.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,32 @@
+.TH PGAGetStringLength 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGAGetStringLength \- Returns the string length
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+int  PGAGetStringLength(ctx)
+PGAContext *ctx
+.fi
+.SH LOCATION
+pga.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+int stringlen;
+:
+stringlen = PGAGetStringLength(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGARun.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGARun.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGARun.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGARun.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,42 @@
+.TH PGARun 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARun \- Highest level routine to execute the genetic algorithm.  It
+is called after PGACreate and PGASetup have been called.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+evaluate
+- a pointer to the user's evaluation function, which must
+have the calling sequence shown in the example.
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGARun(ctx, ctx)
+PGAContext *ctx
+double (*evaluate)(PGAContext *c, int p, int pop)
+.fi
+.SH LOCATION
+pga.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx,
+double f(PGAContext *ctx, int p, int pop);
+:
+ctx = PGACreate(&argc, argv, PGA_DATATYPE_BINARY, 100, PGA_MAXIMIZE);
+PGASetUp(ctx);
+PGARun(ctx, f);
+PGADestroy(ctx);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGARunGM.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGARunGM.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGARunGM.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGARunGM.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,48 @@
+.TH PGARunGM 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARunGM \- High-level routine to execute the genetic algorithm using the
+global model.  
+.SH DESCRIPTION
+It is called after PGACreate and PGASetup have been called.
+If a NULL communicator is given, a sequential execution method is used,
+otherwise, work is divided among the processors in the communicator.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+evaluate
+- a pointer to the user's evaluation function, which must
+have the calling sequence shown in the example.
+.PD 0
+.TP
+comm
+- an MPI communicator
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+none
+
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGARunGM(ctx, ctx, comm)
+PGAContext *ctx
+double (*f)(PGAContext *, int, int)
+MPI_Comm comm
+.fi
+.SH LOCATION
+parallel.c
+.SH EXAMPLE
+.nf
+Example:
+PGAContext *ctx;
+double f(PGAContext *ctx, int p, int pop);
+:
+PGARunGM(ctx, f, MPI_COMM_WORLD);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGARunMutationAndCrossover.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGARunMutationAndCrossover.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGARunMutationAndCrossover.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGARunMutationAndCrossover.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,43 @@
+.TH PGARunMutationAndCrossover 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARunMutationAndCrossover \- Performs crossover and mutation from one
+population to create the next.  
+.SH DESCRIPTION
+Assumes PGASelect has been called.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+oldpop
+- symbolic constant of old population
+.PD 0
+.TP
+newpop
+- symbolic constant of new population
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+side
+-effect.
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGARunMutationAndCrossover(ctx, oldpop, newpop)
+PGAContext *ctx
+int oldpop
+int newpop
+.fi
+.SH LOCATION
+pga.c
+.SH EXAMPLE
+.nf
+PGAContext *ctx,
+:
+PGARunMutationAndCrossover(ctx, PGA_OLDPOP, PGA_NEWPOP);
+
+.fi

Added: spamassassin/trunk/build/pga/man/man8/PGARunMutationOrCrossover.8
URL: http://svn.apache.org/viewvc/spamassassin/trunk/build/pga/man/man8/PGARunMutationOrCrossover.8?rev=1796518&view=auto
==============================================================================
--- spamassassin/trunk/build/pga/man/man8/PGARunMutationOrCrossover.8 (added)
+++ spamassassin/trunk/build/pga/man/man8/PGARunMutationOrCrossover.8 Sun May 28 18:31:49 2017
@@ -0,0 +1,43 @@
+.TH PGARunMutationOrCrossover 8 "05/01/95" " " "PGAPack"
+.SH NAME
+PGARunMutationOrCrossover \- Performs crossover or mutation (but not both)
+from one populationto create the next.  
+.SH DESCRIPTION
+Assumes PGASelect has been called.
+.SH INPUT PARAMETERS
+.PD 0
+.TP
+ctx
+- context variable
+.PD 0
+.TP
+oldpop
+- symbolic constant of old population
+.PD 0
+.TP
+newpop
+- symbolic constant of new population
+.PD 1
+.SH OUTPUT PARAMETERS
+.PD 0
+.TP
+side
+-effect.
+.PD 1
+.SH SYNOPSIS
+.nf
+#include "pgapack.h"
+void  PGARunMutationOrCrossover(ctx, oldpop, newpop)
+PGAContext *ctx
+int oldpop
+int newpop
+.fi
+.SH LOCATION
+pga.c
+.SH EXAMPLE
+.nf
+PGAContext *ctx,
+:
+PGARunMutationOrCrossover(ctx, PGA_OLDPOP, PGA_NEWPOP);
+
+.fi