public class Organizacion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ANORMAL |
static int |
NORMAL |
static int |
TRIVIAL |
Constructor and Description |
---|
Organizacion() |
Organizacion(Attribute a,
myDataset train) |
Organizacion(int pos,
Attribute a,
myDataset train) |
Organizacion(Organizacion padre,
Organizacion madre) |
Modifier and Type | Method and Description |
---|---|
void |
actualizarUorg(int N)
Selectes N examples with opposing classes and checks the combination of their attributes/values
|
void |
addU(int atributo) |
void |
calculaFitness() |
boolean |
contenido(Organizacion org)
Checks if one organization contains the other.
|
Organizacion |
copia() |
void |
determinaForg()
Computes the fixed attributes set.
|
boolean |
estaYdistinto(int atributo,
int valor) |
void |
limpiaUtiles() |
java.lang.String |
printString() |
public static int NORMAL
public static int TRIVIAL
public static int ANORMAL
public Organizacion()
public Organizacion(Organizacion padre, Organizacion madre)
public void determinaForg()
public void limpiaUtiles()
public boolean estaYdistinto(int atributo, int valor)
public void addU(int atributo)
public void actualizarUorg(int N)
N
- number of examples to check.public void calculaFitness()
public java.lang.String printString()
public boolean contenido(Organizacion org)
org
- given organization to compare with.public Organizacion copia()