Changes between Version 182 and Version 183 of WikiStart


Ignore:
Timestamp:
05/14/19 11:45:02 (6 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v182 v183  
    9797
    9898The basic classes defining a protocol are:
    99 * The {{{NegoSettings}}}: these define the settings for the protocol, such as the deadline, the participants and the profile
    100 * The NegoState: this contains the current state of execution of the protocol. To give some example states: "waiting for bid from party 2", "ended with agreement", "ended because party 1 broke the protocol". A state also has various {{{with()}}} functions defining the new state from an old state and a party doing an action.
    101 * The [source:protocol/source/main/java/genius2/protocol/NegoProtocol.java NegoProtocol]: this defines what happens when a negotiation starts, when a participant enters halfway the session, what are the allowed actions, what happens if a participant breaks the protocol, etc.   
     99* The [source:/protocol/src/main/java/genius2/protocol/NegoSettings.java NegoSettings]: these define the settings for the protocol, such as the deadline, the participants and the profile
     100* The [source:/protocol/src/main/java/genius2/protocol/NegoState.java NegoState]: this contains the current state of execution of the protocol. To give some example states: "waiting for bid from party 2", "ended with agreement", "ended because party 1 broke the protocol". A state also has various {{{with()}}} functions defining the new state from an old state and a party doing an action.
     101* The [source:/protocol/src/main/java/genius2/protocol/NegoProtocol.java NegoProtocol]: this defines what happens when a negotiation starts, when a participant enters halfway the session, what are the allowed actions, what happens if a participant breaks the protocol, etc.   
    102102
    103103