|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.geneticmining.population.duplicates.DTGeneticMiningMatricesWithHeuristics
public class DTGeneticMiningMatricesWithHeuristics
This class uses the causal 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 causally follow t and the number of tasks that are causally followed by t.
The arcs are set in the following way: Whenever a task t causally follows a tasks t', there is a 50% probability that the individual has an arc from t to t'.
NOTE: It is assumed that an artificial START task and an artificial END task were added to the log.
Constructor Summary | |
---|---|
DTGeneticMiningMatricesWithHeuristics(java.util.Random gen,
LogReader logReader)
|
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 DTGeneticMiningMatricesWithHeuristics(java.util.Random gen, LogReader logReader)
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 |