bach.histo FR

Discussions, advice, bug reports and much more about the "bach" environment.
Post Reply
ernopolo
Posts: 151
Joined: Sun Sep 16, 2012 6:55 pm

bach.histo FR

Post by ernopolo » Fri Mar 24, 2017 4:21 pm

Hi.

I wanted to track how many occurences of sublists (e.g. (10 4)) are in a long lll, something like this:

( 16 4 ) ( 4 10 ) ( 10 6 ) ( 6 12 ) ( 12 18 ) ( 18 11 ) ( 11 10 ) ( 10 6 ) ( 6 12 ) ( 12 13 ) ( 13 1 ) ( 1 6 ) ( 6 7 ) ( 7 16 ) ( 16 15 ) ( 15 9 ) ( 9 9 ) ( 9 9 ) ( 9 14 ) ( 14 7 ) ( 7 3 ) ( 3 12 ) ( 12 7 ) ( 7 4 ) ( 4 15 ) ( 15 9 ) ( 9 3 ) ( 3 6 ) ( 6 16 ) ( 16 15 ) ( 15 3 ) ( 3 10 ) ( 10 4 ) ( 4 15 ) ( 15 9 ) ( 9 12 ) ( 12 1 ) ( 1 5 ) ( 5 10 ) ( 10 5 ) ( 5 2 ) ( 2 2 ) ( 2 7 ) ( 7 10 ) ( 10 3 ) ( 3 15 ) ( 15 4 ) ( 4 10 ) ( 10 3 ) ( 3 18 ) ( 18 10 ) ( 10 6 ) ( 6 16 ) ( 16 16 ) ( 16 6 ) ( 6 4 ) ( 4 15 ) ...

and thought it would be nice to have bach.histo do it. As another mode, instead of making histogram on all levels, or we could set a maxdepth, and track not only integers but whole llls too.

just another thing for the long long FR list, sorryyy ;)
E

Post Reply