Develop and Download Open Source Software

Browse Subversion Repository

Diff of /Conograph/trunk/src/LatticeWithSameQ/p_out_same_q.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32 by rtomiyasu, Mon Jul 7 02:35:51 2014 UTC revision 33 by rtomiyasu, Wed Sep 7 04:38:51 2016 UTC
# Line 37  using namespace std; Line 37  using namespace std;
37    
38  void printSolutions(const vector<LatticeFigureOfMerit>& lattice_result,  void printSolutions(const vector<LatticeFigureOfMerit>& lattice_result,
39                                          const ControlParam& cdata,                                          const ControlParam& cdata,
40                                          ostream * const os);                                          ostream * const os, const size_t number_output = 15);
41    
42  // Output q-values in fname.  // Output q-values in fname.
43  // If selected_lattice is not NULL, the information of selected_lattice is also output.  // If selected_lattice is not NULL, the information of selected_lattice is also output.
44  inline void printSolutions(const vector<LatticeFigureOfMerit>& lattice_result,  inline void printSolutions(const vector<LatticeFigureOfMerit>& lattice_result,
45                                          const ControlParam& cdata,                                          const ControlParam& cdata,
46                                          const string& fname)                                          const string& fname, const size_t number_output = 15)
47  {  {
48          ofstream ofs(fname.c_str());          ofstream ofs(fname.c_str());
49      printSolutions(lattice_result, cdata, &ofs);      printSolutions(lattice_result, cdata, &ofs);

Legend:
Removed from v.32  
changed lines
  Added in v.33

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26