Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
D
F
G
M
N
P
R
S
T
D
difference(DNA)
- Method in class s373.dna.
DNA
return the absolute difference value to another DNA
differenceDNA(DNA)
- Method in class s373.dna.
DNA
return the absolute difference gene array to another DNA
differenceGene(int, DNA)
- Method in class s373.dna.
DNA
return the absolute difference gene to another DNA's gene.
DNA
- Class in
s373.dna
DNA()
- Constructor for class s373.dna.
DNA
DNA() empty constructor returns one DNA object with one Gene.
DNA(int)
- Constructor for class s373.dna.
DNA
DNA(int num) returns one DNA object with num Genes.
DNA(float[])
- Constructor for class s373.dna.
DNA
DNA(float data[]) constructs one DNA object with contents of data.
DNA(DNA)
- Constructor for class s373.dna.
DNA
DNA(DNA d) constructs one DNA object with contents of DNA d.
DNA(DNA, float)
- Constructor for class s373.dna.
DNA
DNA(DNA d) constructs one DNA object with contents of DNA d +- random(dev).
dna
- Variable in class s373.dna.
DNA
F
fitness(DNA)
- Method in class s373.dna.
DNA
evaluate the fitness of this DNA regarding a dnatarget.
G
getBoundsMode()
- Method in class s373.dna.
DNA
get DNA boundsMode
getDna()
- Method in class s373.dna.
DNA
Get dna float array
getGene(int)
- Method in class s373.dna.
DNA
get Gene value index n
getMateMode()
- Method in class s373.dna.
DNA
get DNA mateMode
getNum()
- Method in class s373.dna.
DNA
return number of genes in DNA
M
mate(DNA)
- Method in class s373.dna.
DNA
mate this DNA with other DNA according to its mateMode.
mate(DNA, float)
- Method in class s373.dna.
DNA
mate this DNA with other DNA according to its mateMode with param.
mutate(float)
- Method in class s373.dna.
DNA
mutate DNA with probability a.
mutate(float, float)
- Method in class s373.dna.
DNA
mutate DNA with probability a and deviation b.
mutateGene(int, float)
- Method in class s373.dna.
DNA
mutate gene
N
num
- Variable in class s373.dna.
DNA
P
print()
- Method in class s373.dna.
DNA
printDna()
- Method in class s373.dna.
DNA
R
random(float)
- Method in class s373.dna.
DNA
return a random number up to max
random(float, float)
- Method in class s373.dna.
DNA
return a random number between min and max.
S
s373.dna
- package s373.dna
setBoundsMode(int)
- Method in class s373.dna.
DNA
set DNA boundsMode
setDna(DNA)
- Method in class s373.dna.
DNA
setDna(float[])
- Method in class s373.dna.
DNA
setGene(int, float)
- Method in class s373.dna.
DNA
set Gene index n with value val
setMateMode(int)
- Method in class s373.dna.
DNA
set DNA mateMode
setNum(int)
- Method in class s373.dna.
DNA
set num genes
setRandomDNA()
- Method in class s373.dna.
DNA
set Random vals on all genes
size()
- Method in class s373.dna.
DNA
return number of genes in DNA
T
toString()
- Method in class s373.dna.
DNA
D
F
G
M
N
P
R
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Processing library dna by Andre Sier. (C) 2010