org.jscience.computing.ai.agents
Class CubicCell

java.lang.Object
  extended by org.jscience.computing.ai.agents.Cell
      extended by org.jscience.computing.ai.agents.CubicCell

public class CubicCell
extends Cell

A class representing a cubic cell.


Field Summary
 
Fields inherited from class org.jscience.computing.ai.agents.Cell
CUBIC, HEXAGONAL, SQUARE, TRIANGULAR
 
Constructor Summary
CubicCell(DiscreteEnvironment environment, int[] position, double size)
          Creates a new CubicCell object.
 
Method Summary
 double getSize()
          DOCUMENT ME!
 double getVolume()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.computing.ai.agents.Cell
getContents, getEnvironment, getNeighborCells, getPosition, setContents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CubicCell

public CubicCell(DiscreteEnvironment environment,
                 int[] position,
                 double size)
Creates a new CubicCell object.

Parameters:
environment - DOCUMENT ME!
position - DOCUMENT ME!
size - DOCUMENT ME!
Method Detail

getSize

public double getSize()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getVolume

public double getVolume()
DOCUMENT ME!

Returns:
DOCUMENT ME!