|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object urv.olsr.mcast.MulticastNetworkGraph
public class MulticastNetworkGraph
Constructor Summary | |
---|---|
MulticastNetworkGraph()
This constructor does not initialize the multicastGroupsTable. |
|
MulticastNetworkGraph(MulticastGroupsTable multicastGroupsTable,
OLSRNode localNode)
|
Method Summary | |
---|---|
void |
addEdge(OLSRNode node1,
OLSRNode node2)
|
void |
addEdges(OLSRNode node1,
OLSRNode node2)
|
void |
addNode(OLSRNode localNode2)
|
java.lang.Object |
clone()
|
NetworkGraph<OLSRNode,Weight> |
computeContractedGraph(java.lang.String mcastAddr)
Computes the contracted graph for the specified group |
java.util.Set<OLSRNode> |
getGroupMembers(java.lang.String mcastAddr)
Returns a set that includes all nodes that have joined the specified multicast group. |
MulticastGroupsTable |
getMulticastGroupsTable()
|
void |
setCopyOfGraph(MulticastNetworkGraph newGraph)
This method only copies the reference of the network graph (not the multicastGroupsTable) |
java.lang.String |
toString()
|
void |
updateBwOf(OLSRNode node)
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MulticastNetworkGraph()
public MulticastNetworkGraph(MulticastGroupsTable multicastGroupsTable, OLSRNode localNode)
Method Detail |
---|
public java.lang.String toString()
toString
in interface Loggable
toString
in class java.lang.Object
public void updateBwOf(OLSRNode node)
updateBwOf
in interface BandwidthUpdatable
public java.lang.Object clone()
clone
in class java.lang.Object
public void addEdge(OLSRNode node1, OLSRNode node2)
public void addEdges(OLSRNode node1, OLSRNode node2)
public void addNode(OLSRNode localNode2)
public NetworkGraph<OLSRNode,Weight> computeContractedGraph(java.lang.String mcastAddr)
public void setCopyOfGraph(MulticastNetworkGraph newGraph)
public java.util.Set<OLSRNode> getGroupMembers(java.lang.String mcastAddr)
mcastAddr
- The multicast address of the group
public MulticastGroupsTable getMulticastGroupsTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |