Class Scaler
- java.lang.Object
-
- org.processmining.plugins.inductiveVisualMiner.animation.Scaler
-
public class Scaler extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ScalerfromLog(IvMLog log, double fadeDurationInUserTime, double animationDurationInUserTime, IvMCanceller canceller)static ScalerfromValues(double animationDuration)doublegetInitialisationInLogTime()doublegetMaxInLogTime()doublegetMaxInUserTime()doublegetMinInLogTime()doublegetMinInUserTime()booleanisCorrectTime()java.lang.DoublelogTime2UserTime(java.lang.Double logTime)java.lang.DoublelogTime2UserTime(java.lang.Long logTime)java.lang.DoubleuserTime2Fraction(java.lang.Double userTime)java.lang.DoubleuserTime2LogTime(java.lang.Double userTime)
-
-
-
Method Detail
-
fromLog
public static Scaler fromLog(IvMLog log, double fadeDurationInUserTime, double animationDurationInUserTime, IvMCanceller canceller)
-
fromValues
public static Scaler fromValues(double animationDuration)
-
logTime2UserTime
public java.lang.Double logTime2UserTime(java.lang.Double logTime)
- Parameters:
logTime- The time in log timestamps.- Returns:
- The time in user time (from 0 to the duration of the animation in seconds)
-
logTime2UserTime
public java.lang.Double logTime2UserTime(java.lang.Long logTime)
-
userTime2LogTime
public java.lang.Double userTime2LogTime(java.lang.Double userTime)
-
userTime2Fraction
public java.lang.Double userTime2Fraction(java.lang.Double userTime)
-
getMinInUserTime
public double getMinInUserTime()
-
getMaxInUserTime
public double getMaxInUserTime()
-
getMinInLogTime
public double getMinInLogTime()
-
getMaxInLogTime
public double getMaxInLogTime()
-
getInitialisationInLogTime
public double getInitialisationInLogTime()
-
isCorrectTime
public boolean isCorrectTime()
- Returns:
- whether the timing is derived from the log (true) or randomly generated (false).
-
-