public class PetriNetSingleILPModel extends ILPModelJavaILP
| Modifier and Type | Field and Description |
|---|---|
int[][] |
a |
int[][] |
aPrime |
java.util.ArrayList<java.lang.Integer> |
cd |
int |
cdCount |
protected boolean |
initialPlace |
protected java.util.ArrayList<org.deckfour.xes.classification.XEventClass> |
initialPlaces |
int |
lang |
protected java.util.ArrayList<org.deckfour.xes.classification.XEventClass> |
notInitialPlaces |
protected static javax.swing.JComboBox |
searchTypeBox |
int |
slackWeight
Should be as low as possible due to problems occuring in the solver when
summations go over Integer.MAX_VALUE.
|
protected static PetriNetILPModelSettings |
strategySettings |
int |
trans |
extensions, factory, l, m, r, solutions, solverSettings| Constructor and Description |
|---|
PetriNetSingleILPModel(java.lang.Class<?>[] extensions,
java.util.Map<ILPMinerSettings.SolverSetting,java.lang.Object> solverSettings,
ILPModelSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addConstraints(net.sf.javailp.Problem p)
adds the constraints to the problem
|
void |
addModel(net.sf.javailp.Problem p) |
protected void |
addObjective(net.sf.javailp.Problem p)
adds an objective to the problem
|
protected void |
addPlaceConstraints(net.sf.javailp.Problem p) |
protected void |
addSolutions(net.sf.javailp.Result result)
converts the Java-ILP result in a solution (place representation) and
adds it to the set of found solutions
|
protected void |
addVariables(net.sf.javailp.Problem p)
defines the variable types and bounds in the problem
|
net.sf.javailp.Problem |
getModel()
Returns the model instantiated via the Java-ILP interface
|
static java.lang.Object[] |
getSettingsGUI(com.fluxicon.slickerbox.factory.SlickerFactory f,
java.lang.Class<?> strategy) |
void |
makeData()
Generates the model specific data from the generic data
|
protected ILPMinerSolution |
makeSolution(net.sf.javailp.Result result,
int causalDependency)
converts the Java-ILP result in a solution (place representation)
|
protected void |
processCausalDependencies(net.sf.javailp.Problem problem) |
protected void |
processInitialPlaces(net.sf.javailp.Problem problem) |
protected void |
processModel(org.processmining.framework.plugin.PluginContext context,
net.sf.javailp.SolverFactory factory)
Finds the solutions required for this model
|
protected void |
processTransitions(net.sf.javailp.Problem problem,
boolean beforeTrans) |
addExtensionConstraints, findPetriNetPlaces, getAuthor, getDescription, getName, getSolutions, loadLibraries, solvepublic int slackWeight
protected static PetriNetILPModelSettings strategySettings
protected static javax.swing.JComboBox searchTypeBox
public int trans
public int lang
public int cdCount
public int[][] a
public int[][] aPrime
public java.util.ArrayList<java.lang.Integer> cd
protected java.util.ArrayList<org.deckfour.xes.classification.XEventClass> initialPlaces
protected java.util.ArrayList<org.deckfour.xes.classification.XEventClass> notInitialPlaces
protected boolean initialPlace
public PetriNetSingleILPModel(java.lang.Class<?>[] extensions,
java.util.Map<ILPMinerSettings.SolverSetting,java.lang.Object> solverSettings,
ILPModelSettings settings)
public net.sf.javailp.Problem getModel()
ILPModelJavaILPgetModel in class ILPModelJavaILPpublic void addModel(net.sf.javailp.Problem p)
public void makeData()
ILPModelJavaILPmakeData in class ILPModelJavaILPprotected void processModel(org.processmining.framework.plugin.PluginContext context,
net.sf.javailp.SolverFactory factory)
ILPModelJavaILPprocessModel in class ILPModelJavaILPprotected void processInitialPlaces(net.sf.javailp.Problem problem)
protected void processTransitions(net.sf.javailp.Problem problem,
boolean beforeTrans)
protected void processCausalDependencies(net.sf.javailp.Problem problem)
protected void addVariables(net.sf.javailp.Problem p)
p - - problemprotected void addObjective(net.sf.javailp.Problem p)
p - - problemprotected void addConstraints(net.sf.javailp.Problem p)
p - - problemprotected void addPlaceConstraints(net.sf.javailp.Problem p)
protected void addSolutions(net.sf.javailp.Result result)
result - protected ILPMinerSolution makeSolution(net.sf.javailp.Result result, int causalDependency)
result - public static java.lang.Object[] getSettingsGUI(com.fluxicon.slickerbox.factory.SlickerFactory f,
java.lang.Class<?> strategy)