[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue 37 - new work
From: |
Han-Wen Nienhuys |
Subject: |
Re: Issue 37 - new work |
Date: |
Sat, 29 Jan 2011 13:10:26 -0200 |
On Fri, Jan 28, 2011 at 11:55 AM, address@hidden
<address@hidden> wrote:
>> Despite the joke, this is a semi-serious suggestion that I've been
>> hoping that somebody might be interested in for years. There's a
>> bunch of options that we can enable or disable to change the
>> amount of processing power; it would be really nice if one (or
>> more) people seriously looked into this, and provided an easy way
>> to change between the "optimization" levels.
>
>
> I completely agree. I think that the beam collision engraver > (if it makes
> it into lilypond) is the prime example of
> something that could be included or left out with
> optimization flags. There can even be multiple collision
> engravers that perform the same task but provide different
> levels of optimization.
In the case of the beam scoring specifically, I disagree: there are
many ways to search more cleverly in the problem space.
For beams specifically, how about this one:
choose large region size
calculate cheapest of the scoring functions for all configurations
put configurations in a min-heap
while (true) {
take minimum score configuration from heap
if conf has passed all scoring functions
break // found optimum
add another scoring function to configuration // *
insert result in heap
}
for the common cases, this will skip computations for many of the more
extreme cases. At //* , there is still some option of further
optimization by doing an intelligent choice between what to run next.
The same approach should work well for slurs as well.
If I find time one of these days (may be next week), I'll try to implement this.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- Issue 37 - new work, Mike Solomon, 2011/01/26
- Re: Issue 37 - new work, Han-Wen Nienhuys, 2011/01/28
- Re: Issue 37 - new work, Mike Solomon, 2011/01/28
- Re: Issue 37 - new work, Mike Solomon, 2011/01/28
- Re: Issue 37 - new work, David Kastrup, 2011/01/28
- Re: Issue 37 - new work, Graham Percival, 2011/01/28
- Re: Issue 37 - new work, David Kastrup, 2011/01/28
- Re: Issue 37 - new work, address@hidden, 2011/01/28
- Re: Issue 37 - new work,
Han-Wen Nienhuys <=
- Re: Issue 37 - new work, address@hidden, 2011/01/29
- Re: Issue 37 - new work, Han-Wen Nienhuys, 2011/01/29
- Re: Issue 37 - new work, address@hidden, 2011/01/29
- Re: Issue 37 - new work, Han-Wen Nienhuys, 2011/01/28
- Re: Issue 37 - new work, Graham Percival, 2011/01/28
- Re: Issue 37 - new work, Han-Wen Nienhuys, 2011/01/28
- Re: Issue 37 - new work, Graham Percival, 2011/01/28
- Re: Issue 37 - new work, Han-Wen Nienhuys, 2011/01/28
- Re: Issue 37 - new work, Graham Percival, 2011/01/28
- Re: Issue 37 - new work, Marc Hohl, 2011/01/29