Revision: 21537 http://sourceforge.net/p/jmol/code/21537 Author: hansonr Date: 2017-04-24 02:43:43 +0000 (Mon, 24 Apr 2017) Log Message: ----------- pseudocode
Modified Paths: -------------- trunk/Jmol/src/org/jmol/symmetry/CIPChirality.java Modified: trunk/Jmol/src/org/jmol/symmetry/CIPChirality.java =================================================================== --- trunk/Jmol/src/org/jmol/symmetry/CIPChirality.java 2017-04-24 02:40:06 UTC (rev 21536) +++ trunk/Jmol/src/org/jmol/symmetry/CIPChirality.java 2017-04-24 02:43:43 UTC (rev 21537) @@ -77,7 +77,6 @@ // individual "standard" carbon-based R/S and E/Z stereochemistry (Rules 1, 2, and 3) // // getChirality(atom) { - // if (atom.getCovalentBondCount() != 4) exit NO_CHIRALITY // for (each Rule){ // sortSubstituents() // if (done) exit checkHandedness(); @@ -108,9 +107,9 @@ // } // // compareDeeply(a, b) { + // currentScore = Integer.MAX_VALUE // for (each substituent pairing i in a and b) { - // score = breakTie(a_i, b_i) - // if (score != TIED) return score + // score = min(currentScore, breakTie(a_i, b_i) // } // return TIED // } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits