Changeset 026171 in git for dyn_modules/syzextra/syzextra.h
- Timestamp:
- Jul 30, 2012, 5:19:40 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '1d362c315e551a5b527ab0759f8839cf0e94f3a5')
- Children:
- dd24e5dded66979eda13e955b93fc284cbb341e7
- Parents:
- c93fda01f3f4eb9609a2210ea9eec1816d8fb7f1
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-30 17:19:40+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-05-07 04:41:46+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dyn_modules/syzextra/syzextra.h
rc93fda r026171 17 17 #define SYZEXTRA_H 18 18 19 #include <vector> 20 19 21 // include basic definitions 20 22 #include "singularxx_defs.h" … … 78 80 }; 79 81 82 class SchreyerSyzygyComputation; 83 84 class CLCM: public std::vector<bool> 85 { 86 public: 87 CLCM(const SchreyerSyzygyComputation& data); 88 89 bool Check(const poly m) const; 90 91 private: 92 const SchreyerSyzygyComputation& m_data; 93 94 bool m_compute; 95 }; 80 96 81 97 … … 92 108 class SchreyerSyzygyComputation 93 109 { 110 friend class CLCM; 111 94 112 public: 113 95 114 /// Construct a global object for given input data (separated into leads & tails) 96 115 SchreyerSyzygyComputation(const ideal idLeads, const ideal idTails, const ring rBaseRing, const SchreyerSyzygyComputationFlags attribues): 97 116 m_rBaseRing(rBaseRing), 98 117 m_idLeads(idLeads), m_idTails(idTails), 99 m_syzLeads(NULL), m_syzTails(NULL), m_LS(NULL), m_atttributes(attribues) {} 118 m_syzLeads(NULL), m_syzTails(NULL), m_LS(NULL), m_atttributes(attribues), 119 m_lcm(*this) 120 { 121 } 100 122 101 123 … … 104 126 m_rBaseRing(rBaseRing), 105 127 m_idLeads(idLeads), m_idTails(idTails), 106 m_syzLeads(NULL), m_syzTails(NULL), m_LS(syzLeads), m_atttributes(attribues) {} 128 m_syzLeads(NULL), m_syzTails(NULL), m_LS(syzLeads), m_atttributes(attribues), 129 m_lcm(*this) 130 { 131 } 107 132 108 133 … … 144 169 /// leading + second terms 145 170 ideal Compute2LeadingSyzygyTerms(); 146 147 171 148 172 /// Clean up all the accumulated data 149 173 void CleanUp() {} … … 168 192 169 193 const SchreyerSyzygyComputationFlags m_atttributes; 194 195 /// Bitmask for variables occuring in leading terms 196 const CLCM m_lcm; 170 197 }; 171 198
Note: See TracChangeset
for help on using the changeset viewer.