Hi Arsalaan
> I am trying to model an attack defense tree in PRISM games. I wish for
> PRISM to generate a pareto graph which will display the defense costs
> and the attack costs. However, I cannot find a property to do so. The
> "multi" property apparently does not work for stochastic mulitplayer
> games (smg).
Yes, the format is a bit different for games. You have to add bounds.
Try a property like:
<<1>> (R{"defender_costs"}<=1 [ C ] & R{"attacker_costs"}<=1 [ C ])
and then click "Compute Pareto set" in the GUI menu, or add switch
-pareto from the command-line.
> Also , how can I make it that one player tries to maximize the cost of
> the other? I want the defender to try to maximize attacker cost but how
> can I model that in PRISM? Some suggestions would be appreciated.
You can change whether a cost is minimised or maximised by chnaging the
direction of the bound (<=1) in the property above.
> Also, in the manual it says that actions without a name are executed
> automatically, but when I simulate my model, I still have to click them
> to continue. I want the actions called "[]"(empty guards) to be executed
> automatically. So if the condition is true just execute them. But that
> does not seem to be the case.
I'm not sure what you mean by this. But, in the PRISM language, if two
command have their guards enabled, either can happen - one does not have
precedence over the other.
Best wishes,
Dave