kangaroo  1.0
the cbls library
Public Types | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
AtmostValueCountXFcMHnT< input, output > Class Template Reference

A class to represent at most value count fcmhns. More...

#include <atmostvaluecountxfcmhnt.hpp>

Inherits NaryValueToValueVectorFunc< output >.

Public Types

typedef input InputType
 Input type.
 
typedef output OutputType
 Output type.
 

Static Public Member Functions

static AtmostValueCountXFcMHnT< input, output > * define (System *const SysPointer, Dim const ParamCount, Expr *const *ParamExprPointers, Dim const ValueCountLimit)
 Definition. More...
 

Private Types

typedef DataTypeMeta< output >::TempBuffType TempType
 Temp buff type.
 
typedef DataTempBuff< input, output >::Type BuffType
 Data buff type.
 

Private Member Functions

 AtmostValueCountXFcMHnT (System *const SysPointer, Dim const ParamCount, Expr *const *ParamExprPointers, Dim const ValueCountLimit)
 Constructor. More...
 
 AtmostValueCountXFcMHnT (AtmostValueCountXFcMHnT< input, output > const &that)
 Duplicator. More...
 
AtmostValueCountXFcMHnT const & operator= (AtmostValueCountXFcMHnT< input, output > const &that)
 Assigner. More...
 
 ~AtmostValueCountXFcMHnT ()
 Destructor. More...
 
virtual void syncExecClock ()
 Sync the exec clock. More...
 
virtual void syncSimulClock ()
 Sync the simul clock. More...
 
virtual void computeUnupdatable ()
 Compute the expression. More...
 
virtual void executeAnew ()
 Execute the expression. More...
 
virtual void simulateAnew ()
 Simulate the expression. More...
 
virtual void executeIncr ()
 Execute the expression. More...
 
virtual void simulateIncr ()
 Simulate the expression. More...
 

Private Attributes

kb1< ValueRecord< input > const * > mParamValueRecord
 Parameter records.
 
Dim const mValueCountLimit
 Value count limit.
 
Dim cacheExecValueCount
 Execution cache metric.
 
kb1< BuffType > * cacheExecVector
 Execution cache Vector min.
 
kll< MetaIndex > * simulChangedVector
 Vector that undergone changes.
 
nhsf< input > cacheExecParamValues
 Exec xdats for the parameters.
 
kb1< TuplePos > cacheRootValues
 Xdat to cluster-root mapping.
 
kb1< Dim > cacheCurrFreqs
 Curr freqs of the xdats.
 
kb1< Dim > cachePrevFreqs
 Prev freqs for changed Xdats.
 
kll< Iter > cacheParamValueIters
 Indexs of Xdats with changes.
 
kcl< TuplePos > cacheParamValues
 Parameters having the same Xdat.
 
kb1< Iter > cacheCurrParamIters
 Curr xdat indexes for params.
 
kb1< Iter > simulPrevParamIters
 Prev Xdat indexes for params.
 
nhsc< input > simulNextValues
 Simul xdats for the parameters.
 
kb1< Dim > simulNextFreqs
 Simul xdats for the parameters.
 

Detailed Description

template<typename input, typename output>
class AtmostValueCountXFcMHnT< input, output >

This class represents at most value count count fcmhns.

Constructor & Destructor Documentation

template<typename input , typename output >
AtmostValueCountXFcMHnT< input, output >::AtmostValueCountXFcMHnT ( System *const  SysPointer,
Dim const  ParamCount,
Expr *const *  ParamExprPointers,
Dim const  ValueCountLimit 
)
inlineprivate

Constructor.

template<typename input , typename output >
AtmostValueCountXFcMHnT< input, output >::AtmostValueCountXFcMHnT ( AtmostValueCountXFcMHnT< input, output > const &  that)
inlineprivate

Duplicator.

template<typename input , typename output >
AtmostValueCountXFcMHnT< input, output >::~AtmostValueCountXFcMHnT ( )
inlineprivate

Destructor.

Member Function Documentation

template<typename input , typename output >
AtmostValueCountXFcMHnT< input, output > * AtmostValueCountXFcMHnT< input, output >::define ( System *const  SysPointer,
Dim const  ParamCount,
Expr *const *  ParamExprPointers,
Dim const  ValueCountLimit 
)
inlinestatic

Define an at most value count fcmhn in the sys.

template<typename input , typename output >
AtmostValueCountXFcMHnT< input, output > const & AtmostValueCountXFcMHnT< input, output >::operator= ( AtmostValueCountXFcMHnT< input, output > const &  that)
inlineprivate

Assigner.

template<typename input , typename output >
void AtmostValueCountXFcMHnT< input, output >::syncExecClock ( )
inlineprivatevirtual

Sync the exec clock.

template<typename input , typename output >
void AtmostValueCountXFcMHnT< input, output >::syncSimulClock ( )
inlineprivatevirtual

Sync the simul clock.

template<typename input , typename output >
void AtmostValueCountXFcMHnT< input, output >::computeUnupdatable ( )
inlineprivatevirtual

Compute the expression.

template<typename input , typename output >
void AtmostValueCountXFcMHnT< input, output >::executeAnew ( )
inlineprivatevirtual

Compute the expression in execution mode.

template<typename input , typename output >
void AtmostValueCountXFcMHnT< input, output >::simulateAnew ( )
inlineprivatevirtual

Compute the expression in simulation mode.

template<typename input , typename output >
void AtmostValueCountXFcMHnT< input, output >::executeIncr ( )
inlineprivatevirtual

Compute the expression in execution mode.

template<typename input , typename output >
void AtmostValueCountXFcMHnT< input, output >::simulateIncr ( )
inlineprivatevirtual

Compute the expression in simulation mode.


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