On Monday 27 Nov 2006 03:43, Stephen Torri wrote:
> At the link below you can grab the chord generation program that I
> developed for the source code provided by Dr. Radicioni. She created
> the original program as a part of her disseration work. It created
> all possible chords for a given scale. I took that work and cleaned
> up its structure from its original C.

I'd just like to acknowledge this and remark that it looks interesting, 
but I'm not a guitarist at all and probably have next to no ability to 
comment usefully on it.  Any comments from our resident guitar players?

I saved off the tarball and tried building it, and got

In file included from Data_Structure.hpp:12,
                 from Data_Structure.cpp:1:
Hash_Map.hpp:6:26: ext/hash_fun.h: No such file or directory

This is clearly related to the recent questions about hash functions, 
but I don't recall where ext/hash_fun.h should be coming from.  (I'm 
using g++ 3.3.5 on Debian if it matters.)

Probably irrelevant, but had I been here when that thread was active I'd 
probably have suggested forgetting about hashes and using the obvious 
std::map with string keys, until and unless you can demonstrate that 
there is a difference in performance and that it actually matters.  
(Remembering that the time taken to generate a hash of a string key may 
be just as much as that to find the string in a tree-based map, 
depending on the size of the map and the length and other properties of 
the keys -- and neither is very likely to figure in your overall 
runtime unless you do an awful lot of lookups.)


Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to