#include <sampler.h>
Inheritance diagram for DateBiasedPageRankSampler:
Public Methods | |
DateBiasedPageRankSampler (WebLinkGraph *agraph) | |
void | SetParameters (double epsilon, double lambda, uint16 daterange) |
WebNodePtr | QEvolveFrom (WebNodePtr x) |
Returns the effect of a single random transition. If result is NULL, this means the new state is a LeafNode. More... | |
virtual char * | Name (char *buf) |
returns an identifying string in supplied buffer. More... | |
Private Attributes | |
double | lam |
float | lamhat |
uint16 | daterange |
Definition at line 119 of file sampler.h.
|
Definition at line 344 of file sampler.cc. References daterange, WebSampler::eps, kuint16max, lam, lamhat, and ScratchStruct. |
|
returns an identifying string in supplied buffer.
Implements WebSampler. Definition at line 427 of file sampler.cc. References WebSampler::eps, and lam. |
|
Returns the effect of a single random transition. If result is NULL, this means the new state is a LeafNode.
Reimplemented from WebSampler. Definition at line 368 of file sampler.cc. References LeafNode::Date(), WebNode::Date(), lamhat, DBScratchStruct::mass, NULL, WebNode::NumberOfLeafLinks(), WebNode::NumberOfValidToLinks(), WebSampler::r, WebNode::Scratch(), WebNode::SetScratch(), DBScratchStruct::ss, WebNode::ValidLeafLink(), WebNode::ValidLeafLinkDirectly(), WebNode::ValidToLink(), and WebSampler::xleaf. |
|
Definition at line 354 of file sampler.cc. References WebSampler::ClearCounts(), daterange, WebSampler::eps, WebSampler::graph, lam, lamhat, and uint16. Referenced by Talker::ProcessCommand(). |
|
Definition at line 128 of file sampler.h. Referenced by DateBiasedPageRankSampler(), and SetParameters(). |
|
Definition at line 126 of file sampler.h. Referenced by DateBiasedPageRankSampler(), Name(), and SetParameters(). |
|
Definition at line 127 of file sampler.h. Referenced by DateBiasedPageRankSampler(), QEvolveFrom(), and SetParameters(). |