Aggregator Class Reference

Abstract class for an Aggregator. More...

#include <OptVar.hh>

Inherited by AggregatorMean, and AggregatorSum.

Inheritance diagram for Aggregator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual int eval (vector< int > values)=0
virtual ~Aggregator ()

Detailed Description

Abstract class for an Aggregator.

An aggregator is defined as a function Multiset_of_int -> int. From an implementation point of view, this multiset is a vector of int.

Definition at line 33 of file OptVar.hh.


Constructor & Destructor Documentation

virtual Aggregator::~Aggregator (  )  [inline, virtual]

Definition at line 36 of file OptVar.hh.


Member Function Documentation

virtual int Aggregator::eval ( vector< int >  values  )  [pure virtual]

Implemented in AggregatorSum, and AggregatorMean.

Referenced by UnivOptVar::getVal().


The documentation for this class was generated from the following file:
Generated on Tue Jun 10 18:31:58 2008 for qecode by  doxygen 1.5.2