cz.cuni.amis.pogamut.ut2004.navigation.evaluator
Class SingleTaskEvaluatorBase

Package class diagram package SingleTaskEvaluatorBase
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.navigation.evaluator.SingleTaskEvaluatorBase
Direct Known Subclasses:
SingleTaskEvaluator

public abstract class SingleTaskEvaluatorBase
extends Object

Base class for task evaluators.

Author:
Bogo

Field Summary
protected static Logger log
           
 
Constructor Summary
SingleTaskEvaluatorBase()
           
 
Method Summary
abstract  int execute(IEvaluationTask task)
          Executes given IEvaluationTask.
static void main(String[] args)
          Main method.
protected  void processResult(IEvaluationTask task)
           
static UCCWrapper run(String mapName)
          Starts UCC server.
protected  void setupLog(String logPath)
          Redirects out to save log in file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final Logger log
Constructor Detail

SingleTaskEvaluatorBase

public SingleTaskEvaluatorBase()
Method Detail

main

public static void main(String[] args)
Main method. Accepts path to task file in args.

Parameters:
args - Path to file, resume, label.

run

public static UCCWrapper run(String mapName)
Starts UCC server.

Parameters:
mapName - Map which start on server.
Returns:
Server wrapper.

setupLog

protected void setupLog(String logPath)
Redirects out to save log in file.

Parameters:
logPath -

execute

public abstract int execute(IEvaluationTask task)
Executes given IEvaluationTask.

Parameters:
task - Task to execute.
Returns:
Execution result.

processResult

protected void processResult(IEvaluationTask task)


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.