/*
* MyEngine.java
*
*/
import de.tum.binfo.proj.input.IInput;
public class MyEngine extends Engine {
public MyEngine() {
super();
}
/**
* @param setA first dataset
* @param setB second dataset
* @throws Exception
*/
public MyEngine(IInput setA, IInput setB) throws Exception {
super(setA, setB);
}
/**
* @param setA a dataset
* @throws Exception
*/
public MyEngine(IInput setA) throws Exception {
super(setA);
}
public String toString() {
return null;
}
public int hashCode() {
return 0;
}
public void run() throws Exception {
}
}
Important is the toString() method. It will be invoked implicit by the Engine.getResult() method to create the result. So all the "output" of the engine has to be returned by this method.