|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.processmining.analysis.performance.sequence.Pattern
public class Pattern
Class needed to store and use pattern information
Constructor Summary | |
---|---|
Pattern(Sequence sq)
Constructor to initialize pattern |
Method Summary | |
---|---|
void |
addSequence(Sequence sq)
Adds sequence sq to the sequenceList, which contains all sequences that follow this pattern |
void |
calculateTimes()
Calculates throughput times |
boolean |
compareToSequence(Sequence sq,
boolean isStrict)
Compares the sequence to the pattern, returns true if they match |
void |
drawPattern(java.util.HashMap lifeLines,
int startY,
java.awt.Graphics2D g)
Draws the pattern in the pattern diagram |
void |
drawRectangle(double startX,
double startY,
double length,
boolean logicSteps,
java.awt.Graphics2D g)
Draws a rectangle of width 20, height length and starting point (startX,startY) in the northwest corner of the rectangle. |
java.util.ArrayList |
getArrowList()
Returns the sorted arrows of this pattern |
double[] |
getArrowPosition(int number)
Returns the average time between the beginning of a sequence of this pattern and the Timestamp at which arrow number 'number' began and ended |
double |
getAvgTimeToBegin(int number)
Returns the average time between the beginning of a sequence of this pattern and the Timestamp at which data-element part with number 'number' starts |
java.awt.Color |
getColor()
Returns the color of the pattern |
int |
getFrequency()
Returns the number of sequences that follow this pattern |
double |
getMaxThroughputTime()
Returns maximum throughput time |
double |
getMeanThroughputTime()
Returns mean throughput time |
double |
getMinThroughputTime()
Returns minimum throughput time |
int |
getPatternNumber()
Returns the number of the pattern |
java.util.HashSet |
getPiNames()
Returns the set of (names of) process instances, which follow this pattern |
java.util.ArrayList |
getSortedDataElementBlocks()
Returns the sorted list of data-element blocks |
double |
getStdevThroughputTime()
Returns standard deviation in throughput time |
double |
getTimePart(int number)
Returns the average time spend in data-element part with number 'number' |
void |
initializeDrawPattern(int patternNumber,
int startY,
double timePerPixel)
|
void |
setPatternNumber(int patternNumber)
Sets the number of the pattern |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pattern(Sequence sq)
sq
- SequenceMethod Detail |
---|
public boolean compareToSequence(Sequence sq, boolean isStrict)
sq
- SequenceisStrict
- boolean
public void calculateTimes()
public void addSequence(Sequence sq)
sq
- Sequencepublic int getFrequency()
public double getTimePart(int number)
number
- int
public double getAvgTimeToBegin(int number)
number
- int
public double[] getArrowPosition(int number)
number
- int
public java.util.ArrayList getSortedDataElementBlocks()
public java.util.ArrayList getArrowList()
public java.awt.Color getColor()
public int getPatternNumber()
public void setPatternNumber(int patternNumber)
patternNumber
- intpublic java.util.HashSet getPiNames()
public double getMeanThroughputTime()
public double getMinThroughputTime()
public double getMaxThroughputTime()
public double getStdevThroughputTime()
public void initializeDrawPattern(int patternNumber, int startY, double timePerPixel)
patternNumber
- intstartY
- inttimePerPixel
- doublepublic void drawPattern(java.util.HashMap lifeLines, int startY, java.awt.Graphics2D g)
lifeLines
- HashMapstartY
- intg
- Graphics2Dpublic void drawRectangle(double startX, double startY, double length, boolean logicSteps, java.awt.Graphics2D g)
startX
- doublestartY
- doublelength
- doublelogicSteps
- booleang
- Graphics2D
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |