Merging MK branch revs. 332:338; constraint handling; GP nodes; minor stuff;
This commit is contained in:
1 parent
5cb5915907
commit
29f2a0d771
36 files changed
+1761
-253
No files matched your search
@@ -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++;
|
||||
|
||||
Reference in new issue
Block a user