jadex.application.space.envsupport.environment.space2d
Class ContinuousSpace2D

java.lang.Object
  extended by jadex.commons.SimplePropertyObject
      extended by jadex.commons.meta.TypedPropertyObject
          extended by jadex.application.space.envsupport.environment.SynchronizedPropertyObject
              extended by jadex.application.space.envsupport.environment.AbstractEnvironmentSpace
                  extended by jadex.application.space.envsupport.environment.space2d.Space2D
                      extended by jadex.application.space.envsupport.environment.space2d.ContinuousSpace2D
All Implemented Interfaces:
ISpace, IEnvironmentSpace, IPropertyObject, ITypedPropertyObject

public class ContinuousSpace2D
extends Space2D

Continuous version of 2D space.


Field Summary
static String DEFAULT_NAME
          The default ID for this space
 
Fields inherited from class jadex.application.space.envsupport.environment.space2d.Space2D
areasize, BORDER_STRICT, BORDER_TORUS, PROPERTY_BORDER, PROPERTY_POSITION
 
Fields inherited from class jadex.application.space.envsupport.environment.AbstractEnvironmentSpace
actionlist, actions, application, avatarmappings, dataconsumers, dataproviders, dataviewmappings, fetcher, initialavatars, listeners, name, objectidcounter, objecttypes, objecttypesMeta, perceptgenerators, perceptlist, perceptprocessors, percepttypes, processes, processtypes, spaceobjects, spaceobjectsbyowner, spaceobjectsbytype, taskidcounter, tasktypes, views, zombieobjects
 
Fields inherited from class jadex.application.space.envsupport.environment.SynchronizedPropertyObject
monitor
 
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
 
Constructor Summary
ContinuousSpace2D()
          Creates a new ContinuousSpace2D with the default name.
ContinuousSpace2D(IVector2 areasize)
          Creates a new ContinuousSpace2D with the default name.
ContinuousSpace2D(Object name, IVector2 areasize)
          Creates a new ContinuousSpace2D with a special ID.
 
Method Summary
 
Methods inherited from class jadex.application.space.envsupport.environment.space2d.Space2D
adjustPosition, calculateDistance, getAreaSize, getBorderMode, getDistance, getDistance, getNearestObject, getNearObjects, getNearObjects, getNearObjects, getRandomPosition, getSpaceObjects, initSpaceObject, setAreaSize, setPosition
 
Methods inherited from class jadex.application.space.envsupport.environment.AbstractEnvironmentSpace
addAvatarMappings, addDataConsumer, addDataProvider, addDataView, addDataViewMapping, addEnvironmentListener, addInitialAvatar, addObjectTaskType, addPerceptGenerator, addPerceptProcessor, addPerceptType, addSpaceAction, addSpaceObjectType, addSpaceProcessType, addTaskListener, componentAdded, componentRemoved, createAvatar, createObjectTask, createPercept, createSpaceObject, createSpaceObjectZombie, createSpaceProcess, destroySpaceObject, fireEnvironmentEvent, fireObjectEvent, getAvatar, getAvatar, getAvatarMapping, getAvatars, getComponentActionList, getComponents, getContext, getDataConsumer, getDataConsumers, getDataProvider, getDataView, getDataViews, getFetcher, getOwner, getPerceptList, getPerceptType, getProcesses, getProperty, getSpaceAction, getSpaceObject, getSpaceObject0, getSpaceObjectsByType, getSpaceObjectsCollection, getSpaceProcess, getSpaceProcessNames, getViews, initSpace, mergeProperties, mergeProperties, performSpaceAction, performSpaceAction, removeAvatarMappings, removeDataView, removeEnvironmentListener, removeObjectTask, removeObjectTaskType, removePerceptGenerator, removePerceptProcessor, removePerceptType, removeSpaceAction, removeSpaceObjectType, removeSpaceProcess, removeSpaceProcessType, removeTaskListener, setFetcher, setOwner, terminate
 
Methods inherited from class jadex.application.space.envsupport.environment.SynchronizedPropertyObject
addPropertyChangeListener, getMonitor, getPropertyNames, hasProperty, removePropertyChangeListener, setProperty
 
Methods inherited from class jadex.commons.meta.TypedPropertyObject
getMetaData, getMetaDatas
 
Methods inherited from class jadex.commons.SimplePropertyObject
getProperties, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jadex.commons.IPropertyObject
getPropertyNames, hasProperty, setProperty
 

Field Detail

DEFAULT_NAME

public static final String DEFAULT_NAME
The default ID for this space

Constructor Detail

ContinuousSpace2D

public ContinuousSpace2D()
Creates a new ContinuousSpace2D with the default name.


ContinuousSpace2D

public ContinuousSpace2D(IVector2 areasize)
Creates a new ContinuousSpace2D with the default name.

Parameters:
spaceexecutor - executor for the space
actionexecutor - executor for component actions
areasize - the size of the 2D area

ContinuousSpace2D

public ContinuousSpace2D(Object name,
                         IVector2 areasize)
Creates a new ContinuousSpace2D with a special ID.

Parameters:
name - the name of this space
areasize - the size of the 2D area
actionexecutor - executor for component actions


Copyright © 2010. All Rights Reserved.