AtomSourcepublic class AtomSourceRandomDimer extends java.lang.Object implements AtomSource
| Modifier and Type | Field | Description |
|---|---|---|
protected AssociationManager |
associationManager |
|
protected IRandom |
random |
| Constructor | Description |
|---|---|
AtomSourceRandomDimer() |
| 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()
AtomSourcegetAtom in interface AtomSourcepublic void setBox(Box p)
AtomSourcesetBox in interface AtomSource