uppaal

UPPAAL error - java.io.IOException: Server Connection Lost

半腔热情 提交于 2019-12-23 16:47:51
问题 I am learning about Formal Verification and I am supposed to use UPPAAL to which I am new. However, every time I start UPPAAL, I am greeted with the following error: java.io.IOException: Server Connection Lost Is there any way to fix this error? I am using Ubuntu 12.04 as my OS on a 64 bit machine. I looked at the following posts, but since I am new to UPPAAL, I am unable to figure out the solution: http://bugsy.grid.aau.dk/bugzilla/show_bug.cgi?id=319 http://www.uppaal.com/index.php?sida=201

Random number in Uppaal

☆樱花仙子☆ 提交于 2019-12-21 16:44:15
问题 How can I create a random number when I define a global declaration in an Uppaal program? I want to have a variable that contains a random number as in a C program: int x = rand (100); 回答1: According to folks at Uppaal mailing list , this code snippet select: i : int[0,3] will non-deterministically bind i to an integer in the range 0 to 3. So, in Your case just use select: x : int[0, 100] . 回答2: I think the proper answer is: it is not possible when defining the global declaration. The syntax

Check whether OS is supported error in Uppaal 4.1.23 on Mac OS Catalina 10.15

房东的猫 提交于 2019-12-13 18:19:44
问题 I installed Uppaal 4.1.23 on Mac OS 10.15 but I get an error. What do I do? 回答1: MacOS 10.15 Catalina seems to enforce binary notarization, i.e. the binaries must be signed by a certified developer in order to be able to run. Uppaal binaries are not signed, thus Catalina issues an error: Clicking "Cancel" will abort the execution and Uppaal will display a popup "Server exited with error 137". Clicking "Move to Bin" will delete the server binary and thus destroy the distribution. Any

How to cast a double value to a integer value in UPPAAL?

本小妞迷上赌 提交于 2019-12-11 06:45:42
问题 How it is possible to cast a double value to a integer value in uppaal? double rand; rand = random(2); int i; i = (int) rand; According to the API documentation (http://www.it.uu.se/research/group/darts/uppaal/help.php?file=System_Descriptions/Expressions.shtml) following function is available, but it is not working: int fint(double x) 回答1: The fint function is implemented in 4.1.20, please download it. 来源: https://stackoverflow.com/questions/54460545/how-to-cast-a-double-value-to-a-integer