etomica.nbr.cell
Class BoxAgentSourceCellManager
java.lang.Object
etomica.nbr.cell.BoxAgentSourceCellManager
- All Implemented Interfaces:
- BoxAgentManager.BoxAgentSource, Serializable
- Direct Known Subclasses:
- BoxAgentSourceCellManagerList
public class BoxAgentSourceCellManager
- extends Object
- implements BoxAgentManager.BoxAgentSource, Serializable
BoxAgentSource responsible for creating a NeighborCellManager.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sim
protected final ISimulation sim
range
protected double range
positionDefinition
protected final IAtomPositionDefinition positionDefinition
space
protected final ISpace space
BoxAgentSourceCellManager
public BoxAgentSourceCellManager(ISimulation sim,
IAtomPositionDefinition positionDefinition,
ISpace _space)
setRange
public void setRange(double d)
getAgentClass
public Class getAgentClass()
- Specified by:
getAgentClass in interface BoxAgentManager.BoxAgentSource
makeAgent
public Object makeAgent(IBox box)
- Specified by:
makeAgent in interface BoxAgentManager.BoxAgentSource
releaseAgent
public void releaseAgent(Object agent)
- Specified by:
releaseAgent in interface BoxAgentManager.BoxAgentSource