Class PSDPatternArrow
- java.lang.Object
-
- org.processmining.plugins.psd.model.PSDArrow
-
- org.processmining.plugins.psd.model.pattern.PSDPatternArrow
-
public class PSDPatternArrow extends PSDArrow
-
-
Constructor Summary
Constructors Constructor Description PSDPatternArrow(long beginTime, long endTime, java.lang.String source, java.lang.String destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBeginTime(double beginTime)Adjusts the average begin time, so beginTime is included.voidaddEndTime(double endTime)Adjusts the average end time, so endTime is included.booleanequals(java.lang.Object obj)Checks whether an arrow is equal to another onedoublegetAverageBeginTime()Returns the average begin time of the arrowdoublegetAverageEndTime()Returns the average end time of the arrowdoublegetTimeIn()Returns the average time between the begin and the end of the arrowinthashCode()-
Methods inherited from class org.processmining.plugins.psd.model.PSDArrow
drawArrow, getDestination, getDestinationBlock, getEndAt, getSource, getSourceBlock, getStartAt, isOnLine, setDestinationBlock, setEndAt, setSourceBlock, setStartAt
-
-
-
-
Method Detail
-
addBeginTime
public void addBeginTime(double beginTime)
Adjusts the average begin time, so beginTime is included.- Parameters:
beginTime- double
-
addEndTime
public void addEndTime(double endTime)
Adjusts the average end time, so endTime is included.- Parameters:
endTime- double
-
getAverageBeginTime
public double getAverageBeginTime()
Returns the average begin time of the arrow- Returns:
- double
-
getAverageEndTime
public double getAverageEndTime()
Returns the average end time of the arrow- Returns:
- double
-
getTimeIn
public double getTimeIn()
Returns the average time between the begin and the end of the arrow- Returns:
- double
-
equals
public boolean equals(java.lang.Object obj)
Checks whether an arrow is equal to another one- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- Object- Returns:
- boolean
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-