IMP logo
IMP Reference Guide  2.9.0
The Integrative Modeling Platform
path_reader_writer.h
Go to the documentation of this file.
1 /**
2  * \file IMP/multifit/path_reader_writer.h
3  * \brief Read and write paths.
4  *
5  * Copyright 2007-2018 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPMULTIFIT_PATH_READER_WRITER_H
10 #define IMPMULTIFIT_PATH_READER_WRITER_H
11 
12 #include <IMP/multifit/multifit_config.h>
14 
15 IMPMULTIFIT_BEGIN_NAMESPACE
16 
17 //! Read paths
18 /**
19 \note Notice that for the function to read the last line it should end with \n
20  */
21 IMPMULTIFITEXPORT
22 IntsList read_paths(const char *txt_filename, int max_paths = INT_MAX);
23 
24 IMPMULTIFITEXPORT
25 void write_paths(const IntsList &paths, const std::string &txt_filename);
26 
27 IMPMULTIFIT_END_NAMESPACE
28 
29 #endif /* IMPMULTIFIT_PATH_READER_WRITER_H */
IMP::Vector< Ints > IntsList
Standard way to pass a bunch of Ints values.
Definition: types.h:56
IntsList read_paths(const char *txt_filename, int max_paths=INT_MAX)
Read paths.
Sample best solutions using Domino.