Modifier and Type | Field | Description |
---|---|---|
protected double |
frac |
|
protected IRandom |
random |
Constructor | Description |
---|---|
AtomTestRandom(IRandom random) |
Modifier and Type | Method | Description |
---|---|---|
double |
getFraction() |
|
void |
setFraction(double newFrac) |
|
boolean |
test(IAtom a) |
Returns true if atom passes the test.
|