Subject: CGAL users discussion list
List archive
- From: Stefan Witzel <>
- To:
- Subject: [cgal-discuss] Side effects
- Date: Tue, 25 Jun 2019 11:55:25 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:6kp10R+duB8zTv9uRHKM819IXTAuvvDOBiVQ1KB41OMcTK2v8tzYMVDF4r011RmVBN+dsq4P0rue8/i5HzBZuNDZ6DFKWacPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3wOgVvO+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIxi6sBvdutMLjYZtJao91x/EqWZMd+hK2G9kP12ekwvh6suq4JJv7yFcsO89+sBdVqn3Y742RqFCAjQ8NGA16szrtR3dQgaK+3ARTGYYnAdWDgbc9B31UYv/vSX8tupmxSmVJtb2QqwuWTSj9KhkVhnlgzoaOjEj8WHXjstwjL9HoB+kuhdyzZLYbJ2TOfFjeK7WYNEUSndbXstJWCNBGIOyYYUMAeQcI+hXs5Lwp0cSoRakGQWgGP/jxz1Oi3Tr3aM6yeMhEQTe0QI9A9IBrnrUo8/zNKwPUe+1zbXIzDTdYPNSxDzw75PIcgwvoPGNQbJxcNTeyU00GgPKi1Wfs43lPzeP2usRtGib6vNtWOSygGAkswF8uiajytsoh4XThY8YykrI+TtnzIooP9G1SEF2bNi5G5VKrS6aLZF5QsY6TmFopik6zroGtIa+fCcQyZQnwwfTavKdc4SV+x7jWuacLDhiiHJqf7K/gBmy8Uy+xeHmSsa011NKojJEktnKqH8NywTe5tabRvZ55Eus2jaC2xrN5u1aPEw4j6rWJpE5zr41jJUTsEDDHiHsmEXxia+bbl4k+vSm6uTmfrXnp4GTN4tvhwHxN6QhgM2/AeAiPgcSWGib/Pyw1Kf/8k3hXLVKkvo2n7HFv5DVP8sbore1DBJU0oY49xm/Eiym0M8DkHkcLFNFfQqHgJLzN1HPJvD4F/a/jE62nDdl3fCVdoHmV57CJ3yGnLb6dqtm8GZdzhAyxJZR/cFuB6kFMc70D1TutcDKAxsRNgWow6D6DtQ43IITXW+BD6uVdq/f4nGS4ed6GPWBaoYT8An8N+oo47a6lmMmmEMPcK2B0p4eaXT+FfNjdRbKKUHwi8sMRD9Z9jE1S/bn3QXbAGxjIk2qVqd53QkVTYevDIPNXIeo2eXT0yKyH5kQbWdDWAnVTSXYMr6cUvJJUxq8Z9d7m2VdB7ekQo4lkxqpsV2ikuc1Hq/v4iQd8Knb+p116unUz0xg8DV1C4GCyTjIQTwo2GwPQDAy0eZ0pkkvklo=
Hi again,
I am working with a Hyperbolic Delaunay triangulation, more specifically with
a
CGAL::Hyperbolic_Delaunay_triangulation_2<CGAL::Hyperbolic_Delaunay_triangulation_traits_2<>>
dt
Now I'm experiencing the following behavior: I have a program (and a
set of input) that finishes "immediately" but if I add some code, it
takes on the order of minutes and more *even in the old part of the
code*. So clearly there is some side effect, and I'm pretty certain
that I'm not producing it (the only thing I'm passing around is
const). For all I can tell the output (of the old part of the code) is
exactly the same as before so the side effect is restricted to
runtime.
So I'm wondering: is it possible that previous calculations performed
with dt affect future calculations? I'm imagining something like if
some calculation needed a certain precision (or number field), the
consecutive calculations are performed with the same precision even
though they might not need it. If this is the case, is there a way to
"reset" the precision?
Best,
Stefan
P.S.: In case someone has read the previous posts and is wondering: at
the moment I can't get the circular kernel to work because I don't
know how to turn a Hyperbolic_Voronoi_point_2 into a
Hyperbolic_point_2.
- [cgal-discuss] Side effects, Stefan Witzel, 06/25/2019
Archive powered by MHonArc 2.6.18.