Changes in / [65:bfbc57a51fbb:31:742abd64255e] in lemon-main
- Files:
-
- 9 deleted
- 7 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.*/.* -
Makefile.am
r5 r1 5 5 6 6 EXTRA_DIST = \ 7 LICENSE \8 7 m4/lx_check_cplex.m4 \ 9 8 m4/lx_check_glpk.m4 \ -
configure.ac
r21 r1 7 7 m4_define([lemon_version_nano], []) 8 8 m4_define([lemon_version_tag], [hg]) 9 m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg id -i]))])10 m4_define([lemon_version], [lemon_version_major().lemon_version_minor()ifelse(lemon_version_micro(), [], [], [.lemon_version_micro()])ifelse(lemon_version_nano(), [], [], [.lemon_version_nano()])ifelse(lemon_version_tag(), [], [], lemon_version_tag(), [hg], [[_]lemon_version_tag()[ _]lemon_hg_revision()], [[_]lemon_version_tag()])])9 m4_define([lemon_hg_revision], [m4_normalize(esyscmd([hg tip |grep ^changeset |cut -d ':' -f 3]))]) 10 m4_define([lemon_version], [lemon_version_major().lemon_version_minor()ifelse(lemon_version_micro(), [], [], [.lemon_version_micro()])ifelse(lemon_version_nano(), [], [], [.lemon_version_nano()])ifelse(lemon_version_tag(), [], [], lemon_version_tag(), [hg], [[_]lemon_version_tag()[]lemon_hg_revision()], [[_]lemon_version_tag()])]) 11 11 12 12 AC_PREREQ([2.59]) -
lemon/Makefile.am
r65 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) … … 17 15 lemon_HEADERS += \ 18 16 lemon/concept_check.h \ 19 lemon/dim2.h \20 lemon/random.h \21 17 lemon/list_graph.h \ 22 18 lemon/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
r65 r25 4 4 noinst_HEADERS += \ 5 5 test/test_tools.h 6 6 7 7 check_PROGRAMS += \ 8 test/dim_test \9 8 test/maps_test \ 10 test/random_test \11 9 test/test_tools_fail \ 12 10 test/test_tools_pass 13 11 14 12 TESTS += $(check_PROGRAMS) 15 13 XFAIL_TESTS += test/test_tools_fail$(EXEEXT) 16 14 17 test_dim_test_SOURCES = test/dim_test.cc18 15 test_maps_test_SOURCES = test/maps_test.cc 19 test_random_test_SOURCES = test/random_test.cc20 16 test_test_tools_fail_SOURCES = test/test_tools_fail.cc 21 17 test_test_tools_pass_SOURCES = test/test_tools_pass.cc
Note: See TracChangeset
for help on using the changeset viewer.