Daniel James
4c752ee2f1
Use std::mt19937 where available
...
In C++17 mode, libc++'s `std::shuffle` isn't compatible with Boost's random
generators because the `min` and `max` functions aren't `constexpr`, so use
`std::mt19937` instead. This might not be required if boostorg/random#24 is
accepted.
2018-04-13 15:43:38 +01:00
Daniela Engert
9886e3fef2
Conditionally replace deprecated/removed C++98 std::bind1st by std::bind, std::auto_ptr by std::unique_ptr, and std::random_shuffle by std::shuffle. ( #89 )
...
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-05-26 15:04:34 -06:00
K. Noel Belcourt
08453c109a
Revert "removed an unused function ( #39 )"
...
This reverts commit 655ce30eb3 .
2016-04-26 10:54:43 -06:00
Mads Jensen
655ce30eb3
removed an unused function ( #39 )
...
The C++ standard deprecates use of <stdio.h>, <stdlib.h> etc., and suggests using <cstdio>, <cstdlib> etc.
Some trailing whitespace removed in affected files because of a setting in my editor
dead code surrounded by #if 0 ... #endif removed
2016-04-24 10:26:25 -06:00
Jeremiah Willcock
ebdec45c4b
Added test for Boost.Parameter version of isomorphism; fixed bugs that found
...
[SVN r78024]
2012-04-16 18:44:36 +00:00
Jeremiah Willcock
2b2f2d464e
Qualified more calls to tie; fixes #6112
...
[SVN r75431]
2011-11-10 15:04:27 +00:00
Jeremiah Willcock
8d4c3cc7d6
Moved property map library into property_map/ directory; made old files into stubs with #warnings; converted uses and docs of property map library to use new names
...
[SVN r52226]
2009-04-07 01:28:38 +00:00
Dave Abrahams
11f9e9b044
Stop using assert() in tests
...
[SVN r33181]
2006-02-28 22:56:33 +00:00
Stefan Slapeta
500be67439
Replaced BOOST_TEST
...
[SVN r27050]
2005-02-03 12:27:14 +00:00
Douglas Gregor
216a5a7f12
Do not use atoi, atof
...
[SVN r26938]
2005-01-30 17:12:45 +00:00
Douglas Gregor
7fecf688bc
Reduce reliance on test lib
...
[SVN r26894]
2005-01-28 08:08:18 +00:00
Douglas Gregor
01f0eb9ad3
Fixes from François Dumont
...
[SVN r26693]
2005-01-14 05:33:42 +00:00
Douglas Gregor
d017d8e9e7
Converted to Boost Software License, Version 1.0
...
[SVN r24096]
2004-07-27 03:43:34 +00:00
Douglas Gregor
656b0ce32d
Doug Gregor->Douglas Gregor
...
[SVN r24018]
2004-07-25 02:59:30 +00:00
Douglas Gregor
51d60f9b43
libs/graph/test/edge_list_cc.cpp: Specify all parameters, for VC7 support
...
libs/graph/test/isomorphism.cpp: Deal with atoi/atof missing from std::
boost/graph//adjacency_matrix.hpp: deal with missing allocator<T>::rebind
boost/graph/graph_test.hpp: Remove unusable default constructor (workaround)
boost/graph/vector_as_graph.hpp: When we say remove, we mean std::remove
status/explicit-failures-markup.xml: mark everything I can't or won't fix
[SVN r23237]
2004-06-29 02:30:29 +00:00
Douglas Gregor
cbfc6ec8ed
Don't use std::atoi and std::atof directly
...
[SVN r23217]
2004-06-27 21:06:37 +00:00
Dave Abrahams
03b8ab6734
Move to new iterator adaptors, except for LEDA and standford graph
...
support. Also fix many small bugs.
[SVN r19070]
2003-07-11 21:26:08 +00:00
Jens Maurer
f4d8b68e0e
adjust to Boost.Random interface change for C++ library TR
...
[SVN r19008]
2003-07-09 22:55:21 +00:00
Jeremy Siek
1501df6386
added includes for random stuff
...
[SVN r15672]
2002-10-03 14:03:27 +00:00
Jeremy Siek
58c22c7cf9
removed verify_isomorphism, it is now in isomorphism.hpp
...
[SVN r14989]
2002-08-20 15:25:04 +00:00
Jeremy Siek
a976e279a4
*** empty log message ***
...
[SVN r14988]
2002-08-20 15:22:24 +00:00
John Maddock
76054ca8be
Commented out duplicated function def.
...
changed <ctime> to <time.h> as clock and clock_t are used without std:: qualifiers
[SVN r13294]
2002-03-28 12:47:07 +00:00
Douglas Gregor
cd177c8c15
isomorphism.cpp:
...
- Added timing of isomorphism algorithm
- Output both graphs if there is a verification failure
[SVN r11847]
2001-12-01 16:34:14 +00:00
Douglas Gregor
f576c1828d
isomorphism.cpp:
...
- Output the failed graph when an error occurs.
[SVN r11812]
2001-11-29 20:33:31 +00:00
Douglas Gregor
79847fd163
isomorphism.cpp:
...
- Made standard test less CPU intensive
- Make graph types different
[SVN r11806]
2001-11-29 13:34:10 +00:00
Jeremy Siek
294cf572a3
changed to use boost random number library
...
[SVN r11804]
2001-11-29 07:14:57 +00:00
Douglas Gregor
cba36c6033
isomorphism.cpp:
...
- Tests for isomorphism algorithm
[SVN r11801]
2001-11-29 04:02:57 +00:00