Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

webnode.h File Reference

#include "mempool.h"
#include "simplehash.h"
#include "leafnode.h"
#include <stdexcept>
#include <set>

Include dependency graph for webnode.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  LinkStruct
 A pointer to a web document/URL. More...

class  WebNode
 Encapsulates a web document. More...

struct  WebNodeStruct
 Contains all the information about a web document. More...


Defines

#define Mb   1048576L
#define WEBNODE_MEMPOOL_DELTA   ((1 * Mb)/sizeof(WebNode))
#define LINK_MEMPOOL_DELTA   ((1 * Mb)/sizeof(Link))
#define TAG_NUMBER_OF_BITS   16

Typedefs

typedef WebNodeWebNodePtr
 All WebNodes are allocated on the heap as WebNodePtrs. More...

typedef MemPoolObject< LinkStructLink
 A memory management wrapper around LinkStruct. More...

typedef uint32 ScratchStruct
 A scratch structure used by samplers. Each sampler should cast it into something useful. More...

typedef set< ptrdiff_t > RawLinkSet
 Used by GraphBuilder to store uniquely the anchor links and then insert them into the WebNode. More...


Detailed Description

Definition in file webnode.h.


Define Documentation

#define LINK_MEMPOOL_DELTA   ((1 * Mb)/sizeof(Link))
 

Definition at line 57 of file webnode.h.

#define Mb   1048576L
 

Definition at line 55 of file webnode.h.

#define TAG_NUMBER_OF_BITS   16
 

Definition at line 59 of file webnode.h.

Referenced by WebLinkGraph::BuildFromSets(), WebLinkGraph::MeasureFromSets(), WebNode::SetTag(), WebLinkGraph::StatisticsFromSets(), WebSampler::TaggedSimulateForward(), and WebLinkGraph::WebLinkGraph().

#define WEBNODE_MEMPOOL_DELTA   ((1 * Mb)/sizeof(WebNode))
 

Definition at line 56 of file webnode.h.


Typedef Documentation

typedef MemPoolObject<LinkStruct> Link
 

A memory management wrapper around LinkStruct.

Definition at line 49 of file webnode.h.

typedef set<ptrdiff_t> RawLinkSet
 

Used by GraphBuilder to store uniquely the anchor links and then insert them into the WebNode.

Definition at line 79 of file webnode.h.

Referenced by GraphBuilder::GraphBuilder(), and WebNode::InsertRawLinks().

typedef uint32 ScratchStruct
 

A scratch structure used by samplers. Each sampler should cast it into something useful.

Definition at line 53 of file webnode.h.

Referenced by DateBiasedPageRankSampler::DateBiasedPageRankSampler(), DBScratchStruct::DBScratchStruct(), WebNode::Scratch(), and WebNode::SetScratch().

typedef WebNode* WebNodePtr
 

All WebNodes are allocated on the heap as WebNodePtrs.

Definition at line 32 of file webnode.h.


Generated on Wed May 29 11:37:24 2002 for MarkovPR by doxygen1.2.15