|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.mining.geneticmining.util.MethodsOverIndividuals
public class MethodsOverIndividuals
Constructor Summary | |
---|---|
MethodsOverIndividuals()
|
Method Summary | |
---|---|
static HNSet |
buildHNSet(double startOrEndEntry,
cern.colt.matrix.DoubleMatrix1D inOrOutRowOrColumn,
java.util.Random generator)
Build a HNSet that will be the INPUT or OUTPUT set of an individual's workflow model element. |
static HNSet |
buildSet(double startOrEndEntry,
cern.colt.matrix.DoubleMatrix1D inOrOutRowOrColumn,
java.util.Random generator)
Build a HNSet that will be the INPUT or OUTPUT set of an individual's workflow model element. |
static void |
decreasinglyOrderPopulation(HeuristicsNet[] population)
|
static HeuristicsNet[] |
extractBestIndividuals(HeuristicsNet[] population)
This method assumes that the population is INCREASINGLY order by the fitness measure. |
static cern.colt.matrix.DoubleMatrix1D |
randomlyAddEntry(cern.colt.matrix.DoubleMatrix1D matrix,
java.util.Random generator)
|
static cern.colt.matrix.DoubleMatrix1D |
randomlyRemoveEntry(cern.colt.matrix.DoubleMatrix1D matrix,
java.util.Random generator)
|
static HeuristicsNet |
removeDanglingElementReferences(HeuristicsNet individual)
This methods matches the INPUT and OUTPUT sets of the individual. |
static HeuristicsNet[] |
removeDuplicates(HeuristicsNet[] population)
|
static java.util.HashSet |
removeElementFromSubsets(java.util.HashSet set,
java.lang.Integer element)
|
static HeuristicsNet[] |
removeUnusedElements(HeuristicsNet[] localPopulation,
Fitness fitness)
Removes the unfired tasks and unused arcs of every individual in the population. |
static java.lang.Integer |
selectAnElementInSubset(java.util.TreeSet subset,
java.util.Random generator)
This method randomly selects and returns an element in subsets |
static java.util.TreeSet |
selectSubset(java.util.HashSet sets,
java.util.Random generator)
This method randomly selects and returns an element in sets |
static HeuristicsNet |
updateRelatedElements(HeuristicsNet ind,
int element,
java.util.Random r)
Updates the net according to the INPUT and OUTPUT sets of "element". |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodsOverIndividuals()
Method Detail |
---|
public static HeuristicsNet[] removeUnusedElements(HeuristicsNet[] localPopulation, Fitness fitness)
localPopulation
- DuplicateTasksHeuristicsNet[] population to be cleaned.fitness
- Fitness fitness to be used to recompute the individual's fitness after the cleaning.
public static HeuristicsNet updateRelatedElements(HeuristicsNet ind, int element, java.util.Random r)
ind
- individual to update.element
- has the INPUT/OUTPUT sets that are going to guide the update of
the other related elements.r
- random generator.
public static HeuristicsNet[] removeDuplicates(HeuristicsNet[] population)
public static HeuristicsNet removeDanglingElementReferences(HeuristicsNet individual)
individual
- to check and correct if necessary
public static void decreasinglyOrderPopulation(HeuristicsNet[] population)
public static HNSet buildSet(double startOrEndEntry, cern.colt.matrix.DoubleMatrix1D inOrOutRowOrColumn, java.util.Random generator)
startOrEndEntry
- inOrOutRowOrColumn
- generator
- random generator.
public static HNSet buildHNSet(double startOrEndEntry, cern.colt.matrix.DoubleMatrix1D inOrOutRowOrColumn, java.util.Random generator)
startOrEndEntry
- inOrOutRowOrColumn
- generator
- random generator.
public static cern.colt.matrix.DoubleMatrix1D randomlyAddEntry(cern.colt.matrix.DoubleMatrix1D matrix, java.util.Random generator)
public static cern.colt.matrix.DoubleMatrix1D randomlyRemoveEntry(cern.colt.matrix.DoubleMatrix1D matrix, java.util.Random generator)
public static java.lang.Integer selectAnElementInSubset(java.util.TreeSet subset, java.util.Random generator)
public static java.util.TreeSet selectSubset(java.util.HashSet sets, java.util.Random generator)
public static java.util.HashSet removeElementFromSubsets(java.util.HashSet set, java.lang.Integer element)
public static HeuristicsNet[] extractBestIndividuals(HeuristicsNet[] population)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |