org.jscience.computing.ai.agents
Class ContinuousEnvironment

java.lang.Object
  extended by org.jscience.computing.ai.agents.Environment
      extended by org.jscience.computing.ai.agents.ContinuousEnvironment

public abstract class ContinuousEnvironment
extends Environment

A class representing a simulated space in which objects have free positions.


Constructor Summary
ContinuousEnvironment()
           
 
Method Summary
abstract  java.util.Set getContentsAt(double[] position, double distance)
          DOCUMENT ME!
abstract  void setContentsAt(double[] position, java.util.Set contents)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.computing.ai.agents.Environment
getContents, isCurvedOnItself
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContinuousEnvironment

public ContinuousEnvironment()
Method Detail

getContentsAt

public abstract java.util.Set getContentsAt(double[] position,
                                            double distance)
DOCUMENT ME!

Parameters:
position - DOCUMENT ME!
distance - the radius around position
Returns:
DOCUMENT ME!

setContentsAt

public abstract void setContentsAt(double[] position,
                                   java.util.Set contents)
DOCUMENT ME!

Parameters:
position - DOCUMENT ME!
contents - DOCUMENT ME!