Class CostModelAbstract
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.cost.CostModelAbstract
-
- All Implemented Interfaces:
CostModel
- Direct Known Subclasses:
CostModelImplModel,CostModelImplModelDeviations,CostModelImplModelDeviationsService,CostModelImplModelDeviationsTime
public abstract class CostModelAbstract extends java.lang.Object implements CostModel
-
-
Constructor Summary
Constructors Constructor Description CostModelAbstract(IvMModel model)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringformat(double value)abstract double[]getInputs(IvMMove startTrace, org.processmining.plugins.InductiveMiner.Sextuple<java.lang.Integer,java.lang.String,IvMMove,IvMMove,IvMMove,IvMMove> instance, IvMMove endTrace)No side effects allowed.org.processmining.plugins.InductiveMiner.Pair<double[],java.lang.Double>getInputsAndCost(IvMTrace trace, IvMCanceller canceller)java.util.List<DataRow<java.lang.Object>>getModelProperties()java.util.List<DataRow<java.lang.Object>>getModelRepresentation()The representation of this model (for the data analysis cost tab)abstract intgetNumberOfParameters()double[]getParameters()voidsetModelProperties(java.util.List<DataRow<java.lang.Object>> modelProperties)voidsetParameters(double[] parameters)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.processmining.plugins.inductiveVisualMiner.cost.CostModel
getCost, getName, getNodeRepresentationModel, getNodeRepresentationPopup
-
-
-
-
Field Detail
-
attribute
public static final java.lang.String attribute
- See Also:
- Constant Field Values
-
ms2hr
public static final int ms2hr
- See Also:
- Constant Field Values
-
parameters
protected double[] parameters
-
model
protected final IvMModel model
-
formatE
public static final java.text.DecimalFormat formatE
-
format
public static final java.text.DecimalFormat format
-
-
Constructor Detail
-
CostModelAbstract
public CostModelAbstract(IvMModel model)
-
-
Method Detail
-
getInputs
public abstract double[] getInputs(IvMMove startTrace, org.processmining.plugins.InductiveMiner.Sextuple<java.lang.Integer,java.lang.String,IvMMove,IvMMove,IvMMove,IvMMove> instance, IvMMove endTrace)
No side effects allowed. Will only be called for non-silent activities.- Parameters:
node-initiate-enqueue-start-complete-- Returns:
-
getNumberOfParameters
public abstract int getNumberOfParameters()
-
getInputsAndCost
public org.processmining.plugins.InductiveMiner.Pair<double[],java.lang.Double> getInputsAndCost(IvMTrace trace, IvMCanceller canceller)
-
getParameters
public double[] getParameters()
-
setParameters
public void setParameters(double[] parameters)
-
getModelRepresentation
public java.util.List<DataRow<java.lang.Object>> getModelRepresentation()
Description copied from interface:CostModelThe representation of this model (for the data analysis cost tab)- Specified by:
getModelRepresentationin interfaceCostModel- Returns:
-
getModelProperties
public java.util.List<DataRow<java.lang.Object>> getModelProperties()
-
setModelProperties
public void setModelProperties(java.util.List<DataRow<java.lang.Object>> modelProperties)
-
format
public static final java.lang.String format(double value)
-
-