genomestruc {seao}R Documentation

Genome structure definition

Description

Defines the experiment genome (or parameter set) structure.

Usage

  genomestruc(n.genes=NULL)

Arguments

n.genes The number of genes (parameters) of each individual (experimental set-up). The number of genes (parameters) will be asked if no argument is given.

Value

A structure which is the first part of an evolutionary algorithm structure.

genes An list of genes (parameters); each gene (parameter) itself is a list of:
name:
the name of the gene (parameter)
min:
the minimal value that the gene (parameter) can have
max:
the maximum value that the gene (parameter) can have
n.alleles:
the number of the alleles (parameter values) the gene (parameter) can have
names:
a vector containing the names of all the different alleles (parameter values); this is optional and set to NULL if the number of names given is not equal to the number of alleles (parameter values)
generations The second part of an evolutionary algorithm structure which contains a list of generations (fitnesses, allele values etc); the value is initially NULL.

Note

genomestruc is the actual genome (parameter set) definition function. However, if package seao.gui is also loaded, a graphical interface can be called by genomestruc.gui. The return value of both functions is exactly the same, since the former is called by the latter.

Author(s)

Kurt Sys (kurt.sys@rug.ac.be)

References

See Also

newgen

Examples






[Package seao version 0.2-1 Index]