public class BaseReglas
extends java.lang.Object
Title: BaseReglas (Rule base)
Description: Stores the rules and checks the test file to evaluates them
| Constructor and Description |
|---|
BaseReglas()
Default constructor.
|
BaseReglas(java.util.LinkedList<Regla> regla)
Parameter constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.LinkedList<java.lang.String> |
compruebaReglas(myDataset test)
Evaluates the test dataset given using the rules stored.
|
void |
ficheroReglas(java.lang.String ficheroReglas)
Generates a file with the stored rules and their statistics.
|
void |
mostrarReglas()
Prints on the standard output the stored rules.
|
public BaseReglas()
public BaseReglas(java.util.LinkedList<Regla> regla)
regla - LinkedList given rules list.public java.util.LinkedList<java.lang.String> compruebaReglas(myDataset test)
test - myDataset dataset classify.public void mostrarReglas()
public void ficheroReglas(java.lang.String ficheroReglas)
ficheroReglas - String filename to be generated.