Home | History | Annotate | Download | only in examples

Lines Matching full:c_str

165     std::ifstream ifs(filename.c_str(), std::ifstream::in);
170 const int kNumResponses = std::atoi(pieces[1].c_str());
173 const int kNumPredictors = std::atoi(pieces[0].c_str());
176 const int kNumObservations = std::atoi(pieces[0].c_str());
180 const int kNumParameters = std::atoi(pieces[0].c_str());
196 initial_parameters_(i, parameter_id) = std::atof(pieces[i + 2].c_str());
198 final_parameters_(0, parameter_id) = std::atof(pieces[2 + kNumTries].c_str());
205 initial_parameters_(i, parameter_id) = std::atof(pieces[i + 2].c_str());
207 final_parameters_(0, parameter_id) = std::atof(pieces[2 + kNumTries].c_str());
213 certified_cost_ = std::atof(pieces[4].c_str()) / 2.0;
221 response_(i, j) = std::atof(pieces[j].c_str());
226 predictor_(i, j) = std::atof(pieces[j + kNumResponses].c_str());
417 printf("%s\n", filename.c_str());