urv.olsr.data.neighbour
Class NeighborsOfNeighborsSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<E>
          extended by java.util.HashSet<OLSRNodePair>
              extended by urv.olsr.data.mpr.OLSRPairSet
                  extended by urv.olsr.data.neighbour.NeighborsOfNeighborsSet
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<OLSRNodePair>, java.util.Collection<OLSRNodePair>, java.util.Set<OLSRNodePair>, BandwidthUpdatable

public class NeighborsOfNeighborsSet
extends OLSRPairSet

A node records a set of "2-hop tuples" (N_neighbor_main_addr, N_2hop_addr, N_time), describing symmetric (and, since MPR links by definition are also symmetric, thereby also MPR) links between its neighbors and the symmetric 2-hop neighborhood. N_neighbor_main_addr is the main address of a neighbor, N_2hop_addr is the main address of a 2-hop neighbor with a symmetric link to N_neighbor_main_addr, and N_time specifies the time at which the tuple expires and *MUST* be removed. In a node, the set of 2-hop tuples are denoted the "2-hop Neighbor Set".

Author:
Marcel Arrufat Arias
See Also:
Serialized Form

Constructor Summary
NeighborsOfNeighborsSet()
           
 
Method Summary
 
Methods inherited from class urv.olsr.data.mpr.OLSRPairSet
add, clear, clone, contains, setCopyOfSet, updateBwOf
 
Methods inherited from class java.util.HashSet
isEmpty, iterator, remove, size
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray
 

Constructor Detail

NeighborsOfNeighborsSet

public NeighborsOfNeighborsSet()