<commit_before>package jade.proto;


/**************************************************************

  Name: Protocol

  Responsibility and Collaborations:

  + Gathers all communicative actions needed to carry out an
    interaction in a single composite object.
    (CommunicativeAction)

  + Maintains the structure of an agent protocol, allowing navigation
    of that structure by multiple simultaneous agent interactions.
    (Interaction)

****************************************************************/
public class Protocol {
}<commit_msg>Added two constants to express the different roles of an agent in a protocol.<commit_after>package jade.proto;


/**************************************************************

  Name: Protocol

  Responsibility and Collaborations:

  + Gathers all communicative actions needed to carry out an
    interaction in a single composite object.
    (CommunicativeAction)

  + Maintains the structure of an agent protocol, allowing navigation
    of that structure by multiple simultaneous agent interactions.
    (Interaction)

****************************************************************/
public class Protocol {

  // These two contants are used to distinguish between different
  // protocol roles. In particular, the initiator of an interaction is
  // kept distinct from the responders; in FIPA 97 graphical notation
  // for protocols, communicative actions originated by the initiator
  // are represented as white boxes, whereas the ones originated by
  // other agents are drawn in grey.
  public static final int initiatorRole = 1;
  public static final int responderRole = 2;

  private CommunicativeAction startingPoint;

}
{'fraction_non_alphanumeric': 0.1874258600237248, 'fraction_numerical': 0.002372479240806643, 'mean_word_length': 4.699324324324325, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2734537', 'n_tokens_mistral': 384, 'n_tokens_neox': 350, 'n_words': 169}