cz.cuni.jagrlib.eval
Class Ex2005_06_a

java.lang.Object
  extended by cz.cuni.jagrlib.eval.DefaultPlugin
      extended by cz.cuni.jagrlib.eval.Ex2005_06_a
All Implemented Interfaces:
EvalPlugin

public class Ex2005_06_a
extends DefaultPlugin

Evaluation plugin for MainEval: exercise 06, general image filter testing.

Since:
0.24
See Also:
MainEval, Ex2005_06_a.java

Field Summary
protected static java.lang.String IMAGE
          Input image file-name.
protected static java.lang.String PARAM_TEMPLATE
          General parameter name.
protected static java.lang.String VALUE_TEMPLATE
          General parameter value.
 
Fields inherited from class cz.cuni.jagrlib.eval.DefaultPlugin
HTML
 
Fields inherited from interface cz.cuni.jagrlib.eval.EvalPlugin
BASE, CLASS_NAME, OUTPUT_FILE_NAME
 
Constructor Summary
Ex2005_06_a()
           
 
Method Summary
 boolean runTest(java.util.Map<java.lang.String,java.lang.String> env, java.util.Map<java.lang.String,java.lang.String> param, java.io.PrintStream out)
          Runs one instance of the test (simple variant, w/o global result storage).
 
Methods inherited from class cz.cuni.jagrlib.eval.DefaultPlugin
booleanParam, createResults, doubleParam, integerParam, interpretResults, runTest, stringParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMAGE

protected static final java.lang.String IMAGE
Input image file-name.

See Also:
Constant Field Values

PARAM_TEMPLATE

protected static final java.lang.String PARAM_TEMPLATE
General parameter name.

See Also:
Constant Field Values

VALUE_TEMPLATE

protected static final java.lang.String VALUE_TEMPLATE
General parameter value.

See Also:
Constant Field Values
Constructor Detail

Ex2005_06_a

public Ex2005_06_a()
Method Detail

runTest

public boolean runTest(java.util.Map<java.lang.String,java.lang.String> env,
                       java.util.Map<java.lang.String,java.lang.String> param,
                       java.io.PrintStream out)
Runs one instance of the test (simple variant, w/o global result storage).

Specified by:
runTest in interface EvalPlugin
Overrides:
runTest in class DefaultPlugin
Parameters:
env - Environment map (global params).
param - Individual params.
out - Text stream for output messages.
Returns:
True if test was successful, false in case of fatal error (instantiation, e.g.).