solverl v1.0.3 MinizincHandler behaviour

Behaviour, default implementations and helpers for solution handlers.

Link to this section Summary

Link to this section Functions

Link to this function

on_compiled(compilation_info, solution_handler)

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()) :: :break | {:break, any()} | :skip | any()
Link to this callback

handle_summary(summary)

Specs

handle_summary(summary :: map()) :: any()
Link to this callback

on_compiled(compilation_info)

Specs

on_compiled(compilation_info :: map()) :: any()