de.cesr.more.rs.building
Class MRsNetworkService<AgentType,EdgeType extends MRepastEdge<AgentType>>
java.lang.Object
de.cesr.more.building.network.MNetworkService<AgentType,EdgeType>
de.cesr.more.rs.building.MRsNetworkService<AgentType,EdgeType>
- All Implemented Interfaces:
- MoreNetworkBuilder<AgentType,EdgeType>, MoreNetworkService<AgentType,EdgeType>, MoreNetworkEdgeModifier<AgentType,EdgeType>, MoreNetworkModifier<AgentType,EdgeType>, MoreRsNetworkBuilder<AgentType,EdgeType>, MoreRsNetworkService<AgentType,EdgeType>
- Direct Known Subclasses:
- MGeoRsNetworkService, MRsErdosRenyiRandomNetworkService
public abstract class MRsNetworkService<AgentType,EdgeType extends MRepastEdge<AgentType>>
- extends MNetworkService<AgentType,EdgeType>
- implements MoreRsNetworkService<AgentType,EdgeType>
MORe
Adds context facility to MNetworkService
and requires MRepastEdge
s.
- Date:
- 13.06.2012
Field Summary |
protected repast.simphony.context.Context<AgentType> |
context
The context the network belongs to. |
Method Summary |
void |
setContext(repast.simphony.context.Context<AgentType> context)
Set the context the resulting network is embedded within. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected repast.simphony.context.Context<AgentType> context
- The context the network belongs to.
MRsNetworkService
public MRsNetworkService(MoreEdgeFactory<AgentType,EdgeType> edgeFac)
- Parameters:
areasGeography
-
MRsNetworkService
public MRsNetworkService()
- Parameters:
areasGeography
-
setContext
public void setContext(repast.simphony.context.Context<AgentType> context)
- Description copied from interface:
MoreRsNetworkBuilder
- Set the context the resulting network is embedded within.
- Specified by:
setContext
in interface MoreRsNetworkBuilder<AgentType,EdgeType extends MRepastEdge<AgentType>>
- See Also:
MoreRsNetworkBuilder.setContext(repast.simphony.context.Context)