AtomSource
public class AtomSourceRandomSmer extends java.lang.Object implements AtomSource
Modifier and Type | Field | Description |
---|---|---|
protected AssociationManager |
associationManager |
|
protected IRandom |
random |
Constructor | Description |
---|---|
AtomSourceRandomSmer() |
Modifier and Type | Method | Description |
---|---|---|
IAtom |
getAtom() |
Returns an atom.
|
IRandom |
getRandomNumberGenerator() |
Returns the random number generator used to pick atoms
|
void |
setAssociationManager(AssociationManager associationManager) |
|
void |
setBox(Box p) |
sets the Box the source should pull Atoms from.
|
void |
setRandomNumberGenerator(IRandom newRandom) |
protected IRandom random
protected AssociationManager associationManager
public void setRandomNumberGenerator(IRandom newRandom)
public IRandom getRandomNumberGenerator()
public void setAssociationManager(AssociationManager associationManager)
public IAtom getAtom()
AtomSource
getAtom
in interface AtomSource
public void setBox(Box p)
AtomSource
setBox
in interface AtomSource