public class Apriori
extends java.lang.Object
It gathers all the parameters, launches the algorithm, and prints out the results
Constructor and Description |
---|
Apriori()
Default constructor
|
Apriori(parseParameters parameters)
It reads the data from the input files and parse all the parameters
from the parameters array.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
It launches the algorithm
|
java.lang.String |
printRule(AssociationRule rule)
Returns a String with relevant information regarding the mined association rule given
|
void |
writeTime()
Prints a line with the time taken by the algorithm's execution on the output file.
|
public Apriori()
public Apriori(parseParameters parameters)
parameters
- parseParameters It contains the input files, output files and parameterspublic void execute()
public java.lang.String printRule(AssociationRule rule)
Returns a String with relevant information regarding the mined association rule given
rule
- given association rule from which gathering relevant informationpublic void writeTime()