|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.analysis.log.scale.ActivityScale
public class ActivityScale
This class weighs a process instance based on the contained number of audit trail entries.
Field Summary | |
---|---|
protected boolean |
positivelyCorrelated
|
Constructor Summary | |
---|---|
ActivityScale()
Creates a new scale instance which is negatively correlated, i.e. |
|
ActivityScale(boolean isPositivelyCorrelated)
Creates a new scale instance |
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 anInstance)
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 ActivityScale()
public ActivityScale(boolean isPositivelyCorrelated)
isPositivelyCorrelated
- Whether the scale is positively correlated to the number
of events contained. I.e., if this flag is set to true
,
longer instances will yield a higher weight. If this flag is set to
false
the weight will decrease with the length of the
weighed process instance.Method Detail |
---|
public double weigh(ProcessInstance anInstance)
ProcessInstanceScale
weigh
in interface ProcessInstanceScale
anInstance
- 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 |