org.kth.dks.dks_node
Class RoutingTree

java.lang.Object
  extended by org.kth.dks.dks_node.RoutingTree

public class RoutingTree
extends java.lang.Object


Constructor Summary
RoutingTree(long adrRange, int k_factor, int levels, DKSRef ref)
           
 
Method Summary
 void foundNewNode(DKSRef ref)
           
 long getBegin(int l, int i)
           
 long getEnd(int l, int i)
           
 int getKfactor()
           
 int getLevels()
           
 DKSRef getResponsible(int l, int i)
           
 boolean nodeLost(DKSRef ref)
           
 java.util.LinkedList toList()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoutingTree

public RoutingTree(long adrRange,
                   int k_factor,
                   int levels,
                   DKSRef ref)
Method Detail

foundNewNode

public void foundNewNode(DKSRef ref)

nodeLost

public boolean nodeLost(DKSRef ref)

toList

public java.util.LinkedList toList()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBegin

public long getBegin(int l,
                     int i)

getEnd

public long getEnd(int l,
                   int i)

getResponsible

public DKSRef getResponsible(int l,
                             int i)

getLevels

public int getLevels()

getKfactor

public int getKfactor()


Copyright © 2010. All Rights Reserved.