w2img::Accumulator Class Reference

List of all members.

Detailed Description

Algorithm main class, whose methods are invoked by various listeners in w2accumulator_main.cc Interface code auto-generated by w2algcreator.

Author:
Smith, Lakshman
Version:
Id
w2img_Accumulator.h,v 1.15 2011/01/27 21:24:43 lakshman Exp


Public Types

 SumRate
 TakeMaximum
 PositiveSumRate
 TakeMinimum
 Sum
 PositiveSum
 NumCombinationMethods
enum  CombinationMethod {
  SumRate, TakeMaximum, PositiveSumRate, TakeMinimum,
  Sum, PositiveSum, NumCombinationMethods
}

Public Member Functions

 Accumulator (const std::string &outputDir, const std::string &outputLBName, bool realtime, const std::string &accumulationTimes, const std::string &combinationMethod, const std::string &columnName, const std::string &IDColumnName, bool recoverOld, const std::string &unitOfResult, const std::string &maxTimeWithoutData, const std::string &inputsEvery_E_minutes, const std::string &colorMapOfOutput, const std::string &everyNminutes, const std::string &gateWidth, const std::string &beamWidth, const std::string &numGates, bool shortPaths, const std::string &minDispThreshold, const std::string &precision, const std::string &outputBaseName, const std::string &qcfilter)
 Algorithm constructor, called from w2accumulator_main with the command-line options passed in.
void processInputField (const code::DataType &data)
void processInputField (const code::Index::Record &data)
void handleEndOfInputIndexes ()
const code::TimeInterval & getHistory () const
void recover (code::ActionListener &listener, const std::vector< code::SmartPtr< code::Index > > &indexes)
 go back using these indexes and recover the accumulated product for the latest time.

Classes

class  MaxValueAccumulator
class  MinValueAccumulator
class  PositiveSumRateValueAccumulator
class  PositiveSumValueAccumulator
class  SumRateValueAccumulator
class  SumValueAccumulator
class  ValueAccumulator
class  ValueAccumulatorArray
 An optimal implementation of an array of ValueAccumulator pointers.
class  ValueAccumulatorArrayImpl


Member Enumeration Documentation

enum w2img::Accumulator::CombinationMethod

Enumerator:
SumRate 
TakeMaximum 
PositiveSumRate 
TakeMinimum 
Sum 
PositiveSum 
NumCombinationMethods 


Constructor & Destructor Documentation

w2img::Accumulator::Accumulator ( const std::string &  outputDir,
const std::string &  outputLBName,
bool  realtime,
const std::string &  accumulationTimes,
const std::string &  combinationMethod,
const std::string &  columnName,
const std::string &  IDColumnName,
bool  recoverOld,
const std::string &  unitOfResult,
const std::string &  maxTimeWithoutData,
const std::string &  inputsEvery_E_minutes,
const std::string &  colorMapOfOutput,
const std::string &  everyNminutes,
const std::string &  gateWidth,
const std::string &  beamWidth,
const std::string &  numGates,
bool  shortPaths,
const std::string &  minDispThreshold,
const std::string &  precision,
const std::string &  outputBaseName,
const std::string &  qcfilter 
)

Algorithm constructor, called from w2accumulator_main with the command-line options passed in.


Member Function Documentation

const code::TimeInterval& w2img::Accumulator::getHistory (  )  const [inline]

void w2img::Accumulator::handleEndOfInputIndexes (  ) 

void w2img::Accumulator::processInputField ( const code::Index::Record &  data  ) 

void w2img::Accumulator::processInputField ( const code::DataType &  data  ) 

void w2img::Accumulator::recover ( code::ActionListener &  listener,
const std::vector< code::SmartPtr< code::Index > > &  indexes 
)

go back using these indexes and recover the accumulated product for the latest time.


Generated on Fri May 4 13:40:23 2012 for WDSS-IIw2algs by  doxygen 1.4.7