10 std::multimap<int,Identifier> indexmap;
14 indexmap.insert(std::pair<int,Identifier>(std::abs(itr->second),itr->first));
15 std::vector< std::vector<float> >
tmp(
m_buf);
23 for (
pos=indexmap.lower_bound(
i);
pos!=indexmap.upper_bound(
i); ++
pos){
26 shared_id=
pos->second;
29 this->
share(pos->second,shared_id);
35 std::cout <<
"dbg:" <<
m_bufmap.size() <<
" " <<
m_buf.size() << std::endl;
40 os <<
store.tag() << std::endl ;
43 std::map<int, std::vector<Identifier> > indextoidentmap ;
45 indextoidentmap[
it.second].push_back(
it.first) ;
47 os << indextoidentmap.size() << std::endl ;
50 for( std::map<
int, std::vector<Identifier> >::const_iterator
it = indextoidentmap.begin() ;
51 it != indextoidentmap.end(); ++
it) {
52 os <<
it->second.size() <<
" " ;
53 for(
auto vit :
it->second)
55 const std::vector<float>&
data =
store[
it->second.front()] ;
70 std::vector<float>
data(0) ;
71 constexpr
int maxLines=2000000;
72 constexpr
int maxSize=2000000;
75 if ((nlines>=0) and (nlines<maxLines)) {
76 for(
int iline = 0; iline <nlines; ++iline) {
85 log << MSG::ERROR <<
"size of identifier is incorrect" <<
endmsg;
91 for(
int i=0; i<size; ++i) is >> (
data[
i]) ;
95 log << MSG::ERROR <<
"size of data is incorrect" <<
endmsg;