golyFunctions.hpp (565B)
1 #include <string> 2 #include <sstream> 3 #include <iomanip> 4 #include <iostream> 5 #include <vector> 6 #include <algorithm> 7 #include <typeinfo> 8 #include <stdexcept> 9 #include <math.h> 10 11 #ifndef MY_GLOBALS_H 12 #define MY_GLOBALS_H 13 extern std::string b64lookup; 14 extern std::string integerlookup; 15 extern std::string knoblookup; 16 extern std::string inputlookup; 17 extern std::string knobandinputlookup; 18 #endif 19 20 class Goly { 21 public: 22 float currentValues[16]; 23 24 Goly(); 25 void invoke(int algorithm, std::vector<float> gp); 26 void invoke(int algorithm, std::vector<float> gp, int num); 27 28 };