public class QualitySubgroup
extends java.lang.Object
Class with the quality measures need for obtaining the best subgroups
Constructor and Description |
---|
QualitySubgroup()
It creates a new object empty
|
QualitySubgroup(double _tp,
double _fp,
double _TPm,
double _FPm,
double _q)
It creates a new object with the values of the quality measures
|
Modifier and Type | Method and Description |
---|---|
void |
copy(QualitySubgroup aux)
This function copies in this object the auxiliar
|
double |
get_fp()
Gets the value of the fp quality measure
|
double |
get_FPm()
Gets the value of the FP missing quality measure
|
double |
get_q()
Gets the value of the q quality measure
|
double |
get_tp()
Gets the value of the tp quality measure
|
double |
get_TPm()
Gets the value of the TP missing quality measure
|
void |
set_fp(double val)
Sets the value for the fp quality measure
|
void |
set_FPm(double val)
Sets the value for the FP missing quality measure
|
void |
set_q(double val)
Sets the value for the q quality measure
|
void |
set_tp(double val)
Sets the value for the tp quality measure
|
void |
set_TPm(double val)
Sets the value for the TP missing quality measure
|
public QualitySubgroup()
It creates a new object empty
public QualitySubgroup(double _tp, double _fp, double _TPm, double _FPm, double _q)
It creates a new object with the values of the quality measures
_tp
- Value of the tp measure_fp
- Value of the fp measure_TPm
- Value of the TP missing measure_FPm
- Value of the FP missing measure_q
- Value of the quality measurepublic void copy(QualitySubgroup aux)
This function copies in this object the auxiliar
aux
- Auxiliar object QualitySubgrouppublic double get_tp()
Gets the value of the tp quality measure
public void set_tp(double val)
Sets the value for the tp quality measure
val
- Value of the tppublic double get_fp()
Gets the value of the fp quality measure
public void set_fp(double val)
Sets the value for the fp quality measure
val
- Value of the fppublic double get_TPm()
Gets the value of the TP missing quality measure
public void set_TPm(double val)
Sets the value for the TP missing quality measure
val
- Value of the TPmpublic double get_FPm()
Gets the value of the FP missing quality measure
public void set_FPm(double val)
Sets the value for the FP missing quality measure
val
- Value of the FPmpublic double get_q()
Gets the value of the q quality measure
public void set_q(double val)
Sets the value for the q quality measure
val
- Value of the q