|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.analysis.log.scale.GroupedLogScale
public class GroupedLogScale
This scale weighs a process instance based on the overall duration of execution (i.e. the runtime).
Field Summary | |
---|---|
protected boolean |
positivelyCorrelated
|
Constructor Summary | |
---|---|
GroupedLogScale()
Creates a new duration scale which is negatively correlated, i.e. |
|
GroupedLogScale(boolean isPositivelyCorrelated)
Creates a new duration scale |
Method Summary | |
---|---|
java.lang.String |
getHtmlDescription()
Gets a description of this plugin in HTML. |
java.lang.String |
getName()
Gets the name of this plugin. |
double |
weigh(ProcessInstance instance)
This method assigns a weight on some total scale to a provided process instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean positivelyCorrelated
Constructor Detail |
---|
public GroupedLogScale()
public GroupedLogScale(boolean isPositivelyCorrelated)
isPositivelyCorrelated
- Whether this instance is positively correlated
to the instance duration, i.e. if set to true
longer-running
instances will yield a higher weight. If set to false
, shorter
instances will be weighed higher.Method Detail |
---|
public double weigh(ProcessInstance instance)
ProcessInstanceScale
weigh
in interface ProcessInstanceScale
instance
- The process instance to be weighed
>= 0.0
.
Weights are supposed to be interpreted like "the bigger the better", i.e. a process instance that has a higher "value" of some kind should also yield a respectively high weight.
public java.lang.String getName()
Plugin
getName
in interface Plugin
public java.lang.String getHtmlDescription()
Plugin
html
, head
and
body
tags should not be used.
This HTML page is displayed in the help system or as context sensitive help.
The HTML body can be stored in an external file in the /lib/documentation/ sub
folder and in this case it can be obtained by calling PluginDocumentationLoader.load(this)
getHtmlDescription
in interface Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |