Changeset d96b79 in git for IntegerProgramming/term_ordering.cc
- Timestamp:
- Apr 14, 2003, 10:16:22 AM (21 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 42c03ae4b5550eede82d007996fbc1809c919081
- Parents:
- a7c8b18aaee6ef15b1855f3bbd8d65f0c06f27b6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
IntegerProgramming/term_ordering.cc
ra7c8b18 rd96b79 10 10 /////////////// constructors and destructor /////////////////////////////////// 11 11 12 term_ordering::term_ordering(const BOOLEAN& _homogeneous =FALSE)12 term_ordering::term_ordering(const BOOLEAN& _homogeneous) 13 13 :homogeneous(_homogeneous) 14 14 { … … 24 24 const float* weights, 25 25 const short& _weighted_ordering, 26 const BOOLEAN& _homogeneous =FALSE)26 const BOOLEAN& _homogeneous) 27 27 :weighted_block_size(number_of_weighted_variables), 28 28 homogeneous(_homogeneous) … … 86 86 const short& number_of_elimination_variables, 87 87 const short& _elimination_ordering, 88 const BOOLEAN& _homogeneous =FALSE)88 const BOOLEAN& _homogeneous) 89 89 :weighted_block_size(number_of_weighted_variables), 90 90 elimination_block_size(number_of_elimination_variables), … … 150 150 151 151 term_ordering::term_ordering(ifstream& input, const short& _weighted_ordering, 152 const BOOLEAN& _homogeneous =FALSE)152 const BOOLEAN& _homogeneous) 153 153 :homogeneous(_homogeneous) 154 154 { … … 219 219 term_ordering::term_ordering(const short& n, ifstream& input, 220 220 const short& _weighted_ordering, 221 const BOOLEAN& _homogeneous =FALSE)221 const BOOLEAN& _homogeneous) 222 222 :homogeneous(_homogeneous) 223 223 { … … 260 260 cout << "neg found at i="<<i<<":" <<weight_vector[i] <<"\n"; 261 261 negative_weight=TRUE; 262 } 262 } 263 263 if(weight_vector[i]==0) 264 264 zero_weight=TRUE;
Note: See TracChangeset
for help on using the changeset viewer.