#include <algorithm>
#include <cmath>
#include <map>
#include <tr1/array>
#include "Sandbox.h"
#include "ThreadManager.h"
#include "ModelData.h"
#include "Gis.h"
#include "ModelRegion.h"
#include "Carbon.h"
#include <iostream>
#include <iomanip>
#include <string>
#include <random>
#include <float.h>
#include <limits>
#include <cstddef>
#include "IpIpoptApplication.hpp"
#include "IpSolveStatistics.hpp"
#include "Ipopt_nlp_problem_debugtest.h"
#include "Adolc_debugtest.h"
Go to the source code of this file.
◆ TStrStrMap
◆ TStrStrPair
◆ getVectorSetting()
template<class T >
| vector< T > getVectorSetting |
( |
string |
name_h, |
|
|
int |
type |
|
) |
| |
Definition at line 1507 of file Sandbox.cpp.
1507 {
1508
1509 vector <string> myStringDatas;
1510 myStringDatas.push_back("aaaaa");
1511 myStringDatas.push_back("bbbbb");
1512 myStringDatas.push_back("ccccc");
1513 vector <T> xVector;
1514
1515 for (int i=0;i<myStringDatas.size();i++){
1516 istringstream iss(myStringDatas[i]);
1517 T x;
1518 iss >> x;
1519 xVector.push_back(x);
1520 }
1521
1522 return xVector;
1523}