source: examples/python_tests/fruits_rt2/fruit.save @ 09496b3

mei_rt2mei_rt2_fix_1
Last change on this file since 09496b3 was bf68132, checked in by Mei <mei@…>, 12 years ago

1) get example directory to work with yap with use_malloc option
2) swap in new performance graphs

  • Property mode set to 100644
File size: 946 bytes
Line 
1
2...final principal set...
3(pBob,keyid,y)
4(pMary,keyid,y)
5(pRalphs,keyid,y)
6
7...final policy attribute set...
8pRalphs.fruitprice(1.50) <- 'apple'
9pRalphs.fruitprice(2.50) <- 'black berry'
10pRalphs.fruitprice(1.50) <- 'kiwi'
11pRalphs.fruitprice(0.50) <- 'navel orange'
12pBob.what2eat <- pRalphs.fruitprice(P:[1.000000..5.000000])
13pMary.what2eat <- pRalphs.fruitprice(P:[..2.000000])
14
15===good============ mary.what2eat <- navel orange
16YAP query succeed
17pMary.what2eat <- pRalphs.fruitprice(P:[..2.000000])
18pRalphs.fruitprice(0.50) <- 'navel orange'
19
20===good============ mary.what2eat <- kiwi
21YAP query succeed
22pMary.what2eat <- pRalphs.fruitprice(P:[..2.000000])
23pRalphs.fruitprice(1.50) <- 'kiwi'
24
25===bad============ bob.what2eat <- navel orange
26YAP query failed
27
28===good============ ralphs.fruitprice(1.50) <- apple
29YAP query succeed
30pRalphs.fruitprice(1.50) <- 'apple'
31
32===bad============ ralphs.fruitprice(1.50) <- green apple
33YAP query failed
Note: See TracBrowser for help on using the repository browser.