aboutsummaryrefslogtreecommitdiff
path: root/include/msvmmaj_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/msvmmaj_io.h')
-rw-r--r--include/msvmmaj_io.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/msvmmaj_io.h b/include/msvmmaj_io.h
new file mode 100644
index 0000000..99fb4dc
--- /dev/null
+++ b/include/msvmmaj_io.h
@@ -0,0 +1,30 @@
+/**
+ * @file msvmmaj_io.h
+ * @author Gertjan van den Burg
+ * @date January, 2014
+ * @brief Header files for msvmmaj_io.c
+ *
+ * @details
+ * Function declarations for input/output functions.
+ *
+ */
+
+#ifndef MSVMMAJ_IO_H
+#define MSVMMAJ_IO_H
+
+#include "globals.h"
+
+// forward declarations
+struct MajData;
+struct MajModel;
+
+// function declarations
+void msvmmaj_read_data(struct MajData *dataset, char *data_file);
+
+void msvmmaj_read_model(struct MajModel *model, char *model_filename);
+void msvmmaj_write_model(struct MajModel *model, char *output_filename);
+
+void msvmmaj_write_predictions(struct MajData *data, long *predy,
+ char *output_filename);
+
+#endif