oneR: initial folder and CMake creation
This commit is contained in:
parent
dcd6038c21
commit
42daff8a4c
@ -1 +1,2 @@
|
||||
add_subdirectory(arff)
|
||||
add_subdirectory(onerule)
|
||||
|
@ -1,5 +1,5 @@
|
||||
add_executable(arff
|
||||
./main.cpp
|
||||
./arff.cpp
|
||||
main.cpp
|
||||
arff.cpp
|
||||
)
|
||||
|
||||
|
6
src/onerule/CMakeLists.txt
Normal file
6
src/onerule/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
||||
include_directories(../arff)
|
||||
add_executable(onerule
|
||||
main.cpp
|
||||
../arff/arff.cpp
|
||||
)
|
||||
|
13
src/onerule/main.cpp
Normal file
13
src/onerule/main.cpp
Normal 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();
|
||||
}
|
Loading…
Reference in New Issue
Block a user