public class PetriNetILPModel extends ILPModelCPLEX
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
aMinusAPrime |
protected int[][] |
aPrime |
protected java.util.ArrayList<java.lang.Integer> |
cd |
protected boolean |
initialPlace |
protected java.util.ArrayList<org.deckfour.xes.classification.XEventClass> |
initialPlaces |
protected int |
lang |
protected java.util.ArrayList<org.deckfour.xes.classification.XEventClass> |
notInitialPlaces |
protected static javax.swing.JComboBox |
searchTypeBox |
protected static PetriNetILPModelSettings |
strategySettings |
protected int |
trans |
extensions, factory, l, m, r, solutions, solverSettings| Constructor and Description |
|---|
PetriNetILPModel(ilog.opl.IloOplFactory factory,
java.lang.Class<?>[] extensions,
java.util.Map<ILPMinerSettings.SolverSetting,java.lang.Object> solverSettings,
ILPModelSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
protected ILPMinerSolution |
addSolution(ilog.opl.IloOplModel opl)
converts the CPLEX result in a solution (place representation) and adds
it to the set of found solutions
|
void |
customRead() |
protected java.lang.String |
getConstraints()
adds the constraints to the problem
|
java.lang.String |
getModel() |
protected java.lang.String |
getObjective()
adds an objective to the problem
|
protected java.lang.String |
getPlaceConstraints() |
static java.lang.Object[] |
getSettingsGUI(com.fluxicon.slickerbox.factory.SlickerFactory f,
java.lang.Class<?> strategy) |
protected double[] |
getValues(ilog.concert.IloIntVarMap map,
ilog.cplex.IloCplex cp,
int expectedSize) |
protected java.lang.String |
getVariables()
defines the variable types and bounds in the problem
|
void |
makeData()
Generates the model specific data from the generic data
|
protected void |
processBasic(org.processmining.framework.plugin.PluginContext context,
ilog.opl.IloOplModelDefinition def,
ilog.cplex.IloCplex cp) |
protected void |
processCausalDependencies(org.processmining.framework.plugin.PluginContext context,
ilog.opl.IloOplModelDefinition def,
ilog.cplex.IloCplex cp) |
protected void |
processInitialPlaces(org.processmining.framework.plugin.PluginContext context,
ilog.opl.IloOplModelDefinition def,
ilog.cplex.IloCplex cp) |
protected void |
processModel(org.processmining.framework.plugin.PluginContext context,
ilog.opl.IloOplSettings settings,
ilog.cplex.IloCplex cp)
Finds the solutions required for this model
|
protected void |
processTransitions(org.processmining.framework.plugin.PluginContext context,
ilog.opl.IloOplModelDefinition def,
ilog.cplex.IloCplex cp) |
protected void |
writePlaceData(ilog.opl.IloOplDataHandler handler) |
findPetriNetPlaces, getAuthor, getDescription, getExtensionConstraints, getName, getSolutions, loadLibraries, solveprotected static PetriNetILPModelSettings strategySettings
protected static javax.swing.JComboBox searchTypeBox
protected int trans
protected int lang
protected int[] aMinusAPrime
protected int[][] aPrime
protected 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 PetriNetILPModel(ilog.opl.IloOplFactory factory,
java.lang.Class<?>[] extensions,
java.util.Map<ILPMinerSettings.SolverSetting,java.lang.Object> solverSettings,
ILPModelSettings settings)
public void customRead()
customRead in class ilog.opl.IloCustomOplDataSourceprotected void writePlaceData(ilog.opl.IloOplDataHandler handler)
public java.lang.String getModel()
getModel in class ILPModelCPLEXpublic void makeData()
ILPModelCPLEXmakeData in class ILPModelCPLEXprotected void processModel(org.processmining.framework.plugin.PluginContext context,
ilog.opl.IloOplSettings settings,
ilog.cplex.IloCplex cp)
ILPModelCPLEXprocessModel in class ILPModelCPLEXprotected void processInitialPlaces(org.processmining.framework.plugin.PluginContext context,
ilog.opl.IloOplModelDefinition def,
ilog.cplex.IloCplex cp)
protected void processBasic(org.processmining.framework.plugin.PluginContext context,
ilog.opl.IloOplModelDefinition def,
ilog.cplex.IloCplex cp)
protected void processTransitions(org.processmining.framework.plugin.PluginContext context,
ilog.opl.IloOplModelDefinition def,
ilog.cplex.IloCplex cp)
protected void processCausalDependencies(org.processmining.framework.plugin.PluginContext context,
ilog.opl.IloOplModelDefinition def,
ilog.cplex.IloCplex cp)
protected java.lang.String getVariables()
p - - problemprotected java.lang.String getObjective()
protected java.lang.String getConstraints()
protected java.lang.String getPlaceConstraints()
protected ILPMinerSolution addSolution(ilog.opl.IloOplModel opl)
addSolution in class ILPModelCPLEXopl - - opl modelprotected double[] getValues(ilog.concert.IloIntVarMap map,
ilog.cplex.IloCplex cp,
int expectedSize)
throws ilog.cplex.IloCplex.UnknownObjectException,
ilog.concert.IloException
ilog.cplex.IloCplex.UnknownObjectExceptionilog.concert.IloExceptionpublic static java.lang.Object[] getSettingsGUI(com.fluxicon.slickerbox.factory.SlickerFactory f,
java.lang.Class<?> strategy)