Class ModeCost
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.mode.Mode
-
- org.processmining.plugins.inductiveVisualMiner.mode.ModeCost
-
public class ModeCost extends Mode
-
-
Field Summary
Fields Modifier and Type Field Description ProcessTreeVisualisationParametersvisualisationParametersProcessTreeVisualisationParametersvisualisationParametersBeforeCost
-
Constructor Summary
Constructors Constructor Description ModeCost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IvMObject<?>[]createOptionalObjects()protected IvMObject<?>[]createVisualisationDataOptionalObjects()AlignedLogVisualisationDatagetVisualisationData(IvMObjectValues inputs)Perform the computations necessary to visualise something on the model.ProcessTreeVisualisationParametersgetVisualisationParametersWithAlignments(IvMObjectValues inputs)Note that there is no guarantee that the requested objects will be provided: a mode has to always work.booleanisShowDeviations()booleanisVisualisationDataUpdateWithTimeStep()java.lang.StringtoString()-
Methods inherited from class org.processmining.plugins.inductiveVisualMiner.mode.Mode
gatherInputsRequested, getOptionalObjects, getParametersWithoutAlignments, getVisualisationDataOptionalObjects
-
-
-
-
Field Detail
-
visualisationParametersBeforeCost
public ProcessTreeVisualisationParameters visualisationParametersBeforeCost
-
visualisationParameters
public ProcessTreeVisualisationParameters visualisationParameters
-
-
Method Detail
-
createOptionalObjects
public IvMObject<?>[] createOptionalObjects()
- Specified by:
createOptionalObjectsin classMode- Returns:
- The objects that would be handy for this mode. A mode must be always available, so there is no guarantee that the objects will be provided.
-
getVisualisationParametersWithAlignments
public ProcessTreeVisualisationParameters getVisualisationParametersWithAlignments(IvMObjectValues inputs)
Description copied from class:ModeNote that there is no guarantee that the requested objects will be provided: a mode has to always work. However, alignments can be assumed to have finished. That is, IvMObject.model and IvMObject.aligned_log_info_filtered will be available (though not the filtered variants).- Specified by:
getVisualisationParametersWithAlignmentsin classMode- Returns:
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isShowDeviations
public boolean isShowDeviations()
- Specified by:
isShowDeviationsin classMode
-
createVisualisationDataOptionalObjects
protected IvMObject<?>[] createVisualisationDataOptionalObjects()
- Specified by:
createVisualisationDataOptionalObjectsin classMode- Returns:
- The objects that would be handy for this visualisation data. Visualisation data must be always available, so there is no guarantee that the objects will be provided. However, IvMObject.model and IvMObject.aligned_log_info_filtered will be available but must still be requested.
-
getVisualisationData
public AlignedLogVisualisationData getVisualisationData(IvMObjectValues inputs)
Description copied from class:ModePerform the computations necessary to visualise something on the model. Will be called asynchronously, and the result must not be cached. There is no guarantee that the requested inputs will be available: the visualisation data has to always work. However, IvMObject.model and IvMObject.aligned_log_info_filtered will be available but must still be requested.- Specified by:
getVisualisationDatain classMode- Returns:
-
isVisualisationDataUpdateWithTimeStep
public boolean isVisualisationDataUpdateWithTimeStep()
- Specified by:
isVisualisationDataUpdateWithTimeStepin classMode- Returns:
- Whether the visualisation data should be updated every time the animation takes a time step.
-
-