]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/gourlay-breaking.hh
* The grand 2005-2006 replace.
[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--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef GOURLAY_BREAKING_HH
10 #define GOURLAY_BREAKING_HH
11
12 #include "break-algorithm.hh"
13
14 /**
15    A dynamic programming solution to breaking scores into lines
16 */
17 struct Gourlay_breaking : public Break_algorithm
18 {
19   Array<Column_x_positions> do_solve () const;
20   Gourlay_breaking ();
21   Real combine_demerits (Column_x_positions const &, Column_x_positions const &) const;
22 };
23 #endif // GOURLAY_BREAKING_HH