| 
    Lattice Builder Manual
    
   Software Package for Constructing Rank-1 Lattices 
   | 
 
Minimum element functor. More...
#include <MinElement.h>
Public Types | |
| typedef boost::signals2::signal< void()> | OnStart | 
| typedef boost::signals2::signal< void()> | OnStop | 
| typedef boost::signals2::signal< void(const T &)> | OnMinUpdated | 
| typedef boost::signals2::signal< bool(const T &), Functor::AllOf > | OnElementVisited | 
Public Member Functions | |
| MinElement () | |
| Constructor.  | |
| template<typename ForwardIterator > | |
| ForwardIterator | operator() (ForwardIterator first, ForwardIterator last) const | 
Returns an iterator pointing to the minimum element between first and last (exclusively).  More... | |
| OnStart & | onStart () | 
| Start signal.  More... | |
| const OnStart & | onStart () const | 
| OnStop & | onStop () | 
| Stop signal.  More... | |
| const OnStop & | onStop () const | 
| const OnMinUpdated & | onMinUpdated () const | 
| Minimum-updated signal.  More... | |
| OnMinUpdated & | onMinUpdated () | 
| OnElementVisited & | onElementVisited () | 
| Element-visited updated signal.  More... | |
| const OnElementVisited & | onElementVisited () const | 
Minimum element functor.
Re-implementation of std::min_element that emits a MinElement::onMinUpdated() signal when the current minimum value is updated.
      
  | 
  inline | 
Element-visited updated signal.
Emitted after an element is visited.
Referenced by LatBuilder::Functor::MinElement< Real >::operator()().
      
  | 
  inline | 
Minimum-updated signal.
Emitted when the current minimum value has been updated.
Referenced by LatBuilder::Functor::MinElement< Real >::operator()().
      
  | 
  inline | 
Start signal.
Emitted before the search begins.
Referenced by LatBuilder::Functor::MinElement< Real >::operator()().
      
  | 
  inline | 
Stop signal.
Emitted after the search ends.
Referenced by LatBuilder::Functor::MinElement< Real >::operator()().
      
  | 
  inline | 
Returns an iterator pointing to the minimum element between first and last (exclusively). 
A start and a stop signals are emitted before the search begins and after it ends, respectively. A minimum-updated signal is emitted when the minimum is updated. An element-visited signal is emitted after an element has been visited.