Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
reranker::Model::Hook Class Referenceabstract

An interface for specifying a hook to be run by a Model instance. More...

#include <model.H>

Inheritance diagram for reranker::Model::Hook:
reranker::EndOfEpochModelWriter

Public Member Functions

virtual ~Hook ()
 
virtual void Do (Model *model)=0
 The function to be executed by the Model that wraps this hook. More...
 

Detailed Description

An interface for specifying a hook to be run by a Model instance.

Definition at line 223 of file model.H.

Constructor & Destructor Documentation

virtual reranker::Model::Hook::~Hook ( )
inlinevirtual

Definition at line 225 of file model.H.

Member Function Documentation

virtual void reranker::Model::Hook::Do ( Model model)
pure virtual

The function to be executed by the Model that wraps this hook.

Parameters
modelthe model on which this hook will operate (should be the Model instance that wraps this hook)

Implemented in reranker::EndOfEpochModelWriter.


The documentation for this class was generated from the following file: