public class MapPathsEvaluationTask extends EvaluationTask<MapPathsBotParameters,MapPathsBot> implements IEvaluationTask<MapPathsBotParameters,MapPathsBot>
| Modifier and Type | Class and Description |
|---|---|
static class |
MapPathsEvaluationTask.PathType
Path types to count.
|
| Constructor and Description |
|---|
MapPathsEvaluationTask(String mapName,
String navigation,
String pathPlanner,
String resultPath,
MapPathsEvaluationTask.PathType pathType,
boolean relevantOnly)
Default constructor.
|
MapPathsEvaluationTask(String mapName,
String navigation,
String pathPlanner,
String resultPath,
MapPathsEvaluationTask.PathType pathType,
boolean relevantOnly,
int batchNumber)
Constructor with explicit batch number.
|
| Modifier and Type | Method and Description |
|---|---|
static MapPathsEvaluationTask |
buildFromArgs(String[] args)
Deprecated.
|
int |
getBatchNumber()
Gets batch number.
|
MapPathsBotParameters |
getBotParams()
Bot parameters.
|
String |
getFileName()
File of the task.
|
Level |
getLogLevel()
Get level of log which should be stored in result.
|
String |
getLogPath()
Path where log will be stored.
|
String |
getMapName()
Map name where the evaluation will take place.
|
String |
getNavigation() |
String |
getPathPlanner() |
MapPathsEvaluationTask.PathType |
getPathType() |
boolean |
getRelevantOnly() |
String |
getResultPath()
Gets path where result data should be stored.
|
boolean |
isBatchTask()
Whether is part of explicitly numbered batch.
|
void |
setResultBasePath(String basePath) |
void |
toArgs(List<String> command)
Deprecated.
|
getBotClass, getBotParamsClass, getJarPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBotClass, getBotParamsClass, getJarPathpublic MapPathsEvaluationTask(String mapName, String navigation, String pathPlanner, String resultPath, MapPathsEvaluationTask.PathType pathType, boolean relevantOnly)
mapName - navigation - pathPlanner - resultPath - pathType - relevantOnly - public MapPathsEvaluationTask(String mapName, String navigation, String pathPlanner, String resultPath, MapPathsEvaluationTask.PathType pathType, boolean relevantOnly, int batchNumber)
mapName - navigation - pathPlanner - resultPath - pathType - relevantOnly - batchNumber - public String getMapName()
IEvaluationTaskgetMapName in interface IEvaluationTask<MapPathsBotParameters,MapPathsBot>public MapPathsBotParameters getBotParams()
IEvaluationTaskgetBotParams in interface IEvaluationTask<MapPathsBotParameters,MapPathsBot>public String getNavigation()
public String getPathPlanner()
public String getResultPath()
IEvaluationTaskgetResultPath in interface IEvaluationTask<MapPathsBotParameters,MapPathsBot>public MapPathsEvaluationTask.PathType getPathType()
public int getBatchNumber()
public boolean isBatchTask()
@Deprecated public static MapPathsEvaluationTask buildFromArgs(String[] args)
args - Command line arguments.@Deprecated public void toArgs(List<String> command)
command - Arguments list to fill.public String getLogPath()
IEvaluationTaskgetLogPath in interface IEvaluationTask<MapPathsBotParameters,MapPathsBot>public String getFileName()
IEvaluationTaskgetFileName in interface IEvaluationTask<MapPathsBotParameters,MapPathsBot>public boolean getRelevantOnly()
public Level getLogLevel()
IEvaluationTaskgetLogLevel in interface IEvaluationTask<MapPathsBotParameters,MapPathsBot>public void setResultBasePath(String basePath)
setResultBasePath in interface IEvaluationTask<MapPathsBotParameters,MapPathsBot>Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.