The cluster() command outputs three files *.list, *.rabund, and *.sabund. */
-class GlobalData;
-
class ClusterCommand : public Command {
public:
- ClusterCommand(string);
+ ClusterCommand(string);
+ ClusterCommand();
~ClusterCommand();
+ vector<string> getRequiredParameters();
+ vector<string> getValidParameters();
+ vector<string> getRequiredFiles();
+ map<string, vector<string> > getOutputFiles() { return outputTypes; }
int execute();
void help();
RAbundVector oldRAbund;
ListVector oldList;
- bool abort;
+ bool abort, hard;
- string method, fileroot, tag;
+ string method, fileroot, tag, outputDir;
double cutoff;
+ string showabund, timing;
int precision, length;
ofstream sabundFile, rabundFile, listFile;
+
+ bool print_start;
+ time_t start;
+ unsigned long loops;
void printData(string label);
+ vector<string> outputNames;
+ map<string, vector<string> > outputTypes;
};
#endif