jariba / europa-pso

Automatically exported from code.google.com/p/europa-pso
1 stars 0 forks source link

Planning horizon is static and mutable #101

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The planning horizon is stored as a static IntervalIntDomain in HorizonFilter, 
the accesssor for which returns it as a mutable reference.  This means that 
successive Solvers configured with different horizons will stomp on prior 
Solvers' horizons.  

Original issue reported on code.google.com by miata...@gmail.com on 26 Feb 2011 at 5:40

GoogleCodeExporter commented 8 years ago
The attached TestCC.cpp prints the following

Horizon 1 before set [-4503599627370495, 4503599627370495]
Horizon 2 before set [-4503599627370495, 4503599627370495]
Horizon 1 after set [123, 456]
Horizon 2 after set [123, 456]
Engines the same 0
Solvers the same 0
All good

Original comment by kichkaylo@gmail.com on 26 Feb 2011 at 5:44

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by javier.barreiro@gmail.com on 20 Apr 2011 at 6:19

GoogleCodeExporter commented 8 years ago

Original comment by javier.barreiro@gmail.com on 17 Aug 2011 at 7:44

GoogleCodeExporter commented 8 years ago

Original comment by javier.barreiro@gmail.com on 30 May 2012 at 5:26

GoogleCodeExporter commented 8 years ago
Fixed in r6747

Original comment by miata...@gmail.com on 12 Sep 2014 at 8:02