]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/dot-formatting-problem.hh
fcb6d19a223d69b567d531c5a30126b669c5a38f
[lilypond.git] / lily / include / dot-formatting-problem.hh
1 #ifndef DOT_FORMATTING_PROBLEM_HH
2 #define DOT_FORMATTING_PROBLEM_HH
3
4 #include "skyline.hh"
5 #include "std-vector.hh"
6
7 #include <map>
8
9 struct Dot_formatting_problem
10 {
11   Skyline head_skyline_;
12   Dot_configuration *best_;
13   int score_;
14
15   void register_configuration (Dot_configuration const &);
16   Dot_configuration *best () const;
17   Dot_formatting_problem (vector<Box> const &boxes, Interval base_x);
18   ~Dot_formatting_problem ();
19 };
20
21 #endif