Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
|
An implementation of the CandidateSetIterator interface that is backed by an arbitrary C++ collection of pointers to CandidateSet’s, where the collection’s iterators implement the ForwardIterator
concept.
More...
#include <candidate-set-iterator.H>
Public Member Functions | |
CollectionCandidateSetIterator (Collection &collection) | |
virtual bool | HasNext () const |
Returns whether this iterator contains another CandidateSet. More... | |
virtual CandidateSet & | Next () |
Returns the next CandidateSet. More... | |
virtual void | Reset () |
Resets this iterator back to the beginning of its backing collection. More... | |
Public Member Functions inherited from reranker::CandidateSetIterator | |
virtual | ~CandidateSetIterator () |
An implementation of the CandidateSetIterator interface that is backed by an arbitrary C++ collection of pointers to CandidateSet’s, where the collection’s iterators implement the ForwardIterator
concept.
Collection | the type of collection that this candidate set iterator will wrap; the Collection must have begin and end methods, each returning an iterator of type Collection::iterator that implements the ForwardIterator concept |
Definition at line 88 of file candidate-set-iterator.H.
|
inline |
Definition at line 90 of file candidate-set-iterator.H.
|
inlinevirtual |
Returns whether this iterator contains another CandidateSet.
Implements reranker::CandidateSetIterator.
Definition at line 95 of file candidate-set-iterator.H.
|
inlinevirtual |
Returns the next CandidateSet.
Implements reranker::CandidateSetIterator.
Definition at line 96 of file candidate-set-iterator.H.
|
inlinevirtual |
Resets this iterator back to the beginning of its backing collection.
Implements reranker::CandidateSetIterator.
Definition at line 97 of file candidate-set-iterator.H.