Changes in / [20:9244aa9ec12e:30:72364ba3466d] in lemon
- Files:
-
- 4 added
- 5 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
.hgignore
r9 r3 6 6 *.o 7 7 .#.* 8 *.log9 *.lo10 *.tar.*11 8 Makefile.in 12 9 aclocal.m4 … … 23 20 lemon/stamp-h2 24 21 doc/Doxyfile 25 .dirstamp 26 .libs/* 27 .deps/* 22 lemon/.dirstamp 23 lemon/.libs/* 28 24 29 25 syntax: regexp 30 ^doc/html/.* 31 ^autom4te.cache/.* 32 ^build-aux/.* 33 ^objs.*/.* 34 ^test/[a-z_]*$ 26 html/.* 27 autom4te.cache/.* 28 build-aux/.* 29 objs.*/.* -
lemon/Makefile.am
r10 r25 8 8 9 9 lemon_libemon_la_SOURCES = \ 10 lemon/base.cc \ 11 lemon/random.cc 12 10 lemon/base.cc 13 11 14 12 lemon_libemon_la_CXXFLAGS = $(GLPK_CFLAGS) $(CPLEX_CFLAGS) $(SOPLEX_CXXFLAGS) … … 16 14 17 15 lemon_HEADERS += \ 18 lemon/dim2.h \ 19 lemon/random.h \ 16 lemon/concept_check.h \ 20 17 lemon/list_graph.h \ 18 lemon/maps.h \ 21 19 lemon/tolerance.h 22 20 … … 25 23 lemon/bits/utility.h 26 24 27 concept_HEADERS += 25 concept_HEADERS += \ 26 lemon/concepts/maps.h -
lemon/bits/invalid.h
r13 r7 25 25 namespace lemon { 26 26 27 /// \brief Dummy type to make it easier to create invalid iterators.27 /// \brief Dummy type to make it easier to make invalid iterators. 28 28 /// 29 29 /// See \ref INVALID for the usage. … … 35 35 }; 36 36 37 /// \briefInvalid iterators.38 ///37 /// Invalid iterators. 38 39 39 /// \ref Invalid is a global type that converts to each iterator 40 40 /// in such a way that the value of the target iterator will be invalid. -
lemon/tolerance.h
r16 r7 49 49 ///\sa Tolerance<long double> 50 50 ///\sa Tolerance<int> 51 #if defined __GNUC__ && !defined __STRICT_ANSI__52 51 ///\sa Tolerance<long long int> 53 #endif54 52 ///\sa Tolerance<unsigned int> 55 #if defined __GNUC__ && !defined __STRICT_ANSI__56 53 ///\sa Tolerance<unsigned long long int> 57 #endif58 54 59 55 template<class T> … … 135 131 bool negative(Value a) const { return -_epsilon>a; } 136 132 ///Returns \c true if \c a is \e surely non-zero 137 bool nonZero(Value a) const { return positive(a)||negative(a); } 133 bool nonZero(Value a) const { return positive(a)||negative(a); }; 138 134 139 135 ///@} … … 186 182 bool negative(Value a) const { return -_epsilon>a; } 187 183 ///Returns \c true if \c a is \e surely non-zero 188 bool nonZero(Value a) const { return positive(a)||negative(a); } 184 bool nonZero(Value a) const { return positive(a)||negative(a); }; 189 185 190 186 ///@} … … 237 233 bool negative(Value a) const { return -_epsilon>a; } 238 234 ///Returns \c true if \c a is \e surely non-zero 239 bool nonZero(Value a) const { return positive(a)||negative(a); } 235 bool nonZero(Value a) const { return positive(a)||negative(a); }; 240 236 241 237 ///@} … … 270 266 static bool negative(Value a) { return 0>a; } 271 267 ///Returns \c true if \c a is \e surely non-zero 272 static bool nonZero(Value a) { return a!=0; } 268 static bool nonZero(Value a) { return a!=0; }; 273 269 274 270 ///@} … … 303 299 static bool negative(Value) { return false; } 304 300 ///Returns \c true if \c a is \e surely non-zero 305 static bool nonZero(Value a) { return a!=0; } 301 static bool nonZero(Value a) { return a!=0; }; 306 302 307 303 ///@} … … 337 333 static bool negative(Value a) { return 0>a; } 338 334 ///Returns \c true if \c a is \e surely non-zero 339 static bool nonZero(Value a) { return a!=0;} 335 static bool nonZero(Value a) { return a!=0;}; 340 336 341 337 ///@} … … 370 366 static bool negative(Value) { return false; } 371 367 ///Returns \c true if \c a is \e surely non-zero 372 static bool nonZero(Value a) { return a!=0;} 368 static bool nonZero(Value a) { return a!=0;}; 373 369 374 370 ///@} … … 407 403 static bool negative(Value a) { return 0>a; } 408 404 ///Returns \c true if \c a is \e surely non-zero 409 static bool nonZero(Value a) { return a!=0;} 405 static bool nonZero(Value a) { return a!=0;}; 410 406 411 407 ///@} … … 442 438 static bool negative(Value) { return false; } 443 439 ///Returns \c true if \c a is \e surely non-zero 444 static bool nonZero(Value a) { return a!=0;} 440 static bool nonZero(Value a) { return a!=0;}; 445 441 446 442 ///@} -
test/Makefile.am
r10 r25 4 4 noinst_HEADERS += \ 5 5 test/test_tools.h 6 6 7 7 check_PROGRAMS += \ 8 test/dim_test \ 9 test/random_test \ 8 test/maps_test \ 10 9 test/test_tools_fail \ 11 10 test/test_tools_pass 12 11 13 12 TESTS += $(check_PROGRAMS) 14 13 XFAIL_TESTS += test/test_tools_fail$(EXEEXT) 15 14 16 test_dim_test_SOURCES = test/dim_test.cc 17 test_random_test_SOURCES = test/random_test.cc 15 test_maps_test_SOURCES = test/maps_test.cc 18 16 test_test_tools_fail_SOURCES = test/test_tools_fail.cc 19 17 test_test_tools_pass_SOURCES = test/test_tools_pass.cc
Note: See TracChangeset
for help on using the changeset viewer.