public class ALPartitionEvaluationTask extends ALMainTask
Modifier and Type | Field and Description |
---|---|
ClassOption |
multiParamTaskOption |
IntOption |
numPartitionsOption |
IntOption |
randomSeedOption |
colorCoding, isLastSubtaskOnLevel, nameSuffix
INSTANCES_BETWEEN_MONITOR_UPDATES, outputFileOption
config
Constructor and Description |
---|
ALPartitionEvaluationTask() |
Modifier and Type | Method and Description |
---|---|
protected Object |
doMainTask(TaskMonitor monitor,
ObjectRepository repository)
This method performs this task.
|
String |
getPurposeString()
Dictionary with option texts and objects
|
List<ALTaskThread> |
getSubtaskThreads()
Get the list of threads for all subtasks and recursively the children's
subtasks.
|
Class<?> |
getTaskResultType()
Gets the result type of this task.
|
protected void |
prepareForUseImpl(TaskMonitor monitor,
ObjectRepository repository)
This method describes the implementation of how to prepare this object for use.
|
getColorCoding, getDisplayName, getSubtaskLevel, isSubtask, setColorCoding, setIsLastSubtaskOnLevel, setNameSuffix
doTaskImpl
doTask, doTask, getDescription, getTaskName
copy, getCLICreationString, getOptions, getPreparedClassOption, prepareClassOptions, prepareForUse, prepareForUse
copy, measureByteSize, measureByteSize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, measureByteSize
public ClassOption multiParamTaskOption
public IntOption numPartitionsOption
public IntOption randomSeedOption
public String getPurposeString()
AbstractOptionHandler
getPurposeString
in interface OptionHandler
getPurposeString
in class AbstractOptionHandler
protected void prepareForUseImpl(TaskMonitor monitor, ObjectRepository repository)
AbstractOptionHandler
prepareForUseImpl
and not prepareForUse
since
prepareForUse
calls prepareForUseImpl
.prepareForUseImpl
in class AbstractTask
monitor
- the TaskMonitor to userepository
- the ObjectRepository to usepublic Class<?> getTaskResultType()
Task
protected Object doMainTask(TaskMonitor monitor, ObjectRepository repository)
MainTask
AbstractTask
implements doTask
,
that uses doTaskImpl
.
MainTask
implements doTaskImpl
using
doMainTask
so its extensions only need to implement
doMainTask
.doMainTask
in class MainTask
monitor
- the TaskMonitor to userepository
- the ObjectRepository to usepublic List<ALTaskThread> getSubtaskThreads()
MetaMainTask
getSubtaskThreads
in class ALMainTask
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.