public class ReviewPepper extends Review
Constructor and Description |
---|
ReviewPepper() |
Modifier and Type | Method and Description |
---|---|
double |
getMaxDiff() |
Population |
review(Population train,
java.lang.String classe,
Selection s,
GlobalDistance dg)
Abstract method that reviews and drops unnecessary cases from the train
population.
|
void |
setMaxDiff(double d)
Set the maxDiff which is the maximum difference between the solutions of
two cases in order to be considered to have similar (equal) solutions
|
void |
setWeight(double w) |
public void setMaxDiff(double d)
d
- public double getMaxDiff()
public void setWeight(double w)
public Population review(Population train, java.lang.String classe, Selection s, GlobalDistance dg)
Review
review
in class Review
train
- Population to review.classe
- String id of the attribute that is being classified.s
- Selection of train individuals for the train population.dg
- GlobalDistance method of global distance computing.