Class ContinuousSpace2D
- java.lang.Object
-
- jadex.commons.SimplePropertyObject
-
- jadex.commons.meta.TypedPropertyObject
-
- jadex.extension.envsupport.environment.SynchronizedPropertyObject
-
- jadex.extension.envsupport.environment.AbstractEnvironmentSpace
-
- jadex.extension.envsupport.environment.space2d.Space2D
-
- jadex.extension.envsupport.environment.space2d.ContinuousSpace2D
-
- All Implemented Interfaces:
jadex.application.IExtensionInstance
,IPropertyObject
,ITypedPropertyObject
,IEnvironmentSpace
public class ContinuousSpace2D extends Space2D
Continuous version of 2D space.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.extension.envsupport.environment.space2d.Space2D
Space2D.KdTreeProcess
-
Nested classes/interfaces inherited from class jadex.extension.envsupport.environment.AbstractEnvironmentSpace
AbstractEnvironmentSpace.AtomicCounter
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_NAME
The default ID for this space-
Fields inherited from class jadex.extension.envsupport.environment.space2d.Space2D
areasize, BORDER_RELAXED, BORDER_STRICT, BORDER_TORUS, kdTrees, PROPERTY_BORDER, PROPERTY_POSITION
-
Fields inherited from class jadex.extension.envsupport.environment.AbstractEnvironmentSpace
actionlist, actions, avatarmappings, classloader, config, dataconsumers, dataproviders, dataviewmappings, exta, fetcher, ia, initfutures, initialavatars, listeners, objectidcounter, objecttypes, objecttypesMeta, observercenters, perceptgenerators, perceptlist, perceptprocessors, percepttypes, pfetcher, processes, processtypes, spaceobjects, spaceobjectsbyowner, spaceobjectsbytype, taskidcounter, tasktypes, views, zombieobjects
-
Fields inherited from class jadex.extension.envsupport.environment.SynchronizedPropertyObject
monitor
-
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
-
-
Constructor Summary
Constructors Constructor Description ContinuousSpace2D()
Creates a newContinuousSpace2D
with the default name.ContinuousSpace2D(IVector2 areasize)
Creates a newContinuousSpace2D
with the default name.ContinuousSpace2D(java.lang.Object name, IVector2 areasize)
Creates a newContinuousSpace2D
with a special ID.
-
Method Summary
-
Methods inherited from class jadex.extension.envsupport.environment.space2d.Space2D
addSpaceObjectType, adjustPosition, calculateDistance, disableKdTree, enableKdTree, getAreaSize, getBorderMode, getDistance, getDistance, getNearestObject, getNearObjects, getNearObjects, getNearObjects, getNearObjects, getRandomPosition, getSpaceObjects, initSpaceObject, setAreaSize, setPosition
-
Methods inherited from class jadex.extension.envsupport.environment.AbstractEnvironmentSpace
addAvatarMappings, addDataConsumer, addDataProvider, addDataView, addDataViewMapping, addEnvironmentListener, addInitFuture, addInitialAvatar, addObjectTaskType, addPerceptGenerator, addPerceptProcessor, addPerceptType, addSpaceAction, addSpaceProcessType, addTaskListener, cancelSpaceAction, componentAdded, componentRemoved, createAvatar, createObjectTask, createPercept, createSpaceObject, createSpaceObjectZombie, createSpaceProcess, destroySpaceObject, fireEnvironmentEvent, fireObjectEvent, getAvatar, getAvatar, getAvatarMapping, getAvatars, getClassLoader, getComponentActionList, getComponents, getComponentType, getDataConsumer, getDataConsumers, getDataProvider, getDataView, getDataViews, getExternalAccess, getFetcher, getOwner, getPerceptList, getPerceptType, getProcesses, getProperty, getSpaceAction, getSpaceObject, getSpaceObject0, getSpaceObjectsByType, getSpaceObjectsCollection, getSpaceObjectType, getSpaceProcess, getSpaceProcessNames, getViews, init, initSpace, mergeProperties, mergeProperties, performSpaceAction, performSpaceAction, removeAvatarMappings, removeDataView, removeEnvironmentListener, removeObjectTask, removeObjectTaskType, removePerceptGenerator, removePerceptProcessor, removePerceptType, removeSpaceAction, removeSpaceObjectType, removeSpaceProcess, removeSpaceProcessType, removeTaskListener, setFetcher, setInitData, setOwner, terminate, waitForTask
-
Methods inherited from class jadex.extension.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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jadex.commons.IPropertyObject
getPropertyNames, hasProperty, setProperty
-
-
-
-
Constructor Detail
-
ContinuousSpace2D
public ContinuousSpace2D()
Creates a newContinuousSpace2D
with the default name.
-
ContinuousSpace2D
public ContinuousSpace2D(IVector2 areasize)
Creates a newContinuousSpace2D
with the default name.- Parameters:
spaceexecutor
- executor for the spaceactionexecutor
- executor for component actionsareasize
- the size of the 2D area
-
ContinuousSpace2D
public ContinuousSpace2D(java.lang.Object name, IVector2 areasize)
Creates a newContinuousSpace2D
with a special ID.- Parameters:
name
- the name of this spaceareasize
- the size of the 2D areaactionexecutor
- executor for component actions
-
-