Interface ModelPostProcessor
public interface ModelPostProcessor
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(ModelOutput modelOutput, SolverModel<?> solverModel, String id) Process successfully solved model run.default voidprocessComputed(ModelOutput modelOutput, SolverModel<?> solverModel, String id) Process successfully computed model (not yet solved).default voidprocessFailed(String id, Throwable error) Process failed model run
-
Method Details
-
process
Process successfully solved model run.The post processor is called when solver terminates either by meeting termination conditions or by termination request.
- Parameters:
solverModel- the model with all data taken from the solvingid- unique identifier of the model
-
processComputed
Process successfully computed model (not yet solved).The post processor is called when dataset is validated and its initial outputs computed.
- Parameters:
solverModel- the modelid- unique identifier of the model
-
processFailed
-