public class populationreal
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
void |
AND_OR_Stationary(int indiv1,
int indiv2)
Given the individuals "indiv1" and "indiv2", it selects two points
and makes the AND/OR operation between their central zones.
|
java.lang.Object |
clone() |
double[] |
Code(int i,
int[] vector,
int pos) |
double[] |
Individual(int i,
Int_t tama) |
void |
InitialPopulationValue(double valor) |
boolean |
Modified(int i) |
void |
NAND_NOR_Stationary(int indiv1,
int indiv2)
Given the individuals "indiv1" and "indiv2", it selects two points
and makes the NAND/NOR operation between their central zones.
|
void |
Paint(int i) |
void |
PaintBin(int i) |
void |
PaintBinInFile(int i) |
void |
PaintInFile(int i) |
void |
Pass(int i,
populationreal x,
int j) |
void |
PutValue(int indiv,
int bit,
double value) |
void |
RandomInitialPopulation(double[][] I,
int rango) |
void |
RandomInitialPopulation(int n_item) |
void |
Rotation(int i) |
void |
Swap_bool(boolean[] v,
int i,
int j) |
void |
Swap_double(double[] v,
int i,
int j) |
void |
Swap_int(int[] v,
int i,
int j) |
void |
Swap(int i,
int j) |
void |
TwoPointsCrossover_Stationary(int indiv1,
int indiv2)
Given the individuals "indiv1" and "indiv2", it selects two points
exchanging their central zones.
|
void |
UniformMutation_Stationary()
Stationary uniform mutation operator
|
public java.lang.Object clone()
clone
in class java.lang.Object
public double[] Individual(int i, Int_t tama)
public boolean Modified(int i)
public void Pass(int i, populationreal x, int j)
public void Swap(int i, int j)
public void Swap_int(int[] v, int i, int j)
public void Swap_double(double[] v, int i, int j)
public void Swap_bool(boolean[] v, int i, int j)
public double[] Code(int i, int[] vector, int pos)
public void Paint(int i)
public void PaintBin(int i)
public void PaintInFile(int i) throws java.io.IOException
java.io.IOException
public void PaintBinInFile(int i) throws java.io.IOException
java.io.IOException
public void PutValue(int indiv, int bit, double value)
public void RandomInitialPopulation(int n_item)
public void RandomInitialPopulation(double[][] I, int rango)
public void InitialPopulationValue(double valor)
public void UniformMutation_Stationary()
Stationary uniform mutation operator
public void Rotation(int i)
public void TwoPointsCrossover_Stationary(int indiv1, int indiv2)
Given the individuals "indiv1" and "indiv2", it selects two points exchanging their central zones.
indiv1
- int An individualindiv2
- int An individualpublic void AND_OR_Stationary(int indiv1, int indiv2)
Given the individuals "indiv1" and "indiv2", it selects two points and makes the AND/OR operation between their central zones.
indiv1
- int An individualindiv2
- int An individualpublic void NAND_NOR_Stationary(int indiv1, int indiv2)
Given the individuals "indiv1" and "indiv2", it selects two points and makes the NAND/NOR operation between their central zones.
indiv1
- int An individualindiv2
- int An individual