public class MSDKCentroidingMethod extends Object implements MSDKMethod<RawDataFile>
MSDKCentroidingMethod class.
| Constructor and Description |
|---|
MSDKCentroidingMethod(RawDataFile rawDataFile,
MSDKCentroidingAlgorithm centroidingAlgorithm)
Constructor for MSDKCentroidingMethod.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel a running algorithm.
|
RawDataFile |
execute()
Performs the algorithm.
|
Float |
getFinishedPercentage()
Returns a number in the interval 0 to 1.0, representing the portion of the task that has
completed, or null if the algorithm has not yet started.
|
RawDataFile |
getResult()
Returns the result of this algorithm, or null.
|
public MSDKCentroidingMethod(@Nonnull RawDataFile rawDataFile, @Nonnull MSDKCentroidingAlgorithm centroidingAlgorithm)
Constructor for MSDKCentroidingMethod.
rawDataFile - a RawDataFile object.centroidingAlgorithm - a
MSDKCentroidingAlgorithm object.public Float getFinishedPercentage()
getFinishedPercentage in interface MSDKMethod<RawDataFile>public RawDataFile execute() throws MSDKException
execute in interface MSDKMethod<RawDataFile>MSDKException - On any errorpublic RawDataFile getResult()
getResult in interface MSDKMethod<RawDataFile>public void cancel()
cancel in interface MSDKMethod<RawDataFile>Copyright © 2019. All rights reserved.