public class IterativeCellSampler extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
desiredtotal |
protected int |
position |
protected com.moseph.modelutils.curve.Curve |
probabilitycurve |
protected Region |
region |
protected int |
size |
protected int |
yetdesired |
| Constructor and Description |
|---|
IterativeCellSampler(int size,
int desired,
Region region) |
IterativeCellSampler(int size,
int desired,
Region region,
com.moseph.modelutils.curve.Curve probabilitycurve) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreToSample() |
int |
numSampled()
Get the number of samples already requested from this sampler
|
int |
sample() |
protected int position
protected int desiredtotal
protected int yetdesired
protected int size
protected com.moseph.modelutils.curve.Curve probabilitycurve
protected Region region