24 #ifndef ACLREDUCTIONALGGENERATUR_H
25 #define ACLREDUCTIONALGGENERATUR_H
28 #include <math/aslVectors.h>
29 #include <utilities/aslUValue.h>
41 template <
typename ResType, enum ReductionOperatorType Op>
class ReductionAlgGenerator
50 std::vector<std::vector<ResType>> groupRes;
51 VectorOfElementsData groupResACL;
77 #endif // ACLREDUCTIONALGGENERATUR_H
Advanced Computational Language.
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_SUM > > generateSumAlg(VectorOfElements v)
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_MAXIMUM > > generateMaxAlg(VectorOfElements v)
ReductionAlgGenerator(VectorOfElements v)
Updatable value. This class stores value and its TimeStamp.
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_MINIMUM > > generateMinAlg(VectorOfElements v)
asl::UValue< asl::AVec< ResType > > res
std::shared_ptr< ReductionAlgGenerator< ResType, ROT_PRODUCT > > generateProductAlg(VectorOfElements v)