|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.geneticmining.population.duplicates.DTGeneticMiningMatricesWithMinimalHeuristics
public class DTGeneticMiningMatricesWithMinimalHeuristics
This class uses the follows matrices to set the maximum number of duplicated tasks that an individual (HeuristicsNet) can have. Basically, the number of duplicates of a task t is the minimum between the number of tasks that directly follow t and the number of tasks that are directly followed by t.
The arcs are set based on the dependency matrix and the power value. The more often a task t is followed by a task t', the higher the probability that an arc from a duplicate of t to a duplicate of t' will be set.
NOTE: It is assumed that an artificial START task and an artificial END task were added to the log.
Constructor Summary | |
---|---|
DTGeneticMiningMatricesWithMinimalHeuristics(java.util.Random gen,
LogReader logReader,
double power)
|
Method Summary | |
---|---|
cern.colt.matrix.DoubleMatrix2D |
getCausalMatrix()
|
int[] |
getDuplicatesMapping()
Returns the mapping from the task code in the individuals to the task code in the LogReader object that was provided to the constructor of this class. |
cern.colt.matrix.DoubleMatrix1D |
getEndMatrix()
|
HNSubSet[] |
getReverseDuplicatesMapping()
Returns the mapping from the task code in the LogReader object that was provided to the constructor of this class to the task code in the individuals. |
cern.colt.matrix.DoubleMatrix1D |
getStartMatrix()
|
void |
rebuildAllMatrices()
|
cern.colt.matrix.DoubleMatrix2D |
rebuildCausalMatrix()
|
cern.colt.matrix.DoubleMatrix1D |
rebuildEndMatrix()
|
cern.colt.matrix.DoubleMatrix1D |
rebuildStartMatrix()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DTGeneticMiningMatricesWithMinimalHeuristics(java.util.Random gen, LogReader logReader, double power)
Method Detail |
---|
public int[] getDuplicatesMapping()
getDuplicatesMapping
in interface DTGeneticMiningMatrices
public HNSubSet[] getReverseDuplicatesMapping()
getReverseDuplicatesMapping
in interface DTGeneticMiningMatrices
public cern.colt.matrix.DoubleMatrix2D getCausalMatrix()
getCausalMatrix
in interface DTGeneticMiningMatrices
public cern.colt.matrix.DoubleMatrix1D getEndMatrix()
getEndMatrix
in interface DTGeneticMiningMatrices
public cern.colt.matrix.DoubleMatrix1D getStartMatrix()
getStartMatrix
in interface DTGeneticMiningMatrices
public void rebuildAllMatrices()
rebuildAllMatrices
in interface DTGeneticMiningMatrices
public cern.colt.matrix.DoubleMatrix2D rebuildCausalMatrix()
rebuildCausalMatrix
in interface DTGeneticMiningMatrices
public cern.colt.matrix.DoubleMatrix1D rebuildStartMatrix()
rebuildStartMatrix
in interface DTGeneticMiningMatrices
public cern.colt.matrix.DoubleMatrix1D rebuildEndMatrix()
rebuildEndMatrix
in interface DTGeneticMiningMatrices
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |