Package repast.simphony.context
Interface SpatialContext<T,V>
-
- All Superinterfaces:
Collection<T>
,Context<T>
,Iterable<T>
,RepastElement
- All Known Implementing Classes:
AbstractSpatialContext
public interface SpatialContext<T,V> extends Context<T>
-
-
Field Summary
-
Fields inherited from interface repast.simphony.context.Context
SYN_CONTEXT_PREFIX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
getLocation(Object object)
Iterable<T>
getObjectsAt(V coordinates)
V
moveByDisplacement(T object, double... displacement)
V
moveByVector(T object, double distance, double... anglesInRadians)
boolean
putObjectAt(T object, double... coordinates)
boolean
putObjectAt(T object, V coordinates)
-
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
-
Methods inherited from interface repast.simphony.context.Context
addContextListener, addProjection, addSubContext, addValueLayer, findContext, findParent, getAgentLayer, getAgentTypes, getContextListeners, getObjects, getObjectsAsStream, getProjection, getProjection, getProjections, getProjections, getRandomObject, getRandomObjects, getRandomObjectsAsStream, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, hasSubContext, query, removeContextListener, removeProjection, removeSubContext, removeValueLayer, setTypeID
-
Methods inherited from interface repast.simphony.context.RepastElement
getId, setId
-
-
-
-
Method Detail
-
putObjectAt
boolean putObjectAt(T object, double... coordinates)
-
-