+ }else if (command == "heatmap") {
+ //is it valid
+ if ((heatmap.find(parameter)) != (heatmap.end())) {
+ return true;
+ }else {
+ cout << parameter << " is not a valid parameter for the " + command + " command. Valid parameters are ";
+ for (it = heatmap.begin(); it != heatmap.end(); it++) {
+ cout << it->first << ", ";
+ }
+ cout << endl;
+ return false; }
+