aboutsummaryrefslogtreecommitdiff
path: root/include/gensvm_io.h
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2014-08-25 14:38:03 +0200
committerGertjan van den Burg <burg@ese.eur.nl>2014-08-25 14:38:03 +0200
commit1e340d509f229120eb3aaa98c91028dc3c0d3305 (patch)
treedd6b65c428447f179133e967eb0e0d3ce15f68ec /include/gensvm_io.h
parentfree some work arrays (diff)
downloadgensvm-1e340d509f229120eb3aaa98c91028dc3c0d3305.tar.gz
gensvm-1e340d509f229120eb3aaa98c91028dc3c0d3305.zip
rename msvmmaj to gensvm
Diffstat (limited to 'include/gensvm_io.h')
-rw-r--r--include/gensvm_io.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/include/gensvm_io.h b/include/gensvm_io.h
new file mode 100644
index 0000000..35b6a5a
--- /dev/null
+++ b/include/gensvm_io.h
@@ -0,0 +1,30 @@
+/**
+ * @file gensvm_io.h
+ * @author Gertjan van den Burg
+ * @date January, 2014
+ * @brief Header files for gensvm_io.c
+ *
+ * @details
+ * Function declarations for input/output functions.
+ *
+ */
+
+#ifndef GENSVM_IO_H
+#define GENSVM_IO_H
+
+#include "globals.h"
+
+// forward declarations
+struct GenData;
+struct GenModel;
+
+// function declarations
+void gensvm_read_data(struct GenData *dataset, char *data_file);
+
+void gensvm_read_model(struct GenModel *model, char *model_filename);
+void gensvm_write_model(struct GenModel *model, char *output_filename);
+
+void gensvm_write_predictions(struct GenData *data, long *predy,
+ char *output_filename);
+
+#endif