]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/gourlay-breaking.hh
6a641b0dfc66c7274a1c1ecb0ad6af5ef2b48129
[lilypond.git] / lily / include / gourlay-breaking.hh
1 /*
2   gourlay-breaking.hh -- declare Gourlay_breaking
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef GOURLAY_BREAKING_HH
11 #define GOURLAY_BREAKING_HH
12
13 #include "break-algorithm.hh"
14
15 /**
16   A dynamic programming solution to breaking scores into lines
17  */
18 struct Gourlay_breaking : public Break_algorithm
19 {
20   Array<Column_x_positions> do_solve () const;
21   Gourlay_breaking ();
22   Real combine_demerits (Column_x_positions const&,Column_x_positions const&) const;
23 };
24 #endif // GOURLAY_BREAKING_HH