Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

RandomTree Class Reference

#include <randomtree.h>

List of all members.

Public Member Functions

 RandomTree (Count_t stages, struct RandomTreeStage stage[], IPAddr_t=((IPAddr_t) 0x0), Random_t=0.8, SystemId_t=0, const Random &=Uniform(0, 1))
 RandomTree (Count_t, Count_t, IPAddr_t=((IPAddr_t) 0x0), Random_t=0.5, const Random &=Uniform(0, 1), const Location &=Location(0, 0), const Location &=Location(10, 10), SystemId_t=0)
 RandomTree (Count_t, Count_t, const Linkp2p &, IPAddr_t=((IPAddr_t) 0x0), Random_t=0.5, const Random &=Uniform(0, 1), const Location &=Location(0, 0), const Location &=Location(10.0, 10.0), SystemId_t=0)
 RandomTree (Count_t, Count_t, const Linkp2p &, Count_t, Count_t, const Linkp2p &, IPAddr_t=((IPAddr_t) 0x0), Random_t=0.5, const Random &=Uniform(0, 1), const Location &=Location(0, 0), const Location &=Location(10.0, 10.0), SystemId_t=0)
NodeGetRoot ()
NodeGetNode (Count_t, Count_t)
NodeGetLeaf (Count_t)
Count_t LeafCount ()
void BoundingBoxOld (const Location &, const Location &)
void BoundingBox (const Location &, const Location &)
void BoundingBox (const Location &, const Location &, double)

Public Attributes

Count_t levels
Count_t maxfanout
Count_t levels_fs
Count_t maxfanout_fs
Count_t leafCount
Count_t stages
RandomTreeStagestage

Private Member Functions

void MakeSubtree (Node *parent, Count_t l, Count_t step, const Linkp2p &link, const Linkp2p &linkfs, IPAddr_t leafIP, Mask mask, const Location &, const Location &, const Meters_t, SystemId_t)
void ConstructorHelper (Count_t, Count_t, const Linkp2p &, Count_t, Count_t, const Linkp2p &, IPAddr_t, Random_t, const Random &, const Location &, const Location &, SystemId_t)

Private Attributes

Random_t probGenerateChild
RandomprobRandom
NodeVecVec_t nodes


Constructor & Destructor Documentation

RandomTree::RandomTree Count_t  stages,
struct RandomTreeStage  stage[],
IPAddr_t  = ((IPAddr_t) 0x0),
Random_t  = 0.8,
SystemId_t  = 0,
const Random = Uniform(0, 1)
 

RandomTree::RandomTree Count_t  ,
Count_t  ,
IPAddr_t  = ((IPAddr_t) 0x0),
Random_t  = 0.5,
const Random = Uniform(0, 1),
const Location = Location(0, 0),
const Location = Location(10, 10),
SystemId_t  = 0
 

RandomTree::RandomTree Count_t  ,
Count_t  ,
const Linkp2p ,
IPAddr_t  = ((IPAddr_t) 0x0),
Random_t  = 0.5,
const Random = Uniform(0, 1),
const Location = Location(0, 0),
const Location = Location(10.0, 10.0),
SystemId_t  = 0
 

RandomTree::RandomTree Count_t  ,
Count_t  ,
const Linkp2p ,
Count_t  ,
Count_t  ,
const Linkp2p ,
IPAddr_t  = ((IPAddr_t) 0x0),
Random_t  = 0.5,
const Random = Uniform(0, 1),
const Location = Location(0, 0),
const Location = Location(10.0, 10.0),
SystemId_t  = 0
 


Member Function Documentation

void RandomTree::BoundingBox const Location ,
const Location ,
double 
 

void RandomTree::BoundingBox const Location ,
const Location
 

void RandomTree::BoundingBoxOld const Location ,
const Location
 

void RandomTree::ConstructorHelper Count_t  ,
Count_t  ,
const Linkp2p ,
Count_t  ,
Count_t  ,
const Linkp2p ,
IPAddr_t  ,
Random_t  ,
const Random ,
const Location ,
const Location ,
SystemId_t 
[private]
 

Node * RandomTree::GetLeaf Count_t   ) 
 

Node * RandomTree::GetNode Count_t  ,
Count_t 
 

Node * RandomTree::GetRoot  ) 
 

Count_t RandomTree::LeafCount  )  [inline]
 

void RandomTree::MakeSubtree Node parent,
Count_t  l,
Count_t  step,
const Linkp2p link,
const Linkp2p linkfs,
IPAddr_t  leafIP,
Mask  mask,
const Location ,
const Location ,
const   Meters_t,
SystemId_t 
[private]
 


Member Data Documentation

Count_t RandomTree::leafCount
 

Count_t RandomTree::levels
 

Count_t RandomTree::levels_fs
 

Count_t RandomTree::maxfanout
 

Count_t RandomTree::maxfanout_fs
 

NodeVecVec_t RandomTree::nodes [private]
 

Random_t RandomTree::probGenerateChild [private]
 

Random* RandomTree::probRandom [private]
 

struct RandomTreeStage* RandomTree::stage
 

Count_t RandomTree::stages
 


The documentation for this class was generated from the following files:
Generated on Wed Aug 27 16:17:32 2008 for Georgia Tech Network Simulator (GTNetS) by  doxygen 1.3.9.1