Blame view

fz/README 2.42 KB
51e810c0   Salvador Abreu   give usage exampl...
1
2
3
4
5
6
Parser Skeleton for FlatZinc
============================

This is the Gecode FlatZinc parser and interpreter, stripped of all
Gecode-specific stuff. You can use it as a starting point for your own
FlatZinc interpreter.
aa862a87   Salvador Abreu   removed unused fz...
7

e9654c4b   Salvador Abreu   added flatzinc pa...
8
This is version 1.0, released 2011-01-17.
aa862a87   Salvador Abreu   removed unused fz...
9

e9654c4b   Salvador Abreu   added flatzinc pa...
10
If you have questions, don't hesitate to contact me by email: tack@gecode.org
aa862a87   Salvador Abreu   removed unused fz...
11

e9654c4b   Salvador Abreu   added flatzinc pa...
12
The copyright and license information is listed in the header of each file.
51e810c0   Salvador Abreu   give usage exampl...
13

e9654c4b   Salvador Abreu   added flatzinc pa...
14
Guido Tack, 2011
aa862a87   Salvador Abreu   removed unused fz...
15
16
17

Implementing solver-specific methods
------------------------------------
e9654c4b   Salvador Abreu   added flatzinc pa...
18

aa862a87   Salvador Abreu   removed unused fz...
19
20
In order to hook up your solver to the parser, look at the file flatzinc.hh.
It contains a class FlatZincModel, which is implemented in flatzinc.cpp. It