|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MoreNetworkEdgeModifier<AgentType,EdgeType extends MoreEdge<? super AgentType>>
MORe
The MoreNetworkEdgeModifier
provides features to consistently add and remove
edges to or from a network. This is particularly important when using networks within
a geography (see MGeoRsNetworkEdgeModifier
). It thus goes beyond a
MoreEdgeFactory
and rather uses MoreEdgeFactory
s to create edges.
Method Summary | |
---|---|
EdgeType |
createEdge(MoreNetwork<AgentType,EdgeType> network,
AgentType source,
AgentType target)
Creates a new edge from source node to target node within the given network and takes care for additional work in the particular context, e.g. |
MoreEdgeFactory<AgentType,EdgeType> |
getEdgeFactory()
|
boolean |
removeEdge(MoreNetwork<AgentType,EdgeType> network,
AgentType source,
AgentType target)
Removes an edge from source node to target node within the given network and takes care for additional work in the particular context, e.g. |
Method Detail |
---|
EdgeType createEdge(MoreNetwork<AgentType,EdgeType> network, AgentType source, AgentType target)
network
- source
- target
-
boolean removeEdge(MoreNetwork<AgentType,EdgeType> network, AgentType source, AgentType target)
network
- source
- target
-
MoreEdgeFactory<AgentType,EdgeType> getEdgeFactory()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |