40 #include <basic/Tracer.hh>
43 #include <utility/exit.hh>
52 #include <utility/vector1.hh>
63 utility_exit_with_message(
"You shouldn't call the empty constructor for PcsInputCenter class" );
79 if (
this != &other ) {
85 std::map< std::string, PcsInputFile > &
96 for (i = 1; i <= filenames.size(); i++){
97 weight_sum += weight[i];
100 for (i = 1; i <= filenames.size(); i++){
105 PcsInputFile_all_.insert ( std::pair< std::string, PcsInputFile >(filenames[i], pcs_i_f_temp) );
112 std::map< std::string, PcsInputFile >::iterator it;
113 std::map< std::string, PcsInputFile > mymap;
116 for ( it = mymap.begin(); it != mymap.end(); ++it ) {
117 out <<
"For the file '" << it->first << std::endl;
119 out <<
"The relative weight is " << (it->second).get_weight() << std::endl;