Lines Matching refs:pieces

147 bool GetAndSplitLine(std::ifstream& ifs, std::vector<std::string>* pieces) {  in GetAndSplitLine()  argument
148 pieces->clear(); in GetAndSplitLine()
151 SplitStringUsingChar(std::string(buf), ' ', pieces); in GetAndSplitLine()
167 std::vector<std::string> pieces; in NISTProblem() local
169 GetAndSplitLine(ifs, &pieces); in NISTProblem()
170 const int kNumResponses = std::atoi(pieces[1].c_str()); in NISTProblem()
172 GetAndSplitLine(ifs, &pieces); in NISTProblem()
173 const int kNumPredictors = std::atoi(pieces[0].c_str()); in NISTProblem()
175 GetAndSplitLine(ifs, &pieces); in NISTProblem()
176 const int kNumObservations = std::atoi(pieces[0].c_str()); in NISTProblem()
179 GetAndSplitLine(ifs, &pieces); in NISTProblem()
180 const int kNumParameters = std::atoi(pieces[0].c_str()); in NISTProblem()
185 GetAndSplitLine(ifs, &pieces); in NISTProblem()
186 const int kNumTries = pieces.size() - 4; in NISTProblem()
196 initial_parameters_(i, parameter_id) = std::atof(pieces[i + 2].c_str()); in NISTProblem()
198 final_parameters_(0, parameter_id) = std::atof(pieces[2 + kNumTries].c_str()); in NISTProblem()
202 GetAndSplitLine(ifs, &pieces); in NISTProblem()
205 initial_parameters_(i, parameter_id) = std::atof(pieces[i + 2].c_str()); in NISTProblem()
207 final_parameters_(0, parameter_id) = std::atof(pieces[2 + kNumTries].c_str()); in NISTProblem()
212 GetAndSplitLine(ifs, &pieces); in NISTProblem()
213 certified_cost_ = std::atof(pieces[4].c_str()) / 2.0; in NISTProblem()
218 GetAndSplitLine(ifs, &pieces); in NISTProblem()
221 response_(i, j) = std::atof(pieces[j].c_str()); in NISTProblem()
226 predictor_(i, j) = std::atof(pieces[j + kNumResponses].c_str()); in NISTProblem()