Hostname: page-component-586b7cd67f-rdxmf Total loading time: 0 Render date: 2024-11-22T04:29:45.714Z Has data issue: false hasContentIssue false

An Interleaving Semantics of the Timed Concurrent Language for Argumentation to Model Debates and Dialogue Games

Published online by Cambridge University Press:  05 July 2023

STEFANO BISTARELLI
Affiliation:
University of Perugia, Perugia, Italy (e-mails: [email protected], [email protected])
CARLO TATICCHI
Affiliation:
University of Perugia, Perugia, Italy (e-mails: [email protected], [email protected])
MARIA CHIARA MEO
Affiliation:
University “G. d’Annunzio” of Chieti-Pescara, Chieti, Italy (e-mail: [email protected])
Rights & Permissions [Opens in a new window]

Abstract

Time is a crucial factor in modelling dynamic behaviours of intelligent agents: activities have a determined temporal duration in a real-world environment, and previous actions influence agents’ behaviour. In this paper, we propose a language for modelling concurrent interaction between agents that also allows the specification of temporal intervals in which particular actions occur. Such a language exploits a timed version of Abstract Argumentation Frameworks to realise a shared memory used by the agents to communicate and reason on the acceptability of their beliefs with respect to a given time interval. An interleaving model on a single processor is used for basic computation steps, with maximum parallelism for time elapsing. Following this approach, only one of the enabled agents is executed at each moment. To demonstrate the capabilities of the language, we also show how it can be used to model interactions such as debates and dialogue games taking place between intelligent agents. Lastly, we present an implementation of the language that can be accessed via a web interface.

Type
Original Article
Copyright
© The Author(s), 2023. Published by Cambridge University Press

1 Introduction

Agents in distributed environments can perform operations that affect the behaviour of other components. Many formalisms have been proposed for modelling concurrent systems to describe the interactions that may take place between intelligent agents. For example, Concurrent Constraint Programming (CC) – Saraswat and Rinard (Reference Saraswat and Rinard1990) – relies on a constraint store of shared variables in which agents can read and write in accordance with some properties posed on the variables. The basic operations that agents can execute in the CC framework are a blocking Ask and an atomic Tell. These operations realise the interaction with the store and also allow one to deal with partial information.

When dealing with concurrent interactions, the notion of time plays a fundamental role: in many “real-life” applications, the activities have a temporal duration that can even be interrupted, and the coordination of such activities has to consider this timeliness property. The interacting actors are mutually influenced by their actions, meaning that A reacts accordingly to the timing and quantitative aspects related to B’s behaviour, and vice versa. Moreover, the information brought forward by debating agents that interact in a dynamic environment can be affected by time constraints limiting, for instance, the influence of some arguments in the system to a certain time lapse. Therefore, a mechanism for handling time is required to better model the behaviour of intelligent agents involved in argumentation processes.

Moreover, to simulate human behaviour, intelligent agents operating within distributed systems should communicate with each other through forms of interaction, like debate, that mirror those used by human beings. Debate constitutes, for example, the basis of multi-agent applications for decision making – Azhar and Sklar (Reference Azhar and Sklar2016), planning – Pardo and Godo (Reference Pardo and Godo2018), opinion polling – Rago and Toni (Reference Rago and Toni2017), and negotiation – Amgoud et al. (Reference Amgoud, Parsons and Maudet2000). We will use the terms dialogue and debate interchangeably, as both can be modelled in the same way and differ only in purpose: the former is typically intended in a collaborative sense, while the latter is usually oppositional. Walton and Krabbe (Reference Walton and Krabbe1995) categorise dialogues into six different forms depending on the information the participants have, their individual goals, and the goals they share: in an information-seeking dialogue, one participant seeks the answer to a question by consulting another participant who presumably knows the answer; in an inquiry dialogue, on the other hand, participants work together to find the answer, which nobody knows, to a question; in a persuasion dialogue, one participant tries to convince the other to accept a proposition; the participants in a negotiation dialogue aim to reach an agreement on the division of a given good or resource; in a deliberation dialogue, participants work together to make a decision about an action to take; finally, in an eristic dialogue, participants aim to emerge victorious by countering the arguments presented by others rather than coming to a truth or conclusion acceptable to all.

A dialogue between two or more parties often unfolds as an ordered series of actions in which the various participants take turns to exchange arguments. With these premises, allowing an agent to have too many choices about which actions to take can be counterproductive and blow up the state space. It may therefore be convenient to resort to the so-called dialogue games – – McBurney and Parsons (Reference McBurney and Parsons2009), that is, rule-guided interaction that provides sufficient expressiveness while avoiding state space explosion. Dialogue games, known since ancient times – Aristotle (1928), find application in different areas, ranging from philosophy to computational linguistics and computer science – McBurney and Parsons (Reference McBurney and Parsons2009). In particular, within the field of Artificial Intelligence, they provide valuable support to model, analyse and automatise human-like reasoning. For example, McBurney et al. (Reference McBurney, van Eijk, Parsons and Amgoud2003) use dialogue games to model interacting agents that autonomously perform negotiation tasks, while in the work of Prakken and Sartor (Reference Prakken and Sartor1998), dialogue games are used to represent and analyse legal reasoning. Therefore, the ability to model debates and dialogue games is a relevant feature of languages aimed at representing the interaction between intelligent agents.

In Bistarelli et al. (Reference Bistarelli, Meo and Taticchi2021), we introduced tcla, a timed extension of the Concurrent Language for Argumentation – Bistarelli and Taticchi (Reference Bistarelli and Taticchi2020), Bistarelli and Taticchi (Reference Bistarelli and Taticchi2021), Bistarelli and Taticchi (Reference Bistarelli and Taticchi2023) – which models dynamic interactions between agents using basic actions like add, rmv, check and test, and exploits notions from Argumentation Theory to reason about shared knowledge. The time extension is based on the hypothesis of bounded asynchrony: the computation takes a bounded period of time and is measured by a discrete global clock. Parallel operations are expressed in terms of maximum parallelism. According to the maximum parallelism policy (applied, for example, in Saraswat et al. (1994; Reference Saraswat, Jagadeesan and Gupta1996)), at each moment every enabled agent of the system is activated. However, this setting implies the existence of an unbounded number of processors ready to handle the execution of a programme. In Bistarelli et al. (Reference Bistarelli, Meo and Taticchi2022), then, we revised tcla semantics by considering a paradigm where the parallel operator is interpreted in terms of interleaving. The interleaving approach limits the number of enabled agents executed at a time, mimicking the limited number of available processors as in the real world. We still assume maximum parallelism for actions depending on time. In other words, time passes for all the parallel processes involved in a computation. This is accomplished by allowing all the time-only dependent actions, that we identify through $\tau$ -transitions, to concurrently run with at most one action manipulating the store, that is, a $\omega$ -transition. This approach, analogous to that adopted by de Boer et al. (Reference de Boer, Gabbrielli and Meo2004), differs from that considered by Busi et al. (Reference Busi, Gorrieri and Zavattaro2000) where time does not elapse for timeout constructs. It is also different from works like Bistarelli et al. (Reference Bistarelli, Gabbrielli, Meo and Santini2008), de Boer et al. (Reference de Boer, Gabbrielli and Meo2000) that assume maximum parallelism for all types of action.

This paper extends previous work on the interleaving version of tcla – Bistarelli et al. (Reference Bistarelli, Meo and Taticchi2022) – by providing further details on the functionality and implementation of the language. In detail, the additional contents consist of the following points:

  • a clarification of the differences between debates and dialogue games;

  • a formalisation of debates and a translation function which produces a tcla programme starting from a debate;

  • a formal methodology for modelling dialogue games as tcla programmes;

  • a detailed description of the tcla implementation with interleaving, also including a comparison with the maximum parallelism-based version;

  • examples illustrating the concepts introduced alongside the discussions regarding debates, dialogue games and the implementation.

The rest of the paper is organised as follows: in Section 2, we summarise the background notions that will be used to present our proposal; Section 3 presents the interleaving version of tcla, providing both the syntax and the operational semantics; in Section 4, we exemplify the use of timed paradigms in the proposed language by modelling a deliberation dialogue and a persuasion dialogue game as tcla processes; in Section 5, we describe a working implementation of tcla, and we compare the interleaving version with the maximum parallelism one; Section 6 features related works relevant to our study; Section 7, finally, concludes the paper by also indicating possible future research lines.

2 Background

Argumentation Theory aims to understand and model the natural human fashion of reasoning, allowing one to deal with uncertainty in non-monotonic (defeasible) reasoning. The building blocks of abstract argumentation are defined by Dung (Reference Dung1995).

Definition 1 (AFs)

Let U be the set of all possible arguments, Footnote 1 which we refer to as the “universe.” An Abstract Argumentation Framework is a pair $\langle Arg,R \rangle$ where $Arg \subseteq U$ is a set of adopted arguments and R is a binary relation on Arg representing attacks among adopted arguments.

AFs can be represented through directed graphs that we depict using standard conventions. For two arguments $a, b \in Arg$ , the notation $(a, b) \in R$ (or, equivalently, $a \rightarrow b$ ) represents an attack directed from a against b.

Definition 2 (Acceptable Argument)

Given an AF $F = \langle A,R \rangle$ , an argument $a \in A$ is acceptable with respect to $D \subseteq A$ if and only if $\forall b \in A$ such that $(b,a) \in R$ , $\exists c \in D$ such that $(c,b) \in R$ , and we say that a is defended from D.

We identify the sets of attacking arguments as follows.

Definition 3 (Attacks)

Let F = $\langle A,R \rangle$ be an AF, $a\in A$ and $S \subseteq A$ . We define the sets $a^+ = \{b\in A \mid (a,b)\in R\}$ and $S^+ = \bigcup_{a \in S} a^+ $ . Moreover, we define $R_{|a}=\{(a,b)\in R\} $ .

The notion of defence can be used for identifying subsets of “good” arguments. The goal is to establish which are the acceptable arguments according to a certain semantics, namely a selection criterion. Non-accepted arguments are rejected. Different kinds of semantics that reflect desirable qualities for sets of arguments have been studied in works like Baroni et al. (Reference Baroni, Caminada and Giacomin2011), Dung (Reference Dung1995). We first give the definition for extension-based semantics, namely admissible, complete, stable, semi-stable, preferred, and grounded semantics, denoted with adm, com, stb, sst, prf and gde, respectively, and generically with $\sigma$ .

Definition 4 (Extension-based semantics)

Let $F = \langle Arg,R \rangle$ be an AF. A set $E \subseteq Arg$ is conflict-free in F, denoted $E \in S_{cf}(F)$ , if and only if there are no $a,b \in E$ such that $(a,b) \in R$ . For $E \in S_{cf}(F)$ , we have that:

  • $E \in S_{adm}(F)$ if each $a \in E$ is defended by E;

  • $E \in S_{com}(F)$ if $E \in S_{adm}(F)$ and $\forall a \in Arg$ defended by E, $a \in E$ ;

  • $E \in S_{stb}(F)$ if $\forall a \in Arg\setminus E $ , $\exists b \in E$ such that $(b,a) \in R$ ;

  • $E \in S_{sst}(F)$ if $E \in S_{com}(F)$ and $E \cup E^+$ is maximal; Footnote 2

  • $E \in S_{prf}(F)$ if $E \in S_{adm}(F)$ and E is maximal;

  • $E \in S_{gde}(F)$ if $E \in S_{com}(F)$ and E is minimal.

Moreover, if E satisfies one of the above properties for a certain semantics, we say that E is an extension of that semantics. In particular, if $E \in S_{adm/com/stb/sst/prf/gde}(F)$ , we say that E is an admissible/complete/stable/semi-stable/preferred/grounded extension.

Besides enumerating the extensions for a certain semantics $\sigma$ , one of the most common tasks performed on AFs is to decide whether an argument a is accepted in all extensions of $S_\sigma(F)$ or just in some of them. In the former case, we say that a is sceptically accepted with respect to $\sigma$ ; in the latter, a is instead credulously accepted with respect to $\sigma$ .

Example 1 In Figure 1 we provide an example of AF where sets of extensions are given for all the mentioned semantics: $ S_{cf}(F)$ $=$ $\{\{\}$ , $\{a\}$ , $\{b\}$ , $\{c\}$ , $\{d\}$ , $\{a,c\}$ , $\{a,d\}$ , $\{b,d\}\}$ , $S_{adm}(F)$ $=$ $\{\{\}$ , $\{a\}$ , $\{c\}$ , $\{d\}$ , $\{a,c\}$ , $\{a,d\}\}$ , $S_{com}(F)$ $=$ $\{\{a\}$ , $\{a,c\}$ , $\{a,d\}\}$ , $S_{prf}(F)$ $=$ $\{\{a,c\}$ , $\{a,d\}\}$ , $S_{stb}(F)$ $=$ $\{\{a,d\}\}$ , and $S_{gde}(F)$ $=$ $\{\{a\}\}$ .

Fig. 1: Example of abstract argumentation framework.

The singleton $\{e\}$ is not conflict-free because e attacks itself. The argument b is not contained in any admissible extension because it is never defended from the attack of a. The empty set $\{\}$ , and the singletons $\{c\}$ and $\{d\}$ are not complete extensions because a, which is not attacked by any other argument, has to be contained in all complete extensions. The maximal admissible extensions $\{a,c\}$ and $\{a,d\}$ are preferred, while the minimal complete $\{a\}$ is the (unique) grounded extension. The arguments in $\{a,d\}$ conduct attacks against all the other arguments, namely b, c and e, thus forming a stable extension. To conclude the example, we have that a is sceptically accepted with respect to the complete semantics since it appears in all three subsets of $S_{com}(F)$ . On the other hand, arguments c and d, each of which is in one complete extension only, are credulously accepted with respect to the complete semantics.

The phenomenon for which an argument is accepted in some extension because it is defended by another argument belonging to that extension is known as reinstatement – Caminada (Reference Caminada2006a). Caminada also gives a definition for reinstatement labelling.

Definition 5 (Reinstatement labelling)

Let $\mathit{F}= \langle Arg, R \rangle$ and . A labelling of $\mathit{F}$ is a total function $L : Arg \rightarrow {L}$ . We define , and . We say that L is a reinstatement labelling if and only if it satisfies the following:

  • $\forall a,b \in Arg$ , if $a \in in(L)$ and $(b,a) \in R$ then $b \in out(L)$ ;

  • $\forall a \in Arg$ , if $a \in out(L)$ then $\exists b \in Arg$ such that $b \in in(L)$ and $(b,a) \in R$ .

In other words, an argument is labelled in if all its attackers are labelled out, and it is labelled out if at least one in node attacks it. In all other cases, the argument is labelled undec. In Figure 2, we show an example of reinstatement labelling on an AF in which arguments a and c highlighted in green are in, red ones (b and d) are out, and the yellow argument e, that attacks itself, is undec.

Fig. 2: Example of reinstatement labelling.

One of the strengths of labelling functions is the possibility of identifying arguments acceptable according to extension-based semantics. Given a labelling L, the set of in arguments coincides with a complete extension, while other semantics can be obtained through restrictions on the labelling as shown in Baroni et al. (Reference Baroni, Caminada and Giacomin2011).

3 Syntax and semantics

The syntax of our timed concurrent language for argumentation, tcla, is presented in Table 1. In detail, P denotes a generic process, C a sequence of procedure declarations (or clauses), A a generic agent and E a generic guarded agent, that is, an agent preceded by a condition that must be satisfied in order to continue the execution. Moreover $t \in {N} \cup \{+\infty\}$ .

Table 1. tcla syntax

The communication between tcla agents is implemented via shared memory, similarly to cla – Bistarelli and Taticchi (2020; Reference Bistarelli and Taticchi2021) – and CC – Saraswat and Rinard (Reference Saraswat and Rinard1990) –and opposed to other languages as CSP – Hoare (Reference Hoare1978) – and CCS – Milner (Reference Milner1980) – which are based on message passing. We denote by ${\cal E}$ the class of guarded agents and by ${\cal E}_0$ the class of guarded agents such that all outermost guards have $t=0$ . Note that a Boolean syntactic category could be introduced in replacement of ${\cal E}_0$ to handle guards and allow for finer distinctions. In a tcla process $P=let~C~in~A$ , A is the initial agent to be executed in the context of the set of declarations C. Then, a clause defined with C,C corresponds to the concatenation of more procedure declarations. We will usually write a tcla process $P=let~C~in~A$ as the corresponding agent A, omitting C when not required by the context.

The operational model of tcla processes can be formally described by a labelled transition system $T= ({\it Conf}, Label, \rightarrow)$ , where we assume that each transition step takes exactly one time-unit. Configurations in Conf are pairs consisting of a process and an AF $F = \langle Arg,R \rangle$ representing the common knowledge base. $\mathcal{L} = \{\tau,\omega\}$ is the set of labels that we use to distinguish “real” computational steps performed by processes which have the control (label $\omega$ ) from the transitions which model only the passing of time (label $\tau$ ). Hence, $\omega$ -actions are those performed by processes that modify the store (add, rmv), check the store ( $check_t$ , $\text{c-}test_{t}$ , $\text{s-}test_{t}$ ), call a procedure, and correspond to exceeding a timeout ( $check_0$ , $\text{c-}test_{0}$ , $\text{s-}test_{0}$ ). On the other hand, $\tau$ -actions are those performed by timeout processes ( $check_t$ , $\text{c-}test_{t}$ , $\text{s-}test_{t}$ ) in case they do not have control of the processor. The transition relation $\stackrel{\omega}\longrightarrow\subseteq {\it Conf} \times {\it Conf}$ is the least relation satisfying the rules in Tables 2 and 3, and it characterises the (temporal) evolution of the system. So, $\langle A, F \rangle\stackrel{\omega}\longrightarrow\langle A{\prime}, F{\prime} \rangle$ means that, if at time t we have the process A and the AF F, then at time $t+1$ we have the process Aʹ and the AF Fʹ.

Table 2. tcla operational semantics (part I)

Table 3. tcla operational semantics (part II)

In Tables 2 and 3, we give the definitions for the transition rules. The agents success and failure represent a successful and a failed termination, respectively, so they may not make any further transition. Action prefixing is denoted by $\rightarrow$ , non-determinism is introduced via the guarded choice construct $E+E$ , if-then-else statements can be realised through $+_P$ , parallel and guarded parallel compositions are denoted by $\parallel$ and $\parallel_G$ , and a notion of locality is introduced by the agent $\exists_x A$ , which behaves like A with argument x considered local to A, thus hiding the information on x provided by the external environment. Moreover, we have the $\text{c-}test_{t}(a,l,\sigma) \rightarrow A$ , $ \text{s-}test_{t}(a,l,\sigma) \rightarrow A$ and $check_t(Arg,R) \rightarrow A$ constructs, which are explicit timing primitives introduced in order to allow for the specification of timeouts. In Tables 2 and 3 we have omitted the symmetric rules for the choice operator $+$ and for the two parallel composition operators $\|$ and $\|_G$ . Indeed, $+$ is commutative, so $E_1 + E_2$ produces the same result as (that is, is congruent to) $E_2 + E_1$ . The same is true for $\|$ and $\|_G$ . Note that $+$ , $\|$ and $\|_G$ are also associative. Moreover, success and failure are the identity and the absorbing elements under the parallel composition $\|$ , respectively; that is, for each agent A, we have that $ A \| success$ and $ A \| failure$ are the agents A and failure, respectively.

In the following we give an operational semantics of tcla, where the parallel operator is modelled in terms of interleaving. While in the maximum parallelism paradigm, at each moment, every enabled agent of the system is activated, in the interleaving paradigm, agents may have to wait for the processor to be “free.” Clearly, since we have dynamic process creation, a maximum parallelism approach has the disadvantage that, in general, it implies the existence of an unbound number of processes. On the other hand a naive interleaving semantic could be problematic from the time viewpoint, as in principle the time does not pass for enabled agent which are not scheduled.

For the operational semantics of tcla we follow a solution analogous to that adopted in Bistarelli et al. (Reference Bistarelli, Gabbrielli, Meo and Santini2008): we assume that the parallel operator is interpreted in terms of interleaving, as usual, however we must assume maximum parallelism for actions depending on time. In other words, time passes for all the parallel processes involved in a computation. Practically, we use $\tau$ -actions to make the time pass for agents who do not require the processor.

Suppose we have an agent A whose knowledge base is represented by an AF $F = \langle Arg,R \rangle$ . An add(Argʹ,Rʹ) action performed by the agent results in the addition of a set of arguments $Arg' \subseteq U$ , where U is the universe, and a set of relations R’ to the AF F. When performing an Add, (possibly) new arguments are taken from $U \setminus Arg$ . We want to make clear that the tuple (Argʹ,Rʹ) is not an AF, indeed it is possible to have $Arg' = \emptyset$ and $R' \neq \emptyset$ , which allows to perform an addition of only attacks to the considered AF. It is as well possible to add only arguments to F, or both arguments and attacks. Intuitively, rmv(Arg,R) allows to specify arguments and/or attacks to remove from the knowledge base. Removing an argument from an AF requires to also remove the attacks involving that argument and trying to remove an argument or an attack which does not exist in F will have no consequences.

The operator $check_t(Arg',R')$ realises a timed construct used to verify whether the specified arguments and attacks are contained in the knowledge base, at the time of execution or some subsequent instant before the timeout, without introducing any further change. If $t>0$ and the check is positive, the operation succeeds and the agent $check_t(Arg',R') \rightarrow A$ can perform a $\omega$ -action in the agent A (Rule Chk (1)). If $t>0$ and the check is not satisfied, then the control is repeated at the next time instant and the value of the counter t is decreased; note that in this case we use the label $\omega$ , since a check on the store has been performed (Rule Chk (2)). As shown by axiom Chk (3), the counter can be decreased also by performing a $\tau$ -action: intuitively, this rule is used to model the situation in which, even though the evaluation of the timeout started already, another parallel process has the control. In this case, analogously to the approach in de Boer et al. (Reference de Boer, Gabbrielli and Meo2004) and differently from the approach in Busi et al. (Reference Busi, Gorrieri and Zavattaro2000), time continues to elapse, via $\tau$ -actions, also for the timeout process. Axiom Chk (4) shows that, if the timeout is exceeded, that is, the counter t has reached the value of 0, then the process $check_t(Arg',R') \rightarrow A$ fails.

The rules CrT (1)-(4) and ScT (1)-(4) in Table 2 perform a credulous and a sceptical test, respectively, and are similar to rules Chk (1)-(4) described before. Observe that we have two distinct test operations, both requiring the specification of an argument $a \in A$ , a label and a semantics $\sigma \in \{adm, com, stb, prf, gde\}$ . The credulous $\text{c-}test_t(a,l,\sigma)$ , with $t>0$ , succeeds if there exists at least one extension of $S_\sigma(F)$ whose corresponding labelling L is such that $L(a) = l$ . Similarly, the sceptical $\text{s-}test_t(a,l,\sigma)$ , with $t>0$ , succeeds if a is labelled l in all possible labellings $L \in S_\sigma(F)$ .

The operator $+_P$ (rules ITE (1)-(3)) is left-associative and realises an if-then-else construct: if we have $E_1 +_P E_2$ and $E_1$ is successful, than $E_1$ will be always chosen over $E_2$ , even if $E_2$ is also successful, so in order for $E_2$ to be selected, it has to be the only one that succeeds. The guarded parallelism $\|_G$ (rules GPa (1)-(3)) is designed to allow all the operations for which the guard in the inner expression is satisfied. In detail, $E_1 \|_G E_2$ is successful when either $E_1$ , $E_2$ or both are successful and all the operations that can be executed are executed. This behaviour is different both from classical parallelism (for which all the agents have to succeed in order for the procedure to succeed) and from non-determinism (that only selects one branch).

The remaining operators are classical concurrency compositions. Rules Par (1)-(2) in Table 3 model the parallel composition operator in terms of interleaving, since only one basic $\omega$ -action is allowed for each transition (i.e. for each unit of time). This means that the access to the shared AF F is granted to one process at a time. However, time passes for all the processes appearing in the $\|$ context at the external level, as shown by rule Par (1), since $\tau$ -actions are allowed together with a $\omega$ -action. On the other hand, as shown by rule Par (2), a parallel component is allowed to proceed in isolation if and only if the other parallel component cannot perform a $\tau$ -action. To summarise, we adopt maximum parallelism for time elapsing (i.e. $\tau$ -actions) and an interleaving model for basic computation steps (i.e. $\omega$ -actions). By transition rules, an agent in a parallel composition obtained through $\|$ succeeds only if all the agents succeed. The parallel composition operator enables the specification of complex concurrent argumentation processes: for example, a debate involving many agents that asynchronously provide arguments can be modelled as a parallel composition of add operations performed on the knowledge base. Any agent composed through $+$ (rules NDt (1)-(3)) is chosen if its guards succeed; the existential quantifier $\exists_x A$ behaves like agent A where variables in x are local to A. Finally, in the procedure call (rule PrC), we consider the clause $p(x)::A$ present in the context C, in which p(x) is executed. The parameter x can be an argument, a label among in, out and undec, a semantics $\sigma$ , or an instant of time. The procedure call can be extended if necessary to allow more than one parameter. In rules HVa (Hidden Variables) and PrC, $A[x/y]$ denotes the agent obtained from A by replacing variable x for variable y.

Using the transition system described in the rules of Tables 2 and 3, we can now define our notion of observables, which considers the traces based only on $\omega$ -actions and whose components are AFs, of successful or failed terminating computations that an agent A can perform for each tcla process $P=let~C~in~A$ .

Definition 6 (Observables for tcla)

Let $P=let~C~in~A$ be a tcla process. We define

\begin{equation*}\begin{array}{lll} {\cal O}_{io}(P)&= \lambda F. & \{ F_1 \cdots F_n \cdot \mathit{ss} \mid F=F_1 and \langle A, F_1\rangle \stackrel{\omega}{\longrightarrow} ^*\langle success, F_n \rangle\} \ \cup \\ & & \{ F_1 \cdots F_n \cdot \mathit{ff} \mid F=F_1 and \langle A, F_1\rangle \stackrel{\omega}{\longrightarrow} ^*\langle failure, F_n \rangle\}. \\ \end{array} \end{equation*}

4 Modelling debates and dialogue games in tcla

This section provides two possible applications of tcla. In the first example, we model a persuasion dialogue between several debating counterparts, while the second example presents the formalisation of a dialogue game between two participants. We propose operational procedures to translate both types of argumentative interaction into tcla processes.

4.1 Modelling a debate

A possible use case for tcla can be identified in modelling information sharing for common resource management. This problem can be instantiated as done in other works like Emele et al. (Reference Emele, Norman and Parsons2011), Paget et al. (Reference Paget, Pigozzi and Barreteau2013), pagetinformation as a debate in a multi-agent environment where argumentation techniques are exploited for arriving at desirable outcomes. We start from the scenario proposed by Paget et al. (Reference Paget, Pigozzi and Barreteau2013), where three counterparts debate on the use of fertilisers for oyster production.

Example 2 We have three agents: Alice (a farmer), Bob (an oyster farmer) and Carol (a state representative). They are debating on the impact of the fertilisers on the oysters, as reported in the following:

  • Alice: using a lot of fertiliser helps to have a big yield (argument a);

  • Bob: using a lot of fertiliser pollutes the lake and harms the oyster (argument b);

  • Carol: using a lot of fertiliser increases the risk of control (argument c);

  • Carol: using more fertiliser than the norm implies a fine (argument d);

  • Alice: there is no risk of being controlled because of lack of means (argument e);

  • Carol: an important polluting event can lead to harden the norms (argument f);

  • Alice: lake pollution is not linked to pesticides (argument g).

A total of seven arguments are presented, upon which the AF of Figure 3 is built. The specifications of this debate make it fall into the category of deliberation dialogues – Walton and Krabbe (Reference Walton and Krabbe1995), where two or more participants, potentially with disagreeing positions, discuss in order to decide what course of action to take in a given situation.

Fig. 3: AF obtained starting from the arguments of Alice, Bob and Carol.

Following Prakken (Reference Prakken2005), a finite debate D between two or more participants (rational agents) with respect to an AF is a set of sequences of moves which respect a protocol and where several participants cannot speak at the same time. All protocols are assumed to satisfy the following basic conditions: the arguments a participant could reasonably believe are non-conflicting, that is, a participant cannot reply to one’s own arguments; the arguments are not repeated, and the arguments can only attack other arguments that have already been introduced. In order to formally model a finite debate, we introduce the definition of ordered sequence of arguments, where an argument can only attack arguments that precede it.

Definition 7 Let $F=\langle Arg, R\rangle$ be an AF and let $D=\{s_1, \ldots, s_k\}$ be a set of possibly empty sequences of arguments, such that for $i\in [1,k]$ , $s_i=a_1^i \cdots a_{n_i}^i$ . An ordered sequence associated to D is a sequence of non-repeated arguments $a_1 \cdots a_{n}$ such that

  • $\{a_1, \ldots, a_{n}\}=\bigcup_{i=1}^k (\cup_{j=1}^{n_i}\{a^i_j\})$ ,

  • for each $i \in [1,n]$ $a_i^+ \subseteq \{a_1, \ldots, a_{i-1}\}$ and if $i>1$ then $a_i^+ \neq \emptyset$ .

We denote by ord(D) the set of the ordered sequences of D. Now, we can formally define a debate, and in particular the three basic conditions associated with a protocol, as follows.

Definition 8 (Debate)

A debate D in a multi-agent system, with respect to an AF $F=\langle Arg, R\rangle$ , is a set of agents $D=\{Ag_1, \ldots, Ag_k\}$ where each agent $Ag_i$ is a sequence of arguments $s_i=a_1^i \cdots a_{n_i}^i$ , such that $\bigcup_{i=1}^k (\cup_{l=1}^{n_i}\{a^i_l\}) \subseteq Arg$ and the following holds

  • for each $i \in [1,k]$ , $l,r \in [1,n_i]$ $(a_l^i, a_r^i) \not\in R$ ;

  • for each $i,j \in [1,k]$ , $l \in [1,n_i]$ and $r \in [1,n_j]$ if $i\neq j$ or $l\neq r$ then $a_l^i \neq a_r^i$ ;

  • $ord(D) \neq \emptyset$ .

Definition 9 (Traces associated to a debate)

A trace of a debate D is a sequence of pairs of arguments and attacks $\langle a_1, R_{|a_1}\rangle\cdots \langle a_n, R_{|a_n}\rangle$ such that $a_1 \cdots a_{n} \in ord(D)$ . tr(D) denotes the set of traces of the debate D. Moreover, we denote by TrF(D) the set of sequences of abstract frameworks associated to traces in tr(D). Namely

Example 3 By using the previous definition, we can model the debate in Example 2 by using the following three agents:

  • Alice = $a\cdot e \cdot g$ ;

  • Bob = b;

  • Carol = $c\cdot d \cdot f$ .

Note that $a \cdot b \cdot c \cdots g \in ord( \{ \textbf{Alice}, \textbf{Bob}, \textbf{Carol}\}).$

Given the AF $F=\langle Arg, R \rangle$ and $a \in Arg$ , we define the procedure

\begin{equation*}\begin{array}{ll} wait(a) ::- & (check_{1}(a^{+},\{\}) \rightarrow add(a,R_{|a})) \ +_P \\ & check_{1}(\{\},\{\}) \rightarrow wait(a)\end{array}\end{equation*}

where we use add(Arg, R) as shortcut for $add(Arg, R)\rightarrow success$ . The procedure wait(a) executes the check operation until $a^+$ (the set of arguments attacked by a) is contained in the set of arguments of the knowledge base, and then the agent $add(a,R_{|a} ) \rightarrow success$ is executed. Practically, wait(a) lets the action add(a) wait for the presence of the arguments attacked by a in the common store.

In the following, $\varepsilon$ denotes an empty sequence and given a possibly empty sequence $s= a_1 \cdots a_n$ of elements we denote by rd(s) the sequence obtained from s by removing duplicates of a same element.

Definition 10 (Translation)

The translation of a debate $D=\{Ag_1, \ldots, Ag_k\}$ in a multi-agent environment with respect to the AF $F=\langle Arg, R \rangle$ , such that for each $i=1, \ldots, k$ , $Ag_i$ is the sequence of arguments $a_1^i \cdots a_{n_i}^i$ is defined as

\begin{equation*} {\cal T}(D)={\cal T}(Ag_1, \ldots,Ag_k)= {\cal T}(a^1_1 \cdots a^1_{n_1}) \|\cdots \|{\cal T}(a^k_1 \cdots a^k_{n_k}) \end{equation*}

where

\begin{equation*} {\cal T}(s) = \begin{cases} success &\ \text{if $s=\varepsilon$ }\\ wait(a_1) \, \| \, {\cal T}(a_2 \cdots a_n) &\ \text{if $s=a_1 \cdots a_n$} \end{cases} \end{equation*}

We can write a tcla programme emulating such an exchange of arguments, using three agents in parallel to model the behaviour of Alice, Bob and Carol, respectively. Each agent inserts the arguments at its disposal into the knowledge base through add operations. The first argument to appear in the debate is a, and since it does not attack any other argument, it can be directly added to the AF. The arguments that come after and attack a, namely b, c, d and f, are not brought forward before a itself has been added. Indeed, although tcla allows one to add arguments and attacks to the knowledge base at separate times, in a debate we want arguments that come after a, namely b, c, d and f, to be added together with their attacks toward a. Also the order in which the arguments are added must be respectful of the timing with which the debate between the three contenders takes place. To ensure that those arguments will always be added after a, agents acting in place of Bob and Carol have to perform, beforehand, a check operation to verify whether a belongs to the shared memory. Only once the check succeeds the agents can go on with the execution. Analogously, Alice will check the arguments c and d before adding e, which attacks them, and the argument b before adding g. By using the previous definition, we can model the debate in Example 3 by the process $\textbf{Alice} \,\| \, \textbf{Bob} \, \| \, \textbf{Carol}$ , where

  • Alice = $wait(a)\, \| \, wait(e) \, \| \, wait (g)$ ;

  • Bob = wait(b);

  • Carol = $wait(c)\, \| \, wait(d)\, \| \, wait(f)$ .

The following theorem, whose proof is immediate by definition of translation, states the translation of a debate D produces a tcla process P such that the set of traces of the debate D is the set of successful sequences of the computed AF by P, without duplicates, starting from the store $F_0= \langle \emptyset, \emptyset \rangle$ .

Theorem 1 The translation ${\cal T}$ of a debate $D=\{Ag_1, \ldots, Ag_k\}$ in a multi-agent environment, with respect to the AF $\langle Arg, R\rangle$ produces a tcla process P such that

\begin{equation*} TrF(D) = \{rd(F_1 \cdots F_n) \mid \langle \emptyset, \emptyset \rangle \cdot F_1 \cdots F_n \cdot \mathit{ss} \in {\cal O}_{io}(P)\} \end{equation*}

Note that we can give alternative translations of the same debate, as shown by the tcla process in Table 4. Since parallel executions are handled via interleaving, only one agent will operate on the knowledge base at a time, simulating the alternation of the three counterparts in exchanging arguments during the debate. Check operations, in particular, allow agents to wait for their turn to “speak.” In this example, we specify a timeout of 9 instants of time, meaning that the check will be repeated up to 9 times until it is either satisfied or expired. In our case, checks can always be successful before their timeouts. Note that a shorter timeout cannot guarantee the successful termination of all check operations. Different solutions can also be implemented. For instance, arguments c and d could be added with two distinct operations or together with f.

Table 4. tcla program realising the AF of Figure 3

4.2 Modelling dialogue games

Dialogues can also be constrained to form dialogue games – McBurney and Parsons (Reference McBurney and Parsons2009), adding rules that govern their unfolding. In this section, we provide an example of how tcla programmes can be used to model dialogue games involving two agents taking “turns” to assert their beliefs. Different dialogue games have been developed in the area of computational dialectics. We adopt a simple, popular game often used in the literature – Procaccia and Rosenschein (Reference Procaccia and Rosenschein2005),Wooldridge (Reference Wooldridge2002), Yuan et al. (Reference Yuan, Svansson, Moore and Grierson2007) – in which the dialectical framework is defined as dialogues between two players $\textbf{P}$ (the “proponent”) and $\textbf{O}$ (the “opponent”), each of which is referred to as the other’s “counterpart.” We use a scenario given by Polberg and Hunter (Reference Polberg and Hunter2018), where two individuals $\textbf{P}$ and $\textbf{O}$ exchange arguments $a, b, \ldots$ about the safety of the children flu vaccine.

Example 4 Let us consider the following dialogue game between two agents. The dialogue starts with $\textbf{P}$ (the proponent) claiming that the vaccine is not safe, to which $\textbf{O}$ (the opponent) objects and the discussion proceeds to revolve around whether it contains mercury-based compounds or not.

  • P: The flu vaccine is not safe to use by children (argument a);

  • O: The flu vaccine contains no poisonous components and is safe (argument b);

  • P: The vaccine contains some mercury compounds. The mercury compounds are poisonous, and therefore the vaccine is not safe to use (argument c);

  • O: The child vaccine does not contain any mercury compounds. The virus is only accompanied by stabilisers and possibly trace amounts of antibiotics used in its production (argument d);

  • P: The vaccine contains a preservative called thimerosal which is a mercury-based compound (argument e);

  • O: Children receive the nasal spray vaccine, and thimerosal has been removed from it over 15 years ago (argument f).

According to Walton and Krabbe (Reference Walton and Krabbe1995), the proposed example can be seen as a persuasion dialogue game since each participant tries to convince the other that his/her own position on the vaccine is correct.

A game begins with the player $\textbf{P}$ moving an initial argument x to be tested. The opponent $\textbf{O}$ and $\textbf{P}$ then take turns in moving arguments that attack their counterpart’s last move. The dialogue game is formalised as follows.

Definition 11 Let $F=\langle Arg, R\rangle$ be an AF. A dialogue game is a quadruple $G= \langle F, d, Rl, Pls\rangle$ , where d (the dialogue history) is a possibly infinite sequence of moves $m_0,m_1, \ldots$ which contains the moves made by game participants, Rl is a set of rules regulating players to make a move, and Pls is a pair of players $\{P_0, P_1\}$ , with $P_0$ and $P_1$ representing the proponent $\textbf{P}$ and the opponent $\textbf{O}$ , respectively. The dialogue d is such that:

  • $\varepsilon$ denotes the empty dialogue and, if d is not empty, $m_0$ the “initial move”;

  • each $m_i$ is of the form $x_{Pl}$ where $x \in Arg$ is the argument moved in $m_i$ , denoted by $arg(m_i)$ , and $Pl \in \{\textbf{P}, \textbf{O}\}$ is the player of $m_i$ , denoted $pl(m_i)$ .

In the following, given $d=m_0,m_1, \ldots$ we denote by arg(d) the possibly infinite set of arguments $\cup_{i\geq 0\ } arg(m_i)$ . Finally the set Rl contains six rules:

  1. 1. First move in d is made by $\textbf{P}$ : $pl(m_0) = \textbf{P}$ ;

  2. 2. Players take turns making moves: $pl(m_i) \neq pl(m_{i+1})$ ;

  3. 3. Players cannot repeat a move, namely the same argument cannot appear twice in a game: if $i\neq j$ and $m_i, m_j \in d$ then $arg(m_i)\neq arg (m_j)$ ;

  4. 4. Each move has to attack (defeat) only the previous (target) move: for each $i \geq 1$ , $(arg(m_i), arg(m_{i-1}))\in R$ , and there is no $j \in [0, i-2]$ such that $(arg(m_i), arg(m_{j}))\in R$ ;

  5. 5. The game is ended if no further moves are possible: $d=m_0,m_1, \ldots, m_n$ and there is no $a \in Arg \setminus arg(d)$ such that $(a, arg(m_n)) \in R$ ;

  6. 6. The winner of an ended game is the player that makes the final move. In this case, the finite dialogue $d =m_0,m_1, \ldots, m_n$ is said to be won by $P_{winner}=pl(m_n) =P_{n \,mod\, 2}$ and we denote by result(d) the AF $\langle arg (d), \{(arg(m_i), arg (m_{i-1}))\mid i \in [1,n]\}.$

Example 5 By using the previous definition, we can model the dialogue in Example 4 by $G= \langle F, d, Rl, Pls\rangle$ with $F=\langle Arg, R\rangle$ , where

\begin{equation*} \begin{array}{lll} Arg & = & \{a,b,c,d,e,f\}, \\ R & = & \{(a,b), (b,a), (b,c), (c,b), (c,d), (d,c), (d,e), (e,d), (e,f), (f,e)\}. \end{array} \end{equation*}

and $d=a\cdot b\cdot c \cdots f$ .

We can write a tcla programme emulating a game in the AF $\langle Arg, R\rangle$ , using two agents in parallel to model the behaviour of P and O, respectively. Each agent inserts the arguments at its disposal into the knowledge base through an add operation. Therefore, if the argument of the move $m_i$ of the agent Pl attacks the argument in the move $m_{i-1}$ then Pl inserts in the knowledge base the argument $arg(m_i)$ and the attack $(arg(m_i), arg(m_{i-1}))$ . In the following definition, as in the previous section, we use add(Arg, R) as a shortcut for $add(Arg, R)\rightarrow success$ . Moreover, given a dialogue $d=m_0 \cdot m_1\cdot m_2 \cdots$ , we denote by even(d) (odd(d)) the sequence of arguments $arg(m_0) \cdot arg(m_2)\cdots$ $(arg(m_1) \cdot arg( m_3)\cdots).$

Definition 12 (Translation)

Let $turn_i, finish_i\not \in Arg$ for $i=0,1$ and let hold(a) a shorthand for $check_4(\{a\},\{\})\rightarrow rmv(\{a\},\{\})$ . The translation of a finite dialogue d in the dialogue game $G= \langle F, d, R, Pls\rangle$ , is defined as follows.

\begin{equation*} {\cal F}(d)=\begin{cases} \textbf{success} &\ \text{if $d=\varepsilon$ }\\ {\cal F}_ \textbf{P}(even(s)) \|{\cal F}_ \textbf{O}(odd(s))&\ \text{otherwise} \end{cases} \end{equation*}

where

\begin{equation*}{\cal F}_ \textbf{P}(a \cdot s')= add(\{a, turn_1\},\{\}) \rightarrow {\cal F}'_0(s'); \end{equation*}
\begin{equation*}{\cal F}_ \textbf{O}(s)= \begin{cases} hold(turn_1)\rightarrow add(\{finish_1\},\{\}) &\ \text{if $s=\varepsilon$ }\\ hold(turn1)\rightarrow add(\{a, turn_0\},\{R_{|a}\}) \rightarrow {\cal F}'_1(s')&\ \text{if $s=a\cdot s'$} \end{cases} \end{equation*}

and for $i=0,1$ ,

\begin{equation*} {\cal F'}_i(s)=\begin{cases} hold(finish_{i+1 mod 2})\rightarrow \textbf{success} \ +_p \ hold(turn_{i})\rightarrow add(\{finish_i\},\{\}) \\ \hspace{8cm} \text{if $s=\varepsilon$ }\\ hold(turn_{i}) \rightarrow add(\{a, turn_{i+1 mod 2}\},R_{|a}) \rightarrow {\cal F'}_i(s') \\ \hspace{8cm} \text{if $s=a \cdot s'$} \end{cases} \end{equation*}

The following theorem, whose proof is immediate by definition of translation, states the translation of a dialogue d produces a tcla process P such that for each finite successful finite trace computed by P, starting from the empty store $F_0= \langle \emptyset, \emptyset \rangle$ , result(d) is the last computed AF of the trace itself

Theorem 2 The translation ${\cal F}$ of a finite dialogue game $G= \langle F, d, R, Pls\rangle$ produces a tcla process P such that for each sequence $F_0 \cdot F_1 \cdots F_m \cdot \mathit{ss} \in {\cal O}_{io}(P)$ , where $F_0=\langle \emptyset, \emptyset \rangle$

  • $result(d)=F_m$ and

  • for $i=0,1$ , $P_{winner}=P_i$ if and only if there exists $j \in [0,n]$ such that $F_j=\langle A_j,R_j \rangle$ and $finish_{(i+1) \, mod \, 2} \in A_j$ .

.

Note that the previous translation can be extended in a straightforward way in order to also model:

  • dialogue games with more than two players,

  • game trees – Procaccia and Rosenschein (Reference Procaccia and Rosenschein2005), Rahwan and Larson (Reference Rahwan and Larson2009) – representing sequences of actions agents may take, and

  • turn-taking functions that determine how the turn shifts starting from the current player and from the abstract framework produced by the portion of the dialogue that has already taken place.

Example 6 By using Definition 12 we can model the dialogue d in the Example 4 by the process:

\begin{equation*}{\cal T}(d)= {\cal T}_ \textbf{P}(a\cdot c\cdot e) \|{\cal T}_ \textbf{O}(b\cdot d \cdot f) \end{equation*}

where

\begin{equation*}\begin{array}{ll} {\cal T}_ \textbf{P}(a\cdot c\cdot e)\ = & add(\{a, turn_1\},\{\}) \rightarrow \\ & hold(turn_{0}) \rightarrow add(\{c, turn_{1}\},\{(c,b)\}) \rightarrow\\ & hold(turn_{0}) \rightarrow add(\{e, turn_{1}\},\{(e,d)\}) \rightarrow \\ & ( hold(finish_{1})\rightarrow \textbf{success} \ +_p \ hold(turn_{0})\rightarrow add(\{finish_0\})) \end{array} \end{equation*}

and

\begin{equation*}\begin{array}{ll} {\cal T}_ \textbf{O}(b\cdot d\cdot f)\ = & hold(turn1)\rightarrow add(\{b, turn_0\},\{(b,a)\}) \rightarrow \\ & hold(turn1)\rightarrow add(\{d, turn_0\},\{(d,c)\}) \rightarrow \\ & hold(turn_{1}) \rightarrow add(\{f, turn_{0}\},\{(f,e)\}) \rightarrow\\ & ( hold(finish_{0})\rightarrow \textbf{success} \ +_p \ hold(turn_{1})\rightarrow add(\{finish_1\})) \end{array} \end{equation*}

5 tcla simulator

We developed a working implementation for the interleaving version of tcla. Some of the operations had their syntax translated (see Table 5) to enable users to specify tcla programmes manually. In this section, we describe the details of our implementation, also comparing the interleaving version of tcla with the maximum parallelism version.

Table 5. Implementation of tcla operations

The simulator’s core consists of a Python script that covers three fundamental tasks: it serves as an interpreter for the tcla syntax, executes programmes taken in input, and communicates with a web interface. The interpreter is built using ANTLR, Footnote 3 a parser generator for reading, processing, executing, and translating structured text. We start with a grammar file defining the constructs in Table 1. Any source programme, then, is parsed according to the grammar, and a parse tree is generated. ANTLR provides two ways to traverse the parse tree: via a listener or a visitor. The most significant difference between these two mechanisms is that listener methods are called independently by a built-in ANTLR object, while visitor methods must traverse the tree by recursively visiting the children of visited nodes with explicit visit calls. Since we want to implement guards in our language, we must have the possibility of deciding which part of the tree will be visited, making our choice fall on the visitor approach.

Each node of the parse tree corresponds to one operation to perform, whose behaviour is defined in a dedicated Python class. Hence, visiting the parse tree is equivalent to executing the corresponding programme. The root of the parse tree is always a visitPrg node, which calls the visit on its children, collects the results and returns the final output. Below, we provide details on the visiting functions for the various node types.

The terminal nodes are visitSuc and visitFlr, which represent the leaves of the tree and correspond to success and failure agents, respectively.

visitAdd and visitRmv nodes implement add(Arg,R) and rmv(Arg,R) operations, respectively. They modify the knowledge base by adding/removing part of the framework, always succeeding and continuing on their children. For adding an attack (a,b), arguments a and b must be contained in the shared memory when visitAdd is performed. The two arguments can be introduced in the same step in which the attack between them is added. visitRmv, then, also succeeds if the specified arguments and attacks are not in the AF; in that case, the AF is left unchanged.

visitChk checks if a given set of arguments and attacks belongs to the knowledge base at time t as per the check(t,Arg,R) operator. In case of success, the visit proceeds to the consequent action. On the other hand, when the knowledge base does not contain the specified parts of AF, the timeout is decreased and the check repeated. When the timeout reaches zero, visitChk fails.

visitTcr (ctest(t,{a},l, $\sigma$ )) and visitTsk ((stest(t,{a},l, $\sigma$ )) call the ConArg Footnote 4 solver to credulously/sceptically test the acceptability of a given argument a, with respect to a semantics $\sigma$ at a time t. The functions repeat the verification until either the test succeeds or the timeout reaches zero. In the latter case, both constructs return failure.

A visitNdt node implements sum(E,…,E), which is a concatenation of $+$ operators, inspecting the guards of all its children expressions and randomly selecting one branch to execute among the possible ones. If no guards are found with satisfiable conditions, all timeouts are decreased, and the conditions are rechecked in the next step. Expressions with expired timeouts are discarded, and if no expression can be executed before the last timeout expires, the construct fails.

visitIte behaves like the if-then-else construct (E)+P(E). The expressions are handled in the same order in which they are specified. If the first expression succeeds, visitIte succeeds without executing the second one. If the first expression fails, the second one is executed. If also the second expression fails, the construct fails; otherwise, it succeeds.

The node visitPar starts separated threads to execute two parallel agents composed through the operator $\parallel$ . It returns true if both agents succeed or false as soon as one action fails.

visitGpa implements gpar(E,…,E), namely a concatenation of $\|_G$ operators. It cycles through its children, starting a new thread for every expression found with a satisfiable guard. If all the executed expressions succeed, the construct succeeds. In case no expression can be executed, all timeouts are decreased, and expressions with expired timeouts are discarded. The process is repeated until either all the expressions have been executed or discarded for timeout or when one of the expressions terminates with a failure.

The parallel execution of $\omega$ -actions is handled through interleaving: only one $\omega$ -action, that is, one operation of the types visitAdd, visitRmv, visitChk, visitTcr and visitTsk can be executed at each step. Such a behaviour is accomplished by means of a Python lock object which acts as a synchronisation primitive, entrusting the control of the shared memory to one action at a time. In detail, when an $\omega$ -action is ready to be executed, it tries to acquire the lock object. If the object is unlocked, it immediately changes its status to locked, and the action continues its execution. Before proceeding to the subsequent step, the action releases the lock, which becomes unlocked again. If, on the other hand, the object is locked, the action cannot be executed (because another $\omega$ -action has already been granted such privilege upon the acquisition of the lock) and, thus, it will be postponed to the next step. Practically, we rewrite the parse tree of the programme so that each node representing an $\omega$ -action A that cannot be executed at a given step s is assigned a child node which is a clone of A itself, except for possible timeouts (only present in visitChk, visitTcr and visitTsk operations), that are decreased by one. Failed attempts of execution also consume a unit of time: when the condition of a guarded $\omega$ -action is not satisfied, its timeout is decreased, and the execution is postponed by one step.

Differently from $\omega$ -actions, $\tau$ -actions do not directly interact with the underlying knowledge base, as they are used to make time pass for timeout operations. Several $\tau$ -actions can be executed concurrently with an $\omega$ -action at each step. To obtain maximum parallelism for $\tau$ -actions, we synchronise the threads that implement the agents by keeping track of CPU time elapsing in each parallel branch of the execution. We have equipped the interpreter with an internal scheduler that manages the execution of the various actions. In each step, the scheduler executes $\tau$ -actions of parallel threads together with a single $\omega$ -action. In this way, only one agent at a time has access to the shared memory, while timeouts in all parallel branches are decremented at the same instant t. Since the execution of all operations is governed by a scheduler function that synchronises the threads, the $\tau$ -actions in a certain step will be executed in parallel within the interpreter, which will see each of these actions terminated at the same instant t. However, the $\tau$ -actions will not be executed with true parallelism by the processor, which can only perform one operation at a time.

The input programme is provided to the Python script through a web interface Footnote 5 (see Figure 4), developed in HTML and JavaScript. After the programme has been executed, its output is also shown within the interface. We have two main areas, one for the input and the other for the output. First, the user enters a programme in the dedicated text box (either manually or by selecting one of the provided examples), after which there are two ways to proceed. By clicking on the “Run All” button, the whole programme is executed at once, and the final result is displayed in the output area. Alternatively, by clicking on the “Run 1 Step” button, it is possible to monitor the execution step by step.

Fig. 4. Example of execution via the web interface of the tcla programme given in Table 4.

The interface communicates with the underlying Python engine through an Ajax call which passes the programme as a parameter and asynchronously retrieves the output. After the execution of (a step of) the programme, three different components are simultaneously visualised in the output area: the programme output, the state of the shared memory and a timeline representing the behaviour of arguments during the time. The programme output box shows the results of the execution, divided by steps. The beginning of each step is marked by a separating line explicitly showing the step number. The shared memory box is updated after each step of the execution and shows the AF used as the knowledge base. Finally, the bottom-left box contains the visual representation of arguments during the time and shows the temporal evolution of the AF used by the tcla programme. Time is reported on the x axis, and each bar of the timeline shows the intervals of time during which an argument is contained in the shared memory.

We now compare the interleaving-based implementation of tcla reported in this paper with the approach presented in Bistarelli et al. (Reference Bistarelli, Meo and Taticchi2021), Bistarelli and Taticchi (Reference Bistarelli and Taticchi2021) where maximum parallelism is used for allowing parallel execution of an infinite number of concurrent agents. We use an example to illustrate how the two versions handle actions in parallel constructs differently.

Example 7 Consider the following tcla programme, which involves three parallel agents. Each of those agents performs an addition operation of a different argument and then succeeds.

Since the two implementations share the same syntax for the various language constructs, the interpreter will produce the same parse tree for both the interleaving and the maximum parallelism approach. The parse tree generated for the programme used in this example is depicted in Figure 5.

Fig. 5: Parse tree for the tcla programme of Example 7.

We distinguish three main parallel branches in this tree, each containing one addition operation for argument a, b and c, respectively. When executed with the maximum parallelism version of the simulator, the three additions are performed at the same instant of time $t=0$ , as shown in Figure 6 right, and arguments a, b and c will be all available in the shared memory starting from $t=1$ . On the other hand, when interleaving is used, only one addition operation is executed at each instant, so the three arguments are inserted in the shared memory at different times. In this example, add({a},{}) is executed at $t=0$ , add({b},{}) at $t=1$ , and add({c},{}) at $t=2$ .

Fig. 6: Availability of arguments in shared memory for the tcla programme of Example 7 according to execution with maximum parallelism (left) and interleaving (right).

The two versions of tcla illustrated in Example 7 are designed to meet different needs in modelling interactions between argumentative agents. Therefore, they both have benefits and disadvantages depending on the use case. When maximum parallelism is employed, different agents may perform several concurrent actions simultaneously. This can be particularly useful in multi-agent systems where many components compete for the allocation of resources through, for example, negotiation protocols. In this case, running multiple parallel processes offers two advantages: on the one hand, it increases the system’s efficiency, and on the other hand, it enables the simulation of concurrent interactions between intelligent agents. However, this approach is less suitable for modelling typical human interactions, such as debate, in which the interaction between the various agents is assumed to take place in a controlled manner. For example, in the dialogue games introduced in the previous section, the participants act according to a turn-based model. For this type of application, which is closer to the human way of reasoning, the interleaving version of tcla provides a better executing tool than the version with maximum parallelism.

6 Related work

Time is an important aspect to consider when representing processes that take place in the real-life, and much effort has been put into studying models that incorporate the temporal dimension. In this section, we report on some significant works in the literature that deal with both the dynamics of argumentation and, more broadly, languages and formalisms that use the notion of time.

A formalism for expressing dynamics in AFs is defined by Rotstein et al. (Reference Rotstein, Moguillansky, Garcia and Simari2008) as a Dynamic Argumentation Framework (DAF). This framework allows for instantiating Dung-style AFs by considering “evidence” (a set of arguments to adopt) from a universe of arguments. DAF generalises AFs by adding the possibility of modelling changes but, contrary to our study, it does not consider how such modifications affect the semantics and does not allow to model the behaviour of concurrent agents.

In our model, AFs are equipped with a universe of arguments that agents use to insert new information into the knowledge base. The problem of combining AFs, that is, merging arguments and attacks of two different AFs, is addressed in a paper by Baumeister et al. (Reference Baumeister, Neugebauer, Rothe and Schadrack2018) that studies the computational complexity of verifying if a subset of arguments is an extension for a certain semantics in Incomplete Argumentation Frameworks. The incompleteness is considered both for arguments and attacks. Similarly to our approach, arguments and attacks can be brought forward by agents and used to build new acceptable extensions. On the other hand, the authors focus on a complexity analysis and do not provide implementations for the merging.

In the context of Argumentation Theory, it is reasonable to assume that the interaction between entities is regulated by the passing of time – Mann and Hunter (Reference Mann and Hunter2008), Marcos et al. (Reference Marcos, Falappa and Simari2010). Timed Abstract Argumentation Frameworks (TAFs) – Bud´an et al. (2015), Cobo et al. (Reference Cobo, Martínez and Simari2010) – have been proposed to meet the need for including the notion of time into argumentation processes. The existence of arguments in a TAF is regulated by a function that determines the exact intervals of time in which every argument is available within the framework. In a previous work – Bistarelli et al. (Reference Bistarelli, Meo and Taticchi2021), we used tcla constructs to dynamically instantiate a TAF. The interleaving approach we propose with the current work, however, is not suitable for that task: since only one agent can interact with the store at once, it is not possible to model a TAF in which, for instance, two different arguments are added and removed in the same instant of time.

The Linear Temporal Logic (LTL) was first proposed by Pnueli (Reference Pnueli1977) for the formal verification of concurrent systems. LTL is a modal logic that can express properties of programmes over time through the use of two fundamental operators: next, which says that a formula has to hold at the next state of the execution, and until, expressing that a formula has to hold at least until another formula becomes true. LTL differs from tcla both syntactically and semantically. In particular, contrary to tcla, LTL allows propositional variables and modal operators to express time-related properties.

Difference Logic can express properties of timed automata and is used to approach time-related problems like verification of timed systems and scheduling. In the context of the Satisfiability Modulo Theories (SMT) problem – Barrett et al. (Reference Barrett, Sebastiani, Seshia, Tinelli, Biere, Heule, van Maaren and Walsh2021), which concerns the satisfiability of formulas with respect to some background theory, a solver for Difference Logic can be obtained by using the DPLL(T) architecture proposed by Nieuwenhuis et al. (Reference Nieuwenhuis, Oliveras and Tinelli2006), where the T parameter is instantiated with a theory of integers that allow handling time. However, SMT does not allow for the encoding of interactions between arguing agents, contrary to the system we propose, which instead has operators appropriately designed for this use.

To deal with quantitative temporal information, Allen (Reference Allen1983) proposes an Interval Algebra where entities like actions or events can be placed in a timeline, with pairs of endpoints setting entities beginning and end. Then, various configurations between those entities can be encoded and studied through a set of binary temporal relations which express, for example, whether an event occurred before, after or overlapping another. Arguments shared by tcla agents are bound by a time duration and can be regarded as entities in Allen’s framework. However, although we can express the temporal availability of arguments by adding and removing them from the shared memory at set instants of time, tcla neither uses explicit time intervals nor the relative availability between arguments.

A collection of process calculi is presented by Busi et al. (Reference Busi, Gorrieri and Zavattaro2000) as a solution for the lack of formal definitions of languages like Linda, JavaSpaes and TSpaes. In this regard, an operational semantics is introduced to enable formal reasoning and allow the systematic comparison of primitives with respect to their expressiveness. Although the authors consider the passing of time (represented as divided into discrete intervals), time does not elapse for timeout constructs. In our work, instead, also timeout processes can make time pass.

Other works related to ours extend CC with timed constructs, also based on the hypothesis of bounded asynchrony – Bistarelli et al. (Reference Bistarelli, Gabbrielli, Meo and Santini2008), de Boer et al. (Reference de Boer, Gabbrielli and Meo2000). In these approaches, time elapsing is measured by means of a global clock and each time instant is marked through action prefixing. The resulting timed languages are able to describe the behaviour of intelligent agents interacting within a dynamic environment. Apart from the different scope of application (Bistarelli et al. (Reference Bistarelli, Gabbrielli, Meo and Santini2008) deal with constraint systems), the main difference with our work lies in the fact that maximum parallelism is assumed for concurrent actions instead of interleaving.

Interleaving is also used to model parallel composition of actions in the context of a temporal logic based on CC – de Boer et al. (Reference de Boer, Gabbrielli and Meo2004). The paper’s primary purpose is to devise a logic for reasoning about the correctness of timed concurrent constraint programmes. Indeed, the authors focus on providing soundness and completeness of a related proof system rather than modelling complex reasoning processes in multi-agent systems. Consequently, a significant difference with our work is that information is monotonically accumulated in the shared memory, as per classical CC tell operation, and cannot be retracted by the agents.

Fox and Long (Reference Fox and Long2003) propose PDDL2.1, a planning language capable of modelling domains with temporal features. The language allows for defining actions endowed with activation conditions and effects. Through a system of temporal annotations, it is then possible to specify whether each condition and effect associated with an action must be valid at the beginning, at the end, or during the entire duration of that action. Like tcla, PDDL2.1 allows the management of concurrent processes. However, being designed as an action-oriented planning language, it does not support argumentative interactions, like debates ad dialogue games, in multi-agent systems.

7 Conclusion

In this paper, we presented a formalisation of tcla based on two kinds of actions, $\tau$ -actions and $\omega$ -actions, which realise time elapsing and computation steps, respectively. Parallel composition of $\tau$ -actions is handled through maximum parallelism, while, for $\omega$ -actions, we adopt an interleaving approach. Indeed, it seems more natural for timeout operators not to interrupt the elapsing of time once the evaluation of a timeout has started. Clearly, one could start the elapsing of time when the timeout process is scheduled rather than when it appears in the top-level current parallel context. This modification could easily be obtained by adding a syntactic construct to differentiate active timeouts from inactive ones and changing the transition system accordingly. One could also easily modify the semantics (both operational and denotational) to consider a more liberal assumption which allows multiple ask actions in parallel. Along with our language, we have shown two examples of possible applications where we consider debates and dialogue games, respectively. In particular, we have provided procedures for translating these two types of interaction into tcla programmes, where the interleaving used to manage the parallelism of omega actions allows for modelling the behaviour of agents acting in turn. Finally, we compared the interleaving-based implementation of tcla with the maximum parallelism implementation presented in previous work, highlighting the differences in running parallel agents and discussing the advantages offered in different use cases.

In future work, we first plan to use existential quantifiers to extend our language by allowing the agents to have local stores. Then, to test the capabilities of our language and evaluate its expressiveness, we also plan to conduct a study on strategic argumentation – Governatori et al. (Reference Governatori, Maher and Olivieri2021), Thimm (Reference Thimm2014): intelligent agents could interact through tcla constructs and modify their shared memory to reach the desired outcome in terms of accepted arguments. In addition to classical AFs, we also would like to investigate other kinds of frameworks we might use as a knowledge base for our agents (e.g. Bipolar Argumentation Frameworks – Cayrol and Lagasquie-Schiex (Reference Cayrol and Lagasquie-Schiex2005), Abstract Dialectical Frameworks – Brewka and Woltran (Reference Brewka and Woltran2010), and Extended Argumentation Frameworks – Modgil (Reference Modgil2009)). Such refined AFs are endowed with more complex structures for the arguments and the relations between them, allowing one to model different nuances of reasoning processes.

Footnotes

*

The authors are members of the INdAM Research group GNCS and Consorzio CINI. This work has been partially supported by: GNCS-INdAM, CUP E55F22000270001; Project RACRA, funded by Ricerca di Base 2018-2019, University of Perugia; Project FICO, funded by Ricerca di Base 2021, University of Perugia; Project BLOCKCHAIN4FOODCHAIN, funded by Ricerca di Base 2020, University of Perugia; Project GIUSTIZIA AGILE, CUP J89J22000900005.

1 The set U is not present in the original definition of AFs – Dung (Reference Dung1995) – and we introduce it for our convenience to distinguish all possible arguments from the adopted ones.

2 The set $E \cup E^+$ is also called range of E – Caminada (Reference Caminada2006b).

3 ANTLR website: https://www.antlr.org.

4 ConArg is a Constraint Programming-based tool for solving computational argumentation problems. It is available online at the following webpage: https://conarg.dmi.unipg.it/.

5 The web interface can be tested at the following link: https://conarg.dmi.unipg.it/tcla-i.

References

Allen, J. F. 1983. Maintaining knowledge about temporal intervals. Communications of the ACM 26, 11, 832843.CrossRefGoogle Scholar
Amgoud, L., Parsons, S. and Maudet, N. 2000. Arguments, dialogue, and negotiation. In ECAI 2000, Proceedings of the 14th European Conference on Artificial Intelligence, Berlin, Germany, 20–25 August 2000. IOS Press, 338–342.Google Scholar
Aristotle. 1928. Topics. Clarendon Press, Oxford, UK. Ross, W. D. trans. (original work c. 350 B.C.).Google Scholar
Azhar, M. Q. and Sklar, E. I. 2016. Analysis of empirical results on argumentation-based dialogue to support shared decision making in a human-robot team. In 25th IEEE International Symposium on Robot and Human Interactive Communication, RO-MAN 2016, New York, NY, USA, 26–31 August 2016. IEEE, 861–866.Google Scholar
Baroni, P., Caminada, M. and Giacomin, M. 2011. An introduction to argumentation semantics. The Knowledge Engineering Review 26, 4, 365410.CrossRefGoogle Scholar
Barrett, C. W., Sebastiani, R., Seshia, S. A. and Tinelli, C. 2021. Satisfiability modulo theories. In Handbook of Satisfiability - Second Edition, Biere, A., Heule, M., van Maaren, H. and Walsh, T., Eds. Frontiers in Artificial Intelligence and Applications, vol. 336. IOS Press, 1267–1329.Google Scholar
Baumeister, D., Neugebauer, D., Rothe, J. and Schadrack, H. 2018. Verification in incomplete argumentation frameworks. Artificial Intelligence 264, 126.CrossRefGoogle Scholar
Bistarelli, S., Gabbrielli, M., Meo, M. C. and Santini, F. 2008. Timed soft concurrent constraint programs. In Proceedings of COORDINATION 2008 - 10th International Conference on Coordination Models and Languages. LNCS, vol. 5052. Springer, 5066.Google Scholar
Bistarelli, S., Meo, M. C. and Taticchi, C. 2021. Timed concurrent language for argumentation. In Proceedings of CILC 2021 - 36th Italian Conference on Computational Logic. CEUR Workshop Proceedings, vol. 3002. CEUR-WS.org, 1–15.Google Scholar
Bistarelli, S., Meo, M. C. and Taticchi, C. 2022. Timed concurrent language for argumentation: An interleaving approach. In PADL. LNCS, vol. 13165. Springer, 101–116.Google Scholar
Bistarelli, S. and Taticchi, C. 2020. A concurrent language for argumentation. In Proceedings of AI $^3$ 2020 - 4th Workshop on Advances In Argumentation In Artificial Intelligence, Co-located with AIxIA 2020 - 19th International Conference of the Italian Association for Artificial Intelligence. CEUR Workshop Proceedings, vol. 2777. CEUR-WS.org, 75–89.Google Scholar
Bistarelli, S. and Taticchi, C. 2021. Introducing a tool for concurrent argumentation. In Proceedings of JELIA 2021 - 17th European Conference on Logics in Artificial Intelligence. LNCS, vol. 12678. Springer, 1824.Google Scholar
Bistarelli, S. and Taticchi, C. 2023. A concurrent language for modelling agents arguing on a shared argumentation space. Argument & Computation Pre-press, Pre-press, 1–28.Google Scholar
Brewka, G. and Woltran, S. 2010. Abstract dialectical frameworks. In Principles of Knowledge Representation and Reasoning: Proceedings of the Twelfth International Conference, KR 2010, Toronto, Ontario, Canada, 9–13 May 2010. AAAI Press.Google Scholar
Budán, M. C., Lucero, M. J. G., Chesñevar, C. I. and Simari, G. R. 2015. Modeling time and valuation in structured argumentation frameworks. Information Sciences 290, 2244.CrossRefGoogle Scholar
Busi, N., Gorrieri, R. and Zavattaro, G. 2000. Process calculi for coordination: From linda to javaspaces. In Proceedings of AMAST 2000 - 8th International Conference on Algebraic Methodology and Software Technology. LNCS, vol. 1816. Springer, 198–212.Google Scholar
Caminada, M. 2006a. On the issue of reinstatement in argumentation. In Proceedings of JELIA 2006 - 10th European Conference on Logics in Artificial Intelligence. LNCS, vol. 4160. Springer, 111–123.Google Scholar
Caminada, M. 2006b. Semi-stable semantics. In Proceedings of COMMA 2006 - 1st International Conference on Computational Models of Argument. Frontiers in Artificial Intelligence and Applications, vol. 144. IOS Press, 121130.Google Scholar
Cayrol, C. and Lagasquie-Schiex, M. 2005. On the acceptability of arguments in bipolar argumentation frameworks. In Symbolic and Quantitative Approaches to Reasoning with Uncertainty, 8th European Conference, ECSQARU 2005, Barcelona, Spain, 6–8 July 2005, Proceedings. LNCS, vol. 3571. Springer, 378389.Google Scholar
Cobo, M. L., Martínez, D. C. and Simari, G. R. 2010. On admissibility in timed abstract argumentation frameworks. In Proceedings of ECAI 2010 - 19th European Conference on Artificial Intelligence. Frontiers in Artificial Intelligence and Applications, vol. 215. IOS Press, 10071008.Google Scholar
de Boer, F. S., Gabbrielli, M. and Meo, M. C. 2000. A timed concurrent constraint language. Information and Computation 161, 1, 4583.CrossRefGoogle Scholar
de Boer, F. S., Gabbrielli, M. and Meo, M. C. 2004. A timed linda language and its denotational semantics. Fundamenta Informaticae 63, 4, 309330.Google Scholar
Dung, P. M. 1995. On the acceptability of arguments and its fundamental role in nonmonotonic reasoning, logic programming and n-person games. Artificial Intelligence 77, 2, 321358.CrossRefGoogle Scholar
Emele, C. D., Norman, T. J. and Parsons, S. 2011. Argumentation strategies for plan resourcing. In Proceedings of AAMAS 2011 - 10th International Conference on Autonomous Agents and Multiagent Systems. IFAAMAS, 913920.Google Scholar
Fox, M. and Long, D. 2003. PDDL2.1: An extension to PDDL for expressing temporal planning domains. Journal of Artificial Intelligence Research 20, 61124.CrossRefGoogle Scholar
Governatori, G., Maher, M. J. and Olivieri, F. 2021. Strategic argumentation. FLAP 8, 6, 16791748.Google Scholar
Hoare, C. A. R. 1978. Communicating sequential processes. Communications of the ACM 21, 8, 666677.CrossRefGoogle Scholar
Mann, N. and Hunter, A. 2008. Argumentation using temporal knowledge. In Proceedings of COMMA 2008 - 2nd International Conference on Computational Models of Argument. Frontiers in Artificial Intelligence and Applications, vol. 172. IOS Press, 204215.Google Scholar
Marcos, M. J., Falappa, M. A. and Simari, G. R. 2010. Dynamic argumentation in abstract dialogue frameworks. In Proceedings of ArgMAS 2010 - 7th International Workshop on Argumentation in Multi-Agent Systems, Revised, Selected and Invited Papers. LNCS, vol. 6614. Springer, 228247.Google Scholar
McBurney, P. and Parsons, S. 2009. Dialogue games for agent argumentation. In Argumentation in Artificial Intelligence. Springer, 261–280.Google Scholar
McBurney, P., van Eijk, R. M., Parsons, S. and Amgoud, L. 2003. A dialogue game protocol for agent purchase negotiations. Autonomous Agents and Multi-Agent Systems 7, 3, 235273.CrossRefGoogle Scholar
Milner, R. 1980. A Calculus of Communicating Systems . LNCS, vol. 92. Springer.Google Scholar
Modgil, S. 2009. Reasoning about preferences in argumentation frameworks. Artificial Intelligence 173, 9–10, 901934.CrossRefGoogle Scholar
Nieuwenhuis, R., Oliveras, A. and Tinelli, C. 2006. Solving SAT and SAT modulo theories: From an abstract davis–putnam–logemann–loveland procedure to DPLL(T). Journal of the ACM 53, 6, 937977.CrossRefGoogle Scholar
Paget, N., Pigozzi, G. and Barreteau, O. 2013. Information sharing for natural resources management. Presented at EUMAS 2013 - 11th European Workshop on Multi-Agent Systems.Google Scholar
Pardo, P. and Godo, L. 2018. A temporal argumentation approach to cooperative planning using dialogues. Journal of Logic and Computation 28, 3, 551580.CrossRefGoogle Scholar
Pnueli, A. 1977. The temporal logic of programs. In 18th Annual Symposium on Foundations of Computer Science, Providence, Rhode Island, USA, 31 October–1 November 1977. IEEE Computer Society, 46–57.Google Scholar
Polberg, S. and Hunter, A. 2018. Empirical evaluation of abstract argumentation: Supporting the need for bipolar and probabilistic approaches. International Journal of Approximate Reasoning 93, 487543.CrossRefGoogle Scholar
Prakken, H. 2005. Coherence and flexibility in dialogue games for argumentation. Journal of Logic and Computation 15, 6, 10091040.CrossRefGoogle Scholar
Prakken, H. and Sartor, G. 1998. Modelling reasoning with precedents in a formal dialogue game. Artificial Intelligence and Law 6, 2–4, 231287.CrossRefGoogle Scholar
Procaccia, A. D. and Rosenschein, J. S. 2005. Extensive-form argumentation games. In EUMAS, 312–322.Google Scholar
Rago, A. and Toni, F. 2017. Quantitative argumentation debates with votes for opinion polling. In PRIMA 2017: Principles and Practice of Multi-Agent Systems - 20th International Conference, Nice, France, 30 October–3 November 2017, Proceedings. LNCS, vol. 10621. Springer, 369385.Google Scholar
Rahwan, I. and Larson, K. 2009. Argumentation and game theory. In Argumentation in Artificial Intelligence. Springer, 321339.CrossRefGoogle Scholar
Rotstein, N. D., Moguillansky, M. O., Garcia, A. J. and Simari, G. R. 2008. An abstract argumentation framework for handling dynamics. In Proceedings of the Argument, Dialogue and Decision Workshop in NMR 2008, 131–139.Google Scholar
Saraswat, V. A., Jagadeesan, R. and Gupta, V. 1994. Foundations of timed concurrent constraint programming. In Proceedings of LICS 1994 - 9th Annual Symposium on Logic in Computer Science. IEEE Computer Society, 7180.Google Scholar
Saraswat, V. A., Jagadeesan, R. and Gupta, V. 1996. Timed default concurrent constraint programming. Journal of Symbolic Computation 22, 5/6, 475520.CrossRefGoogle Scholar
Saraswat, V. A. and Rinard, M. 1990. Concurrent constraint programming. In Proceedings of POPL 1990 - 17th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages. ACM Press, 232245.Google Scholar
Thimm, M. 2014. Strategic argumentation in multi-agent systems. Künstliche Intelligenz 28, 3, 159168.CrossRefGoogle Scholar
Walton, D. and Krabbe, E. C. 1995. Commitment in Dialogue: Basic Concepts of Interpersonal Reasoning. SUNY Press.Google Scholar
Wooldridge, M. J. 2002. Introduction to Multiagent Systems. Wiley.Google Scholar
Yuan, T., Svansson, V., Moore, D. and Grierson, A. 2007. A computer game for abstract argumentation. In Proceedings of the 7th Workshop on Computational Models of Natural Argument (CMNA07).Google Scholar
Figure 0

Fig. 1: Example of abstract argumentation framework.

Figure 1

Fig. 2: Example of reinstatement labelling.

Figure 2

Table 1. tcla syntax

Figure 3

Table 2. tcla operational semantics (part I)

Figure 4

Table 3. tcla operational semantics (part II)

Figure 5

Fig. 3: AF obtained starting from the arguments of Alice, Bob and Carol.

Figure 6

Table 4. tcla program realising the AF of Figure 3

Figure 7

Table 5. Implementation of tcla operations

Figure 8

Fig. 4. Example of execution via the web interface of the tcla programme given in Table 4.

Figure 9

Fig. 5: Parse tree for the tcla programme of Example 7.

Figure 10

Fig. 6: Availability of arguments in shared memory for the tcla programme of Example 7 according to execution with maximum parallelism (left) and interleaving (right).