solverl v0.1.5 MinizincHandler behaviour

Behaviour, default implementations and helpers for solution handlers.

Link to this section Summary

Link to this section Callbacks

Link to this callback

handle_minizinc_error(mzn_error)

Specs

handle_minizinc_error(mzn_error :: map()) :: any()
Link to this callback

handle_solution(solution)

Specs

handle_solution(solution :: map()) :: :stop | {:stop, any()} | any()
Link to this callback

handle_summary(summary)

Specs

handle_summary(summary :: map()) :: any()