- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
void dump_indexes(map<int,stride_slices> picks, ofstream &f);
{
f<<"# full size: "<<picks.size()<<endl;
for(map<int, stride_slices>::iterator
p=picks.begin(); p!=picks.end(); ++p)
{
f<<"## "
<<p->first<<"'st stride slices count: "
<<p->second.size()<<endl;
for(stride_slices::iterator
pp=p->second.begin(); pp!=p->second.end(); ++pp)
{
f<<"### "
<< p->first<<"'st stride, "
<<pp->first<<"'st slice size: "
<<pp->second.size()<<endl;
for(max_slice::iterator
ppp=pp->second.begin(); ppp!=pp->second.end(); ++ppp)
{
f<<"#### "
<<p->first<<"'st stride, "
<<pp->first<<"'st slice, "
<<ppp->first<<"'st chunk size:"
<<ppp->second.size()<<endl;
for(max_chunk::iterator
pppp=ppp->second.begin(); pppp!=ppp->second.end(); ++pppp)
f<<" "
<<p->first<<" "
<<pp->first<<" "
<<ppp->first<<" "
<<pppp->first<<" : "
<<pppp->second<<endl;
}
}
}
}