|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.sketch.features.DurationFE
public class DurationFE
DurationFE computes the amount of time taken to draw a stroke. Returns 0 if there's only one data point. One of Rubine's features.
Constructor Summary | |
---|---|
DurationFE()
|
Method Summary | |
---|---|
double |
apply(TimedStroke s)
Return the duration of the specified stroke. |
static double |
duration(TimedStroke s)
Return the duration of the specified stroke. |
String |
getName()
Return the name of this feature extractor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DurationFE()
Method Detail |
---|
public double apply(TimedStroke s)
apply
in interface FeatureExtractor
public static double duration(TimedStroke s)
public String getName()
getName
in interface FeatureExtractor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |