- Timestamp:
- Oct 6, 2002, 5:18:17 PM (23 years ago)
- Location:
- trunk/ArchTOIPipe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/toimanager.cc
r2187 r2204 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toimanager.cc,v 1.1 7 2002-09-09 15:33:15aubourg Exp $5 // $Id: toimanager.cc,v 1.18 2002-10-06 15:18:17 aubourg Exp $ 6 6 7 7 #include "toimanager.h" … … 62 62 63 63 // debogage affichage des limites apres calcul 64 for (vector<TOIProcessor*>::iterator i = processors.begin();64 {for (vector<TOIProcessor*>::iterator i = processors.begin(); 65 65 i != processors.end(); i++) { 66 66 TOIProcessor* proc = *i; 67 67 proc->printLimits(); 68 } 68 69 } 69 70 -
trunk/ArchTOIPipe/Processors/toimedfilter.cc
r2193 r2204 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: toimedfilter.cc,v 1. 1 2002-09-16 11:52:18aubourg Exp $5 // $Id: toimedfilter.cc,v 1.2 2002-10-06 15:18:17 aubourg Exp $ 6 6 7 7 #include <algorithm> … … 58 58 59 59 // init structures 60 for (int i=0; i<w; i++) {60 {for (int i=0; i<w; i++) { 61 61 double data = getData(0, snb+i); 62 62 low.insert(data); 63 } 63 }} 64 64 65 65 multiset<double>::iterator ii = low.begin(); 66 for (int i=0; i<w/2; i++, ii++);66 {for (int i=0; i<w/2; i++, ii++);} 67 67 mid = *ii; 68 68 ii++; high.insert(ii, low.end()); … … 72 72 // cout << snb+w/2<< " -> " << mid << endl; 73 73 74 for (int i=snb+w; i<=sne; i ++) {74 {for (int i=snb+w; i<=sne; i ++) { 75 75 double b = getData(0, i); 76 76 double a = getData(0, i-w); … … 127 127 // cout << i-w/2 << " -> " << mid << endl; 128 128 putData(0, i-w/2, mid); 129 } 129 }} 130 130 } 131 131
Note:
See TracChangeset
for help on using the changeset viewer.