This is a small aside. While reading a paper by Grüner, Laue, and Meringer on generation by homomorphism they mentioned the Gale-Ryser (GR) theorem. As it turns out, this is a nice small theorem closely related to the better known Erdős-Gallai (EG). So, GR says that given two partitions of an integer ( p and q) there exists a (0, 1) matrix A iff p* dominates q such that the row sum vector r(A) = p and the column sum vector c(A) = q . As with most mathematics, that's quite terse and full of terminology like 'dominates' : but it's relatively simple. Here is an example: The partitions p and q are at the top left, they both sum to 10. Next, p is transposed to get p* = [5, 4, 1] and this is compared to q at the bottom left. Since the sum at each point in the sequence is greater (or equal) for p* than q , the former dominates. One possible matrix is at the top left with the row sum vector to the right, and th...
Comments
A little bit more blur, maybe. :-)
Now, this functionality is likely very cheap, and could therefore be an option...
But highlighting of 'pharma alerts' would be a nice 'addon' too... a pharma JCP applet would automatically highlight chemical fragments marked as 'DONT_DO_THAT', for example, with such a shadow, but maybe pink or orange to make it stand out... So, the add-on would consist of a list of such alert fragments, or possibly use a webservice for that.
Such an 'addon' would certainly be more computer power demanding, but is what we should aim for. This will give JCP the edge it needs to become mainstream and replace ChemWriter, JME, MarvinApplet...