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

java.lang.Object
  extended by de.cesr.more.rs.building.MAbstractGeoRsNetworkBuilder<AgentType,EdgeType>
All Implemented Interfaces:
MoreNetworkBuilder<AgentType,EdgeType>, MoreGeoNetworkBuilder<AgentType,EdgeType>, MoreGeoRsNetworkBuilder<AgentType,EdgeType>, MoreRsNetworkBuilder<AgentType,EdgeType>
Direct Known Subclasses:
MGeoRsRestoreNetworkBuilder

public abstract class MAbstractGeoRsNetworkBuilder<AgentType,EdgeType extends MRepastEdge<AgentType>>
extends Object
implements MoreGeoRsNetworkBuilder<AgentType,EdgeType>

MORe

Date:
29.11.2011

Field Summary
protected  repast.simphony.context.Context<AgentType> context
          The context the network belongs to.
protected  MoreEdgeFactory<AgentType,EdgeType> edgeFac
           
protected  MoreNetworkEdgeModifier<AgentType,EdgeType> edgeModifier
          should be accessed via getEdgeModifer...
protected  com.vividsolutions.jts.geom.GeometryFactory geoFactory
           
protected  repast.simphony.space.gis.Geography<Object> geography
          Need to be of type Object since network objects and agents should be insertable
 
Constructor Summary
MAbstractGeoRsNetworkBuilder()
           
MAbstractGeoRsNetworkBuilder(repast.simphony.space.gis.Geography<Object> geography)
           
 
Method Summary
 repast.simphony.context.Context<AgentType> getContext()
           
 repast.simphony.space.gis.Geography<Object> getGeography()
           
 void setContext(repast.simphony.context.Context<AgentType> context)
          Set the context the resulting network is embedded within.
 void setGeography(repast.simphony.space.gis.Geography<Object> geography)
          Sets the geography that defines the spatial proximity of nodes.
 
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
 

Field Detail

geography

protected repast.simphony.space.gis.Geography<Object> geography
Need to be of type Object since network objects and agents should be insertable


geoFactory

protected com.vividsolutions.jts.geom.GeometryFactory geoFactory

edgeFac

protected MoreEdgeFactory<AgentType,EdgeType extends MRepastEdge<AgentType>> edgeFac

edgeModifier

protected MoreNetworkEdgeModifier<AgentType,EdgeType extends MRepastEdge<AgentType>> edgeModifier
should be accessed via getEdgeModifer...


context

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

Constructor Detail

MAbstractGeoRsNetworkBuilder

public MAbstractGeoRsNetworkBuilder(repast.simphony.space.gis.Geography<Object> geography)
Parameters:
geography -

MAbstractGeoRsNetworkBuilder

public MAbstractGeoRsNetworkBuilder()
Method Detail

setGeography

public void setGeography(repast.simphony.space.gis.Geography<Object> geography)
Description copied from interface: MoreGeoNetworkBuilder
Sets the geography that defines the spatial proximity of nodes.

Specified by:
setGeography in interface MoreGeoNetworkBuilder<AgentType,EdgeType extends MRepastEdge<AgentType>>
See Also:
MoreGeoNetworkBuilder.setGeography(repast.simphony.space.gis.Geography)

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)

getGeography

public repast.simphony.space.gis.Geography<Object> getGeography()
Returns:

getContext

public repast.simphony.context.Context<AgentType> getContext()
Returns: