3 #include "workerFddGroup.h" 8 void faster::worker::createIFDD(
unsigned long int id, fddType kType, fddType tType,
size_t size){
9 workerFddBase * newFdd =
new workerFdd(
id, kType, tType, size);
10 fddList.insert(fddList.end(), newFdd);
13 void faster::worker::createFDDGroup(
unsigned long int id,
fddType kType, std::vector<unsigned long int> & idV){
14 std::vector<workerFddBase *> members(idV.size(), NULL);
16 for (
size_t i = 0; i < members.size(); ++i){
17 members[i] = fddList[idV[i]];;
20 workerFddBase * newFdd;
23 newFdd =
new workerFddGroup<char>(id, kType, members);
26 newFdd =
new workerFddGroup<int>(id, kType, members);
29 newFdd =
new workerFddGroup<long int>(id, kType, members);
32 newFdd =
new workerFddGroup<float>(id, kType, members);
35 newFdd =
new workerFddGroup<double>(id, kType, members);
38 newFdd =
new workerFddGroup<std::string>(id, kType, members);
41 std::cerr <<
" Error: could not identify FddGroup Key Type!\n";
45 fddList.insert(fddList.end(), newFdd);
unsigned int fddType
Dataset type.