Package | Description |
---|---|
jadex.bdi.planlib | |
jadex.extension.envsupport.environment | |
jadex.extension.envsupport.environment.space2d | |
jadex.extension.envsupport.environment.space3d |
Modifier and Type | Method and Description |
---|---|
void |
DefaultBDIVisionProcessor.processPercept(IEnvironmentSpace space,
String type,
Object percept,
IComponentDescription agent,
ISpaceObject avatar)
Process a new percept.
|
Modifier and Type | Class and Description |
---|---|
class |
SpaceObject
Default implementation of a space object.
|
Modifier and Type | Field and Description |
---|---|
ISpaceObject |
PerceptList.PerceptEntry.avatar
The avatar of the component (if any).
|
Modifier and Type | Method and Description |
---|---|
ISpaceObject |
IEnvironmentSpace.createSpaceObject(String typename,
Map properties,
List tasks)
Creates an object in this space.
|
ISpaceObject |
AbstractEnvironmentSpace.createSpaceObject(String typename,
Map properties,
List tasks)
Creates an object in this space.
|
ISpaceObject |
AbstractEnvironmentSpace.createSpaceObjectZombie(String typename,
Map properties,
List tasks)
Creates a zombie object in this space.
|
ISpaceObject |
IEnvironmentSpace.getAvatar(IComponentDescription owner)
Get the avatar.
|
ISpaceObject |
AbstractEnvironmentSpace.getAvatar(IComponentDescription owner)
Get the avatar object.
|
ISpaceObject |
AbstractEnvironmentSpace.getAvatar(IComponentDescription owner,
String fullname)
Get the avatar object.
|
ISpaceObject[] |
IEnvironmentSpace.getAvatars(IComponentDescription owner)
Get the owned objects.
|
ISpaceObject[] |
AbstractEnvironmentSpace.getAvatars(IComponentDescription owner)
Get the avatar objects.
|
ISpaceObject |
EnvironmentEvent.getSpaceObject()
Get the space object.
|
ISpaceObject |
IEnvironmentSpace.getSpaceObject(Object id)
Returns an object in this space.
|
ISpaceObject |
AbstractEnvironmentSpace.getSpaceObject(Object id)
Returns an object in this space.
|
ISpaceObject |
AbstractEnvironmentSpace.getSpaceObject0(Object id)
Returns an object in this space.
|
ISpaceObject[] |
IEnvironmentSpace.getSpaceObjectsByType(String type)
Get all space object of a specific type.
|
ISpaceObject[] |
AbstractEnvironmentSpace.getSpaceObjectsByType(String type)
Get all space object of a specific type.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractEnvironmentSpace.createPercept(String typename,
Object data,
IComponentDescription comp,
ISpaceObject avatar)
Create a percept for the given component.
|
void |
IObjectTask.execute(IEnvironmentSpace space,
ISpaceObject obj,
long progress,
IClockService clock)
Executes the task.
|
void |
AbstractTask.execute(IEnvironmentSpace space,
ISpaceObject obj,
long progress,
IClockService clock)
Executes the task.
|
void |
AbstractEnvironmentSpace.initSpaceObject(ISpaceObject ret)
Creates an object in this space.
|
boolean |
IObjectTask.isFinished(IEnvironmentSpace space,
ISpaceObject obj)
Check if a task is finished and should be removed.
|
boolean |
AbstractTask.isFinished(IEnvironmentSpace space,
ISpaceObject obj)
Check if a task is finished and should be removed.
|
void |
ServiceVisionProcessor.processPercept(IEnvironmentSpace space,
String type,
Object percept,
IComponentDescription component,
ISpaceObject avatar) |
void |
IPerceptProcessor.processPercept(IEnvironmentSpace space,
String type,
Object percept,
IComponentDescription component,
ISpaceObject avatar)
Process a new percept.
|
void |
PerceptList.schedulePercept(String type,
Object data,
IComponentDescription component,
ISpaceObject avatar,
IPerceptProcessor processor)
Schedules a percept.
|
void |
AbstractTask.setFinished(IEnvironmentSpace space,
ISpaceObject obj,
boolean finished)
Indicate that the task is finished and should be removed.
|
void |
IObjectTask.shutdown(ISpaceObject obj)
This method will be executed by the object before the task is removed
from the execution queue.
|
void |
AbstractTask.shutdown(ISpaceObject obj)
This method will be executed by the object before the task is removed
from the execution queue.
|
void |
IObjectTask.start(ISpaceObject obj)
This method will be executed by the object before the task gets added to
the execution queue.
|
void |
AbstractTask.start(ISpaceObject obj)
This method will be executed by the object before the task gets added to
the execution queue.
|
Constructor and Description |
---|
EnvironmentEvent(String type,
IEnvironmentSpace space,
ISpaceObject object,
String property,
Object oldvalue)
Create a new environment event.
|
PerceptList.PerceptEntry(String type,
Object data,
IComponentDescription component,
ISpaceObject avatar,
IPerceptProcessor processor)
Convenience constructor for inline entry creation.
|
Modifier and Type | Method and Description |
---|---|
ISpaceObject |
KdTree.getNearestObject(IVector2 point)
Finds an object closest to the given point (exhaustive search!).
|
ISpaceObject |
KdTree.getNearestObject(IVector2 point,
double searchRadius)
Finds an object closest to the given point with a given search radius.
|
ISpaceObject |
KdNode.getNearestObject(IVector2 point,
double radiusSquared)
Finds the object nearest to a given point within a search radius.
|
ISpaceObject |
KdTree.getNearestObject(IVector2 point,
double searchRadius,
IFilter filter)
Finds an object closest to the given point with a given search radius,
while filtering objects.
|
ISpaceObject |
KdNode.getNearestObject(IVector2 point,
double radiusSquared,
IFilter filter)
Finds the object nearest to a given point within a search radius while filtering objects.
|
ISpaceObject |
KdTree.getNearestObject(IVector2 point,
IFilter filter)
Finds an object closest to the given point while filtering objects (exhaustive search!).
|
ISpaceObject |
Space2D.getNearestObject(IVector2 position,
IVector1 maxdist,
String type)
Returns the nearest object to the given position within a
maximum distance from the position.
|
Modifier and Type | Method and Description |
---|---|
List<ISpaceObject> |
KdTree.getNearestObjects(IVector2 point,
double radius)
Finds all objects within a given search radius.
|
List<ISpaceObject> |
KdTree.getNearestObjects(IVector2 point,
double radius,
IFilter filter)
Finds all objects within a given search radius.
|
List<ISpaceObject> |
KdNode.getNearestObjects(IVector2 point,
double radiusSquared,
IFilter filter)
Finds all objects within a given search radius.
|
Modifier and Type | Method and Description |
---|---|
void |
KdTree.addObject(ISpaceObject obj)
Adds an object to the tree.
|
void |
Space2D.initSpaceObject(ISpaceObject ret)
Init an object in this space.
|
void |
Grid2D.initSpaceObject(ISpaceObject ret)
Init an object in this space.
|
void |
KdTree.removeObject(ISpaceObject obj)
Removes an object to the tree.
|
Modifier and Type | Method and Description |
---|---|
ISpaceObject |
Space3D.getNearestObject(IVector3 position,
IVector1 maxdist,
String type)
Returns the nearest object to the given position within a
maximum distance from the position.
|
Modifier and Type | Method and Description |
---|---|
void |
Space3D.initSpaceObject(ISpaceObject ret)
Init an object in this space.
|
void |
Grid3D.initSpaceObject(ISpaceObject ret)
Init an object in this space.
|
Copyright © 2012. All Rights Reserved.