public class Chc
extends java.lang.Object
Title: the cycle class of the algorithm
Description: It do CHC cycle
Constructor and Description |
---|
Chc(int total) |
Modifier and Type | Method and Description |
---|---|
void |
cycle(int long_tabla_tra,
double[][] vtra,
double[] stra,
int long_tabla_tst,
double[][] vtest,
double[] stst,
int num,
int reglas,
int var,
double sal,
double[] v,
int pop,
int bits,
long semilla,
java.lang.String fich)
Function cycle
|
double |
getEc_tra() |
double |
getEc_tst() |
Poblacion |
getP()
FIN DEL FICHERO
|
int |
getTotalexperiments() |
int |
getTotaltrials() |
void |
setEc_tra(double ec_tra) |
void |
setEc_tst(double ec_tst) |
void |
setP(Poblacion p) |
void |
setTotalexperiments(int totalexperiments) |
void |
setTotaltrials(int totaltrials) |
public void cycle(int long_tabla_tra, double[][] vtra, double[] stra, int long_tabla_tst, double[][] vtest, double[] stst, int num, int reglas, int var, double sal, double[] v, int pop, int bits, long semilla, java.lang.String fich)
long_tabla_tra
- It contains the size of the table of trainingvtra
- double [][] It contains the input training valuesstra
- double [] It contains the output training valueslong_tabla_tst
- It contains the size of the table of testvtest
- double [][] It contains the input test valuesstst
- [] It contains the output test valuesnum
- It contains the number of the data reglas
- It contains the number of rulesvar
- It has the number of state varsal
- double it contains the value of exitv
- double [] it contains the values of data basepop
- int It has the size of populationbits
- int It has the number of bitssemilla
- long It has the value of seedfich
- String It has the name of exit filepublic Poblacion getP()
public void setP(Poblacion p)
public double getEc_tst()
public void setEc_tst(double ec_tst)
public double getEc_tra()
public void setEc_tra(double ec_tra)
public int getTotalexperiments()
public void setTotalexperiments(int totalexperiments)
public int getTotaltrials()
public void setTotaltrials(int totaltrials)