public interface Algorithm extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Value |
compute(Segment<PrimitiveParameter> segment,
AlgorithmArguments arguments)
Computes whether or not a temporal abstraction exists in a segment of a
time series.
|
Filter |
createDataSourceConstraint() |
int |
getAdvanceRowSkipEnd() |
String |
getId()
The algorithm's unique id.
|
ValueType |
getInValueType() |
int |
getMaximumNumberOfValues()
Gets the default maximum sliding window width.
|
int |
getMinimumNumberOfValues()
Gets the default minimum sliding window width.
|
AlgorithmParameter[] |
getParameters() |
void |
initialize(AlgorithmArguments arguments) |
AlgorithmParameter |
parameter(String name)
Returns the named parameter.
|
int getMinimumNumberOfValues()
maximumNumberOfValues.int != 0.org.protempa.LowLevelAbstractionValueDefinition#getMaximumNumberOfValues()int getMaximumNumberOfValues()
int > 0.org.protempa.LowLevelAbstractionValueDefinition#getMaximumNumberOfValues()void close()
ValueType getInValueType()
AlgorithmParameter[] getParameters()
AlgorithmParameter parameter(String name)
name - a String.AlgorithmParameter, or null if the named
parameter does not exist.Filter createDataSourceConstraint()
int getAdvanceRowSkipEnd()
void initialize(AlgorithmArguments arguments) throws AlgorithmInitializationException
AlgorithmInitializationExceptionValue compute(Segment<PrimitiveParameter> segment, AlgorithmArguments arguments) throws AlgorithmProcessingException
segment - a Segment of Parameter objects.null if the pattern does not exist, or an
algorithm-specific Value if it does.AlgorithmProcessingExceptionCopyright © 2012–2016 Emory University. All rights reserved.