|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<T> repast.simphony.context.AbstractContext<T> repast.simphony.context.SmallDefaultContext<T> repast.simphony.context.DefaultContext<AgentType> de.cesr.sesamgim.context.GGroupContext<AgentType>
public class GGroupContext<AgentType extends GimMilieuAgent<?>>
SesamGIM - Geographical Initialisation for Milieu Agents
Note: The super-context may be other than GimMarketCellContext
now
even if naming still suggests GimMarketCellContext
.
Field Summary | |
---|---|
protected com.vividsolutions.jts.geom.Point |
geoCentre
|
protected static Logger |
logger
Logger |
static int |
nextId
|
Fields inherited from class repast.simphony.context.SmallDefaultContext |
---|
allObjs, objectMap |
Fields inherited from class repast.simphony.context.AbstractContext |
---|
subContexts |
Fields inherited from interface repast.simphony.context.Context |
---|
SYN_CONTEXT_PREFIX |
Constructor Summary | |
---|---|
GGroupContext(GimUpdatableContext<AgentType> mc)
|
Method Summary | |
---|---|
com.vividsolutions.jts.geom.Point |
getGeoCentre()
Returns the geographical centre. |
int |
getGroupId()
Return the SesamGim group context id of this context. |
GimUpdatableContext<AgentType> |
getMc()
|
String |
getMcId()
Returns the ID of the parental context (market cell context). |
static void |
reset()
Reset netID. |
void |
setGeoCentre(com.vividsolutions.jts.geom.Point geoCentre)
Sets the geographical centre. |
String |
toString()
|
Methods inherited from class repast.simphony.context.DefaultContext |
---|
addInternal, containsInternal, iteratorInternal, removeInternal, sizeInternal |
Methods inherited from class repast.simphony.context.SmallDefaultContext |
---|
getObjects, getRandomObject, getRandomObjects |
Methods inherited from class repast.simphony.context.AbstractContext |
---|
add, addContextListener, addProjection, addSubContext, addValueLayer, clear, contains, eventOccured, findContext, findParent, fireAddContextEvent, fireRemoveEvent, fireSubContextAdded, fireSubContextRemoved, getAgentLayer, getAgentTypes, getContextListeners, getId, getProjection, getProjection, getProjections, getProjections, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, handleRemove, hasSubContext, iterator, query, remove, removeContextListener, removeProjection, removeSubContext, removeValueLayer, setId, setTypeID, size |
Methods inherited from class java.util.AbstractCollection |
---|
addAll, containsAll, isEmpty, removeAll, retainAll, toArray, toArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface repast.simphony.context.Context |
---|
addContextListener, addProjection, addSubContext, addValueLayer, findContext, findParent, getAgentLayer, getAgentTypes, getContextListeners, getObjects, getProjection, getProjection, getProjections, getProjections, getRandomObject, getRandomObjects, getSubContext, getSubContexts, getTypeID, getValueLayer, getValueLayers, hasSubContext, query, removeContextListener, removeProjection, removeSubContext, removeValueLayer, setTypeID |
Methods inherited from interface java.util.Collection |
---|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
Methods inherited from interface repast.simphony.context.RepastElement |
---|
getId, setId |
Field Detail |
---|
protected static Logger logger
protected com.vividsolutions.jts.geom.Point geoCentre
public static int nextId
Constructor Detail |
---|
public GGroupContext(GimUpdatableContext<AgentType> mc)
Method Detail |
---|
public static void reset()
public String toString()
toString
in class AbstractCollection<AgentType extends GimMilieuAgent<?>>
AbstractCollection.toString()
public String getMcId()
GimGroupContext
getMcId
in interface GimGroupContext<AgentType extends GimMilieuAgent<?>>
GimGroupContext.getMcId()
public int getGroupId()
GimGroupContext
getGroupId
in interface GimGroupContext<AgentType extends GimMilieuAgent<?>>
GimGroupContext.getGroupId()
public GimUpdatableContext<AgentType> getMc()
getMc
in interface GimGroupContext<AgentType extends GimMilieuAgent<?>>
GimGroupContext.getMc()
public com.vividsolutions.jts.geom.Point getGeoCentre()
GimGroupContext
getGeoCentre
in interface GimGroupContext<AgentType extends GimMilieuAgent<?>>
GimGroupContext.getGeoCentre()
public void setGeoCentre(com.vividsolutions.jts.geom.Point geoCentre)
GimGroupContext
setGeoCentre
in interface GimGroupContext<AgentType extends GimMilieuAgent<?>>
geoCentre
- the geographical centre
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |