Subject: CGAL users discussion list
List archive
Re:[cgal-discuss] Triangulation_3 + facets iterator = non-deterministic output?
Chronological Thread
- From: "Thomas Zangl - Home" <>
- To: "cgal-discuss" <>
- Subject: Re:[cgal-discuss] Triangulation_3 + facets iterator = non-deterministic output?
- Date: Wed, 10 Oct 2007 20:23:17 +0200
Am Wed, 10 Oct 2007 17:58:45 +0200, schrieb "Sylvain Pion"
<>:
Hi!
>One way to fix that would be to use a pseudo random generator which
>can be made deterministic. But for debugging, it might be enough
>to just derandomize the point location, by using the "i=0" instead of
>the random number generator in the following code block from
><CGAL/Triangulaiton_3.h> :
>
> // For the remembering stochastic walk,
> // we need to start trying with a random index :
> int i = rng.template get_bits<2>();
> // For the remembering visibility walk (Delaunay only), we don't :
> // int i = 0;
Thank you Sylvain, that made it working. I now have the same order on
different runs :-) That makes debugging a lot easier....
Best regards,
--
----------------------------------------------------------------
,yours Thomas Zangl, Bakk.rer.soc.oec. -
-
- Freelancer - IT Consulting & Software Development -
- Student of Software Development-Economy (Master) -
- Triangulation_3 + facets iterator = non-deterministic output?, Thomas Zangl - Home, 10/10/2007
- Re: [cgal-discuss] Triangulation_3 + facets iterator = non-deterministic output?, Sylvain Pion, 10/10/2007
- Re: [cgal-discuss] Triangulation_3 + facets iterator = non-deterministic output?, Andreas Fabri, 10/10/2007
- Re:[cgal-discuss] Triangulation_3 + facets iterator = non-deterministic output?, Thomas Zangl - Home, 10/10/2007
- Re: [cgal-discuss] Triangulation_3 + facets iterator = non-deterministic output?, Monique . Teillaud, 10/11/2007
- Re:[cgal-discuss] Triangulation_3 + facets iterator = non-deterministic output?, Thomas Zangl - Home, 10/10/2007
- Re: [cgal-discuss] Triangulation_3 + facets iterator = non-deterministic output?, Andreas Fabri, 10/10/2007
- Re: [cgal-discuss] Triangulation_3 + facets iterator = non-deterministic output?, Sylvain Pion, 10/10/2007
Archive powered by MHonArc 2.6.16.