Merging MK branch revs. 332:338; constraint handling; GP nodes; minor stuff;

This commit is contained in:
Marcel Kronfeld
2009-07-17 13:04:27 +00:00
parent 5cb5915907
commit 29f2a0d771
36 changed files with 1761 additions and 253 deletions

View File

@@ -248,8 +248,12 @@ public class RNG extends Random {
//counter++;
return randomInt();
}
/**
*
* Returns true with probability p.
*
* @param p
* @return true with probability p, else false
*/
public static boolean flipCoin(double p) {
//counter++;