Package ai.libs.hasco.knowledgebase
Class IntermediateResultHandler
- java.lang.Object
-
- ai.libs.hasco.knowledgebase.IntermediateResultHandler
-
public class IntermediateResultHandler extends java.lang.ObjectClass to handle HASCOSolutionEvaluationEvents and insert the results into the database.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTABLE_NAME
-
Constructor Summary
Constructors Constructor Description IntermediateResultHandler(ai.libs.jaicore.basic.SQLAdapter adapter, java.lang.String benchmarkName, java.lang.String testEvalTechnique, java.lang.String testSplitTechnique, int testSeed, java.lang.String valEvalTechnique, java.lang.String valSplitTechnique, int valSeed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreceiveSolutionEvaluationEvent(HASCOSolutionEvaluationEvent<?,?> solution)
-
-
-
Field Detail
-
TABLE_NAME
public static final java.lang.String TABLE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IntermediateResultHandler
public IntermediateResultHandler(ai.libs.jaicore.basic.SQLAdapter adapter, java.lang.String benchmarkName, java.lang.String testEvalTechnique, java.lang.String testSplitTechnique, int testSeed, java.lang.String valEvalTechnique, java.lang.String valSplitTechnique, int valSeed)
-
-
Method Detail
-
receiveSolutionEvaluationEvent
public void receiveSolutionEvaluationEvent(HASCOSolutionEvaluationEvent<?,?> solution) throws com.fasterxml.jackson.core.JsonProcessingException, java.sql.SQLException
- Throws:
com.fasterxml.jackson.core.JsonProcessingExceptionjava.sql.SQLException
-
-