oneR: initial folder and CMake creation

This commit is contained in:
Trianta 2024-04-17 14:33:42 -05:00
parent dcd6038c21
commit 42daff8a4c
4 changed files with 22 additions and 2 deletions

View File

@ -1 +1,2 @@
add_subdirectory(arff) add_subdirectory(arff)
add_subdirectory(onerule)

View File

@ -1,5 +1,5 @@
add_executable(arff add_executable(arff
./main.cpp main.cpp
./arff.cpp arff.cpp
) )

View File

@ -0,0 +1,6 @@
include_directories(../arff)
add_executable(onerule
main.cpp
../arff/arff.cpp
)

13
src/onerule/main.cpp Normal file
View File

@ -0,0 +1,13 @@
/*
* Author: Gregory Crawford
* Date: 2024-03-18
* Description: Read and store ARFF data from a file
*/
#include "arff.hpp"
int main(int argc, char* argv[]) {
ARFF::ParseArguments(argc, argv);
ARFF::Arff data;
data.Read(ARFF::GetDataFilename());
data.Print();
}