de.cesr.more.rs.building
Class MRsNetworkService<AgentType,EdgeType extends MRepastEdge<AgentType>>

java.lang.Object
  extended by de.cesr.more.building.network.MNetworkService<AgentType,EdgeType>
      extended by 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 MRepastEdges.

Date:
13.06.2012

Field Summary
protected  repast.simphony.context.Context<AgentType> context
          The context the network belongs to.
 
Fields inherited from class de.cesr.more.building.network.MNetworkService
edgeFac, edgeModifier
 
Constructor Summary
MRsNetworkService()
           
MRsNetworkService(MoreEdgeFactory<AgentType,EdgeType> edgeFac)
           
 
Method Summary
 void setContext(repast.simphony.context.Context<AgentType> context)
          Set the context the resulting network is embedded within.
 
Methods inherited from class de.cesr.more.building.network.MNetworkService
addAgents, checkAgentCollection, createEdge, getEdgeFactory, getEdgeModifier, logEdges, removeEdge, removeNode, setEdgeModifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.cesr.more.rs.building.MoreRsNetworkBuilder
buildNetwork
 
Methods inherited from interface de.cesr.more.manipulate.network.MoreNetworkModifier
addAndLinkNode, removeNode, setEdgeModifier
 
Methods inherited from interface de.cesr.more.manipulate.edge.MoreNetworkEdgeModifier
createEdge, getEdgeFactory, removeEdge
 

Field Detail

context

protected repast.simphony.context.Context<AgentType> context
The context the network belongs to.

Constructor Detail

MRsNetworkService

public MRsNetworkService(MoreEdgeFactory<AgentType,EdgeType> edgeFac)
Parameters:
areasGeography -

MRsNetworkService

public MRsNetworkService()
Parameters:
areasGeography -
Method Detail

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)