BoxAgentManager.BoxAgentSource<NeighborCellManager>public class BoxAgentSourceCellManager extends java.lang.Object implements BoxAgentManager.BoxAgentSource<NeighborCellManager>
| Modifier and Type | Field | Description |
|---|---|---|
protected IMoleculePositionDefinition |
positionDefinition |
|
protected double |
range |
| Constructor | Description |
|---|---|
BoxAgentSourceCellManager(IMoleculePositionDefinition positionDefinition,
double range) |
| Modifier and Type | Method | Description |
|---|---|---|
NeighborCellManager |
makeAgent(Box box) |
|
void |
releaseAgent(NeighborCellManager agent) |
Disconnects the given agent from its box and performs any actions needed to clean up
|
void |
setRange(double d) |
protected double range
protected final IMoleculePositionDefinition positionDefinition
public BoxAgentSourceCellManager(IMoleculePositionDefinition positionDefinition, double range)
public void setRange(double d)
public NeighborCellManager makeAgent(Box box)
makeAgent in interface BoxAgentManager.BoxAgentSource<NeighborCellManager>box - the Box for this agentpublic void releaseAgent(NeighborCellManager agent)
BoxAgentManager.BoxAgentSourcereleaseAgent in interface BoxAgentManager.BoxAgentSource<NeighborCellManager>agent - the agent being released