Class CostModelImplModel
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.cost.CostModelAbstract
-
- org.processmining.plugins.inductiveVisualMiner.cost.CostModelImplModel
-
- All Implemented Interfaces:
CostModel
public class CostModelImplModel extends CostModelAbstract
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCostModelImplModel.ParameterNodeType
-
Field Summary
-
Fields inherited from class org.processmining.plugins.inductiveVisualMiner.cost.CostModelAbstract
attribute, format, formatE, model, ms2hr, parameters
-
-
Constructor Summary
Constructors Constructor Description CostModelImplModel(IvMModel model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetCost(IvMTrace trace)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.java.util.List<DataRow<java.lang.Object>>getModelRepresentation()The representation of this model (for the data analysis cost tab)java.lang.StringgetName()doublegetNodeParameter(int node, CostModelImplModel.ParameterNodeType parameterType)Times/durations will be in ms.org.processmining.plugins.InductiveMiner.Pair<java.lang.Long,java.lang.String>getNodeRepresentationModel(int node)The representation to show this model on a node.java.lang.String[][]getNodeRepresentationPopup(int node)The representation of this model for this node (for the model-activity node popups).intgetNumberOfParameters()-
Methods inherited from class org.processmining.plugins.inductiveVisualMiner.cost.CostModelAbstract
format, getInputsAndCost, getModelProperties, getParameters, setModelProperties, setParameters
-
-
-
-
Constructor Detail
-
CostModelImplModel
public CostModelImplModel(IvMModel model)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getNumberOfParameters
public int getNumberOfParameters()
- Specified by:
getNumberOfParametersin classCostModelAbstract
-
getInputs
public double[] getInputs(IvMMove startTrace, org.processmining.plugins.InductiveMiner.Sextuple<java.lang.Integer,java.lang.String,IvMMove,IvMMove,IvMMove,IvMMove> instance, IvMMove endTrace)
Description copied from class:CostModelAbstractNo side effects allowed. Will only be called for non-silent activities.- Specified by:
getInputsin classCostModelAbstract- Returns:
-
getNodeParameter
public double getNodeParameter(int node, CostModelImplModel.ParameterNodeType parameterType)Times/durations will be in ms.- Parameters:
node-parameterType-- Returns:
-
getCost
public double getCost(IvMTrace trace)
- Returns:
- the cost associated with the trace, or Double.NaN if it does not exist.
-
getNodeRepresentationModel
public org.processmining.plugins.InductiveMiner.Pair<java.lang.Long,java.lang.String> getNodeRepresentationModel(int node)
Description copied from interface:CostModelThe representation to show this model on a node. Value (for colouring) and string value.- Returns:
-
getNodeRepresentationPopup
public java.lang.String[][] getNodeRepresentationPopup(int node)
Description copied from interface:CostModelThe representation of this model for this node (for the model-activity node popups).- Returns:
-
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- Overrides:
getModelRepresentationin classCostModelAbstract- Returns:
-
-