Changeset 2ded87 in git for Singular/dyn_modules/syzextra/syzextra.h
- Timestamp:
- Nov 13, 2014, 11:38:57 PM (9 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '4bd32dfef92ec9f5ed8dceee82d14318ae147107')
- Children:
- 85bd2a6af0f0dbc2125e835be461c105507f8e55
- Parents:
- 13079719da06e518c20fdb2a9e05c26bff4e8cf4
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-11-13 23:38:57+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-11-17 20:53:53+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/dyn_modules/syzextra/syzextra.h
r130797 r2ded87 19 19 #include <vector> 20 20 #include <map> 21 #include <string.h> 21 22 22 23 // include basic definitions … … 264 265 m_sum_bucket(NULL), m_spoly_bucket(NULL) 265 266 { 267 if( __PROT__ ) memset( &m_stat, 0, sizeof(m_stat) ); 266 268 } 267 269 … … 275 277 m_sum_bucket(NULL), m_spoly_bucket(NULL) 276 278 { 279 if( __PROT__ ) memset( &m_stat, 0, sizeof(m_stat) ); 280 277 281 if( __TAILREDSYZ__ && !__IGNORETAILS__) 278 282 { … … 291 295 void SetUpTailTerms(); 292 296 297 /// print statistics about the used heuristics 298 void PrintStats() const; 299 293 300 /// Read off the results while detaching them from this object 294 301 /// NOTE: no copy! … … 298 305 299 306 m_syzLeads = m_syzTails = NULL; // m_LS ? 307 308 if ( __PROT__ ) 309 PrintStats(); 300 310 } 311 301 312 302 313 /// The main driver function: computes … … 401 412 }; 402 413 414 415 /// Statistics: 416 /// 0..3: as in SetUpTailTerms()::PreProcessTerm() // TODO!!?? 417 /// 4: number of terms discarded due to LOT heuristics 418 /// 5: number of terms discarded due to LCM heuristics 419 /// 6, 7: lookups without & with rescale, 8: stores 420 mutable unsigned long m_stat[9]; 421 }; 403 422 404 423 // The following wrappers are just for testing separate functions on highest level (within schreyer.lib)
Note: See TracChangeset
for help on using the changeset viewer.