/*
- break-algorithm.hh -- declare Break_algorithm
+ break-algorithm.hh -- declare Break_algorithm
source file of the GNU LilyPond music typesetter
- (c) 1996--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1996--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#ifndef BREAK_HH
Paper_score *pscore_;
Real linewidth_;
- Link_array<Grob> find_breaks () const;
- Array<int> find_break_indices () const;
void solve_line (Column_x_positions *) const;
- bool feasible (Link_array<Grob> const &) const;
+ bool feasible (vector<Grob*> const &) const;
- Simple_spacer_wrapper *generate_spacing_problem (Link_array<Grob> const &, Interval) const;
-
- virtual Array<Column_x_positions> do_solve () const = 0;
public:
virtual ~Break_algorithm ();
Simple_spacer *(*get_line_spacer) ();
Break_algorithm ();
void set_pscore (Paper_score *);
- Array<Column_x_positions> solve () const;
+ virtual vector<Column_x_positions> solve ();
};
#endif // BREAK_HH