class Line_spacer

abstract interface to Line spacing

Inheritance:


Public Methods

virtual void add_column(Paper_column *, bool fixed=false, Real fixpos=0.0)
add a col to the problem
virtual bool check_constraints(Vector v)
can the posed problem be solved?

@pre

prepare() was called

virtual Vector default_solution()
generate a solution which can't fail
virtual void lower_bound_solution(Column_x_positions *)
Approximate the spacing problem: return a lower bound on the energy
virtual void prepare()
Call after construction before solving
virtual void solve(Column_x_positions *)
solve the spacing problem

Documentation

abstract interface to Line spacing.

TODO add estimate of "force" or energy.

virtual void solve(Column_x_positions *)
solve the spacing problem

virtual void lower_bound_solution(Column_x_positions *)
Approximate the spacing problem: return a lower bound on the energy

virtual void add_column(Paper_column *, bool fixed=false, Real fixpos=0.0)
add a col to the problem. columns have to be added left to right. The column contains info on it's minimum width.

virtual bool check_constraints(Vector v)
can the posed problem be solved?

@pre

prepare() was called

virtual Vector default_solution()
generate a solution which can't fail

virtual void prepare()
Call after construction before solving


Direct child classes:
Spring_spacer

alphabetic index hierarchy of classes


This program documentation comes from lilypond-1.0.0.tar.gz. It was generated by <janneke@gnu.org> on Fri Jul 31 15:42:17 CEST 1998