public class BasicPetriNetILPModel extends PetriNetILPModel
| Modifier and Type | Field and Description |
|---|---|
protected static int |
algorithmToUse |
protected java.util.ArrayList<net.sf.javailp.Constraint> |
constraints |
protected static boolean |
generateFreeChoice |
protected static boolean |
generateWorkflow |
protected static int |
maxPlaces |
a, aPrime, cd, initialPlace, initialPlaces, lang, notInitialPlaces, searchTypeBox, strategySettings, transextensions, factory, l, m, r, solutions, solverSettings| Constructor and Description |
|---|
BasicPetriNetILPModel(java.lang.Class[] extensions,
java.util.Map<ILPMinerSettings.SolverSetting,java.lang.Object> solverSettings,
ILPModelSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCausalDependencyConstraint(net.sf.javailp.Problem problem,
org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass> cd)
Adds the constraints of the given causal dependency to the problem
|
protected net.sf.javailp.Constraint |
addConstraintForMinimalOneArc() |
protected void |
addConstraintForSolution(net.sf.javailp.Result result)
Adds the following constraint to problem p, where result = (x_i,y_i,c_i).
|
protected void |
addInitialPlace(net.sf.javailp.SolverFactory factory)
This function adds the initial place.
|
protected java.util.ArrayList<ILPMinerSolution> |
addNewSolution(ILPMinerSolution sol)
Adds a solution to the list of solutions.
|
protected java.util.ArrayList<ILPMinerSolution> |
addNewSolution(net.sf.javailp.Result result)
Adds a new solution to the list of solutions.
|
void |
clearAdditionalConstraints() |
net.sf.javailp.Problem |
getModel()
This function gets the old model, and adds all extra constraints set by
this miner.
|
static java.lang.Object[] |
getSettingsGUI(com.fluxicon.slickerbox.factory.SlickerFactory f,
java.lang.Class strategy) |
protected ILPMinerSolution |
makeSolution(net.sf.javailp.Result result)
Creates a solution from any result.
|
protected void |
processModel(org.processmining.framework.plugin.PluginContext context,
net.sf.javailp.SolverFactory factory)
This function implements the basic algorithm as described in the paper
J.M.E.M.
|
protected void |
runCausalDepenciesAlgorithm(org.processmining.framework.plugin.PluginContext context,
net.sf.javailp.SolverFactory factory)
This method is the main function for the generation of a Petri net using
the causal dependencies in the log.
|
protected void |
runIndependentPlacesAlgorithm(org.processmining.framework.plugin.PluginContext context,
net.sf.javailp.SolverFactory factory)
Basic algorithm, generates a set of independent places.
|
protected static void |
setAlgorithmToUse(java.lang.String algo) |
protected void |
setFreeChoiceProperty() |
protected java.util.ArrayList<ILPMinerSolution> |
solutionsNotAllowedWithThisOne(ILPMinerSolution sol)
This function checks whether a solution is allowed or not.
|
addConstraints, addObjective, addPlaceConstraints, addSolution, addVariables, getSettingsGUI, makeData, processBasic, processCausalDependencies, processInitialPlaces, processTransitionsaddExtensionConstraints, findPetriNetPlaces, getAuthor, getDescription, getName, getSolutions, loadLibraries, solveprotected java.util.ArrayList<net.sf.javailp.Constraint> constraints
protected static boolean generateWorkflow
protected static int maxPlaces
protected static boolean generateFreeChoice
protected static int algorithmToUse
public BasicPetriNetILPModel(java.lang.Class[] extensions,
java.util.Map<ILPMinerSettings.SolverSetting,java.lang.Object> solverSettings,
ILPModelSettings settings)
public net.sf.javailp.Problem getModel()
getModel in class PetriNetILPModelpublic void clearAdditionalConstraints()
protected net.sf.javailp.Constraint addConstraintForMinimalOneArc()
protected void processModel(org.processmining.framework.plugin.PluginContext context,
net.sf.javailp.SolverFactory factory)
processModel in class PetriNetILPModelprotected void setFreeChoiceProperty()
protected java.util.ArrayList<ILPMinerSolution> solutionsNotAllowedWithThisOne(ILPMinerSolution sol)
sol - protected ILPMinerSolution makeSolution(net.sf.javailp.Result result)
makeSolution in class PetriNetILPModelresult - protected java.util.ArrayList<ILPMinerSolution> addNewSolution(net.sf.javailp.Result result)
result - BasicPetriNetILPModelTEMP.addNewSolutionprotected java.util.ArrayList<ILPMinerSolution> addNewSolution(ILPMinerSolution sol)
sol - protected void addInitialPlace(net.sf.javailp.SolverFactory factory)
protected void runCausalDepenciesAlgorithm(org.processmining.framework.plugin.PluginContext context,
net.sf.javailp.SolverFactory factory)
protected void addCausalDependencyConstraint(net.sf.javailp.Problem problem,
org.processmining.framework.util.Pair<org.deckfour.xes.classification.XEventClass,org.deckfour.xes.classification.XEventClass> cd)
problem - cd - protected void runIndependentPlacesAlgorithm(org.processmining.framework.plugin.PluginContext context,
net.sf.javailp.SolverFactory factory)
protected void addConstraintForSolution(net.sf.javailp.Result result)
result - protected static void setAlgorithmToUse(java.lang.String algo)
public static java.lang.Object[] getSettingsGUI(com.fluxicon.slickerbox.factory.SlickerFactory f,
java.lang.Class strategy)