|
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) |
| Node * | GetRoot () |
| Node * | GetNode (Count_t, Count_t) |
| Node * | GetLeaf (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 |
| RandomTreeStage * | stage |
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 |
| Random * | probRandom |
| NodeVecVec_t | nodes |