project  ..
utils.h
Go to the documentation of this file.
1 //
2 // Created by fred on 5/22/18.
3 //
4 
5 #ifndef MULTILOC_UTILS_H
6 #define MULTILOC_UTILS_H
7 
8 #include <multiloc.h>
9 
18 void print(one_Tuple& list);
19 
28 void print(two_Tuple& list);
29 
38 void print(three_Tuple& list);
39 
49 void print(MatrixXd& list,int &total);
50 
61 bool read_data(const char *filename,one_Tuple& tuples);
62 
74 bool read_file(string& Docement,one_Tuple& m_data,two_Tuple& angle);
75 
87 bool read_file(string& Docement,one_Tuple& m_data,one_Tuple& angle);
88 
89 
90 #endif //MULTILOC_UTILS_H
vector< two_Tuple > three_Tuple
Definition: multiloc.h:31
vector< one_Tuple > two_Tuple
Definition: multiloc.h:30
vector< double > one_Tuple
Definition: multiloc.h:29
void print(one_Tuple &list)
输出1维vector<double>的数据到命令行
bool read_file(string &Docement, one_Tuple &m_data, two_Tuple &angle)
从文件中读取用于多目标定位的靶点和测向线信息,其中filename为需要读取数据的文件路径, 将读取的靶点坐标...
bool read_data(const char *filename, one_Tuple &tuples)
: 从文件中读取数据内容,将输出的结果保存在一维的vector<double>中. filename为需要读取数据的文件名路径...