Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::infnet::InferenceNetwork Class Reference

#include <InferenceNetwork.hpp>

List of all members.

Public Types

typedef std::map< std::string,
EvaluatorNode::MResults
MAllResults

Public Member Functions

 InferenceNetwork (indri::collection::Repository &repository)
 ~InferenceNetwork ()
const std::vector< EvaluatorNode * > & getEvaluators () const
indri::index::DocListIteratorgetDocIterator (int index)
indri::index::DocExtentListIteratorgetFieldIterator (int index)
indri::collection::PriorListIteratorgetPriorIterator (int index)
int addDocIterator (const std::string &term)
int addFieldIterator (const std::string &field)
int addPriorIterator (const std::string &prior)
void addListNode (ListIteratorNode *listNode)
void addBeliefNode (BeliefNode *beliefNode)
void addEvaluatorNode (EvaluatorNode *evaluatorNode)
void addComplexEvaluatorNode (EvaluatorNode *complexEvaluator)
void addScoreFunction (indri::query::TermScoreFunction *scoreFunction)
void addDocumentStructureHolderNode (DocumentStructureHolderNode *docStruct)
const MAllResultsevaluate ()

Private Member Functions

void _indexChanged (indri::index::Index &index)
void _indexFinished (indri::index::Index &index)
void _moveToDocument (lemur::api::DOCID_T candidate)
void _moveDocListIterators (lemur::api::DOCID_T candidate)
lemur::api::DOCID_T _nextCandidateDocument (indri::index::DeletedDocumentList::read_transaction *deleted)
void _evaluateDocument (indri::index::Index &index, lemur::api::DOCID_T document)
void _evaluateIndex (indri::index::Index &index)

Private Attributes

std::vector< std::string > _termNames
std::vector< std::string > _fieldNames
std::vector< std::string > _priorNames
std::vector< class indri::index::DocExtentListIterator * > _fieldIterators
std::vector< class indri::index::DocListIterator * > _docIterators
std::vector< class indri::collection::PriorListIterator * > _priorIterators
std::vector< ListIteratorNode * > _listIteratorNodes
std::vector< BeliefNode * > _beliefNodes
std::vector< EvaluatorNode * > _evaluators
std::vector< EvaluatorNode * > _complexEvaluators
std::vector< indri::query::TermScoreFunction * > _scoreFunctions
DocumentStructureHolderNode_documentStructureHolderNode
indri::utility::greedy_vector<
class indri::index::DocListIterator * > 
_closeIterators
int _closeIteratorBound
indri::collection::Repository_repository
MAllResults _results


Member Typedef Documentation

typedef std::map< std::string, EvaluatorNode::MResults > indri::infnet::InferenceNetwork::MAllResults
 


Constructor & Destructor Documentation

indri::infnet::InferenceNetwork::InferenceNetwork indri::collection::Repository repository  ) 
 

indri::infnet::InferenceNetwork::~InferenceNetwork  ) 
 


Member Function Documentation

void indri::infnet::InferenceNetwork::_evaluateDocument indri::index::Index index,
lemur::api::DOCID_T  document
[private]
 

void indri::infnet::InferenceNetwork::_evaluateIndex indri::index::Index index  )  [private]
 

void indri::infnet::InferenceNetwork::_indexChanged indri::index::Index index  )  [private]
 

void indri::infnet::InferenceNetwork::_indexFinished indri::index::Index index  )  [private]
 

void indri::infnet::InferenceNetwork::_moveDocListIterators lemur::api::DOCID_T  candidate  )  [inline, private]
 

void indri::infnet::InferenceNetwork::_moveToDocument lemur::api::DOCID_T  candidate  )  [private]
 

lemur::api::DOCID_T indri::infnet::InferenceNetwork::_nextCandidateDocument indri::index::DeletedDocumentList::read_transaction deleted  )  [private]
 

void indri::infnet::InferenceNetwork::addBeliefNode BeliefNode beliefNode  ) 
 

void indri::infnet::InferenceNetwork::addComplexEvaluatorNode EvaluatorNode complexEvaluator  ) 
 

int indri::infnet::InferenceNetwork::addDocIterator const std::string &  term  ) 
 

void indri::infnet::InferenceNetwork::addDocumentStructureHolderNode DocumentStructureHolderNode docStruct  ) 
 

void indri::infnet::InferenceNetwork::addEvaluatorNode EvaluatorNode evaluatorNode  ) 
 

int indri::infnet::InferenceNetwork::addFieldIterator const std::string &  field  ) 
 

void indri::infnet::InferenceNetwork::addListNode ListIteratorNode listNode  ) 
 

int indri::infnet::InferenceNetwork::addPriorIterator const std::string &  prior  ) 
 

void indri::infnet::InferenceNetwork::addScoreFunction indri::query::TermScoreFunction scoreFunction  ) 
 

const indri::infnet::InferenceNetwork::MAllResults & indri::infnet::InferenceNetwork::evaluate  ) 
 

indri::index::DocListIterator * indri::infnet::InferenceNetwork::getDocIterator int  index  ) 
 

const std::vector< indri::infnet::EvaluatorNode * > & indri::infnet::InferenceNetwork::getEvaluators  )  const
 

indri::index::DocExtentListIterator * indri::infnet::InferenceNetwork::getFieldIterator int  index  ) 
 

indri::collection::PriorListIterator * indri::infnet::InferenceNetwork::getPriorIterator int  index  ) 
 


Member Data Documentation

std::vector<BeliefNode*> indri::infnet::InferenceNetwork::_beliefNodes [private]
 

int indri::infnet::InferenceNetwork::_closeIteratorBound [private]
 

indri::utility::greedy_vector<class indri::index::DocListIterator*> indri::infnet::InferenceNetwork::_closeIterators [private]
 

std::vector<EvaluatorNode*> indri::infnet::InferenceNetwork::_complexEvaluators [private]
 

std::vector<class indri::index::DocListIterator*> indri::infnet::InferenceNetwork::_docIterators [private]
 

DocumentStructureHolderNode* indri::infnet::InferenceNetwork::_documentStructureHolderNode [private]
 

std::vector<EvaluatorNode*> indri::infnet::InferenceNetwork::_evaluators [private]
 

std::vector<class indri::index::DocExtentListIterator*> indri::infnet::InferenceNetwork::_fieldIterators [private]
 

std::vector<std::string> indri::infnet::InferenceNetwork::_fieldNames [private]
 

std::vector<ListIteratorNode*> indri::infnet::InferenceNetwork::_listIteratorNodes [private]
 

std::vector<class indri::collection::PriorListIterator*> indri::infnet::InferenceNetwork::_priorIterators [private]
 

std::vector<std::string> indri::infnet::InferenceNetwork::_priorNames [private]
 

indri::collection::Repository& indri::infnet::InferenceNetwork::_repository [private]
 

MAllResults indri::infnet::InferenceNetwork::_results [private]
 

std::vector<indri::query::TermScoreFunction*> indri::infnet::InferenceNetwork::_scoreFunctions [private]
 

std::vector<std::string> indri::infnet::InferenceNetwork::_termNames [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:01 2010 for Lemur by doxygen 1.3.4