I am new in alloy and I have a task relating to Alloy.
I have to model a protocol in alloy and that protocol is a web protocol.
I have a sender,receiver and an intermediate entity.
I wrote signatures on these entities but I don't know how to run this model.
I tried to understand the example of an address book of a email client but when I execute the example it produces a lot of instances of one simple book that maps a name to exactly one address.
I thought that 3 signatures are in the model that is Book,Name and Addr. and if we run this model for run for 3 but Book 1 then how many instances the example will produce? 9? 18? or more?
Please guide me how to make alloy work!
I want to model a web protocol in ALLOY and basic entities for communication are three. Three entites send messages and receive messages and each message is sticked to specific time like message o to time0,message 1 to time1.
I am facing a lot of difficulties in protocol modeling through Alloy,specially message sequences making and working with other sequences of messages.
How to solve it?