GRIMPCode.cpp is the C++ file for GRIMP. You can edit any dataset name inside it. Number of patterns you want to be inside of CT can be selected.
ClassificationGRIMP.cpp is the C++ file for classification. It uses the best variant of the GRIMP to first create code table and then use a custom classifier to do the classification.