Model_Builder Class Reference

#include <Model_Builder.h>

Inheritance diagram for Model_Builder:
Unigram_Model_Streaming_Builder Unigram_Model_Training_Builder Unigram_Model_Synchronized_Training_Builder Unigram_Model_Testing_Builder

List of all members.

Public Member Functions

virtual Model_Refinercreate_model_refiner ()=0
virtual Pipelinecreate_pipeline (Model_Refiner &)=0
virtual Execution_Strategycreate_execution_strategy (Pipeline &)=0
virtual void create_output ()=0
virtual Modelget_model ()=0

Detailed Description

The builder class which builds the different components needed to create the model. We use the Builder pattern.

The components are: 1. Model_Refiner: This main component that describes how the model should be refined as documents pass through the pipeline 2. Pipeline: A pipeline of filters that perform the various refinements defined by the refiner 3. Execution_Strategy: A strategy that defines how the pipeline of filters has to be executed

Usually, different modes demand different builders and similar or different components. So keep in mind that inheritance can be used here to maximize code reuse


Member Function Documentation

virtual Execution_Strategy& Model_Builder::create_execution_strategy ( Pipeline  )  [pure virtual]
virtual Model_Refiner& Model_Builder::create_model_refiner (  )  [pure virtual]
virtual void Model_Builder::create_output (  )  [pure virtual]
virtual Pipeline& Model_Builder::create_pipeline ( Model_Refiner  )  [pure virtual]
virtual Model& Model_Builder::get_model (  )  [pure virtual]

The documentation for this class was generated from the following file:
Generated on Tue Jul 19 11:45:27 2011 for Y!LDA by  doxygen 1.6.3