mam.utility
Class MonteCarloCollection
- public class MonteCarloCollection
m_collection
Collection m_collection
m_randomGenerator
static Random m_randomGenerator
m_totalStrength
double m_totalStrength
MonteCarloCollection
public MonteCarloCollection()
MonteCarloCollection
public MonteCarloCollection(Collection collection)
add
public void add(MonteCarloElement e)
drawNElements
public Collection drawNElements(int numberOfElementsDesired)
drawOneElement
public Object drawOneElement()
setCollection
void setCollection(Collection collection)