*/
void assert_solution(Vector sol) const;
/// solve the problem using a projected gradient method
+ Vector constraint_solve(Vector)const;
+ /**
+ Solve it. First try it the easy way.
+ */
Vector solve(Vector start) const;
/**
Music_iterator::print() const
{
#ifndef NPRINT
+ if ( !check_debug)
+ return ;
mtor << name() << "{";
mtor << "report to " <<
report_to_l() << " (" << report_to_l()->name() << ")\n";
i++;
}
Music_iterator::process_and_next(until);
-
-// assert(!ok() || next_moment() > until);
}
Moment
Chord_iterator::next_moment()const
{
- Moment next_ = INFTY_f;
+ Moment next_ = infinity_mom;
for (PCursor<Music_iterator*> i(children_p_list_.top()); i.ok(); i++)
next_ = next_ <? i->next_moment() ;
return next_;