This issue tracker is closed. Please visit UPPAAL issue tracker at Github instead.

Bug 677

Summary: Array not unfolded in strategy when using statevars and pointvars
Product: UPPAAL Stratego Reporter: Martin Kristjansen <mk>
Component: EngineAssignee: Peter Gjøl Jensen <pgj>
Status: NEW ---    
Severity: major    
Priority: P5    
Version: unspecified   
Hardware: PC   
OS: Linux   
Architecture:
Attachments: Model using pointvars and statevars

Description Martin Kristjansen 2020-04-27 11:49:03 CEST
Created attachment 343 [details]
Model using pointvars and statevars

This by using the Strategy-8-beta3 branch.
I make use of pointvars and statevars in the strategy synthesis.


I have an array called T_learn. This is a double array with 11 elements.
The idea is that I can write {statevars}->{T_learn} as part of the strategy synthesis query, such that the array T_learn is unfolded behind the scenes. Otherwise, I should write {T_learn[0],...,T_learn[10]}.

However, the resulting strategy only has 1 pointvar instead of 11 pointvars. Whether or not it affects the strategy learned I cannot tell. But if I unfold the array myself in the query, I get a strategy with different behaviour.

Model is attached with both queries.
Comment 1 Marius Mikučionis 2020-04-28 11:53:37 CEST
Hi Peter,
Can I assign this report to you?