public class MOEA_GoshProcess
extends java.lang.Object
It provides the implementation of the MOEA algorithm to be run in a process
Constructor and Description |
---|
MOEA_GoshProcess(myDataset dataset,
int numObjectives,
int nTrials,
int popSize,
int pointCrossover,
double pc,
double pm,
double af)
It creates a new process for the algorithm by setting up its parameters
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<AssociationRule> |
generateRulesPareto() |
java.lang.String |
getParetos() |
void |
printPareto() |
void |
run()
It runs the evolutionary learning for mining association rules
|
void |
saveReport(java.util.ArrayList<AssociationRule> rules,
java.io.PrintWriter w)
It prints out on the given
PrintWriter object relevant information regarding the mined association rules
|
public MOEA_GoshProcess(myDataset dataset, int numObjectives, int nTrials, int popSize, int pointCrossover, double pc, double pm, double af)
It creates a new process for the algorithm by setting up its parameters
dataset
- The instance of the dataset for dealing with its recordsnumObjectives
- Number of objectivesnTrials
- The maximum number of generations to reach before completing the whole evolutionary learningpopSize
- The number of chromosomes in the populationpc
- The probability for the crossover operatorpointCrossover
- The number of point crossover to uses in crossover operatorpm
- The probability for the mutation operatoraf
- The factor of amplitude for each of the dataset attributepublic void run()
It runs the evolutionary learning for mining association rules
public java.util.ArrayList<AssociationRule> generateRulesPareto()
public void saveReport(java.util.ArrayList<AssociationRule> rules, java.io.PrintWriter w)
It prints out on the given PrintWriter
object relevant information regarding the mined association rules
rules
- The array of association rules from which gathering relevant informationw
- given PrintWriter object to write on.public void printPareto()
public java.lang.String getParetos()