haskelzinc-0.1.0.0: CP in Haskell through MiniZinc

Copyright(c) Some Guy, 2013 Someone Else, 2014
LicenseGPL-3
MaintainerKlara Marntirosian <klara.mar@cs.kuleuven.be>
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell2010

Interfaces.FZSolutionParser

Description

This module parses the solutions outputed by the specified FlatZinc solver. It supports multiple solutions. The parser might fail if there is a show item in the represented MiniZinc model which alters the default format of the solutions' output.

This parser is built using the Text.Parsec module.

Synopsis

Documentation

getSolution :: FilePath -> IO () Source

Given the path of the file where the solution(s) have been printed, this function reads the file, parses the solution(s) and prints them.