GRIS
The Gabbay–Rodrigues Iteration Schema updates argument values from initial values, with the resulting extension depending on the starting configuration.
From numerical iteration over argumentation frameworks to computing extensions and testing acceptance: an overview of GRIS, EqArgSolver and totle.
GRIS iterates numerical values assigned to arguments. EqArgSolver developed these ideas into a solver, and totle is the latest version of that line of tools for decision and enumeration problems under several argumentation semantics.
The Gabbay–Rodrigues Iteration Schema updates argument values from initial values, with the resulting extension depending on the starting configuration.
A C++ solver for enumeration and decision problems, using a more specialised algorithm for three-valued semantics.
A newer C++ implementation with memory-management and algorithm improvements, and a parallel extension-computation algorithm in development.
Use totle to compute extensions or decide whether an argument is accepted under grounded, complete, preferred and stable semantics.
For an argumentation framework ⟨S, R⟩, totle can compute one or all extensions, or test the acceptance of a chosen argument across some or all extensions.
Problems use probo's syntax. The framework is provided in Trivial Graph Format (TGF).
Run the solver from a terminal, supplying the executable, input file, output format and problem code.
The executable depends on your platform; the input file must be in TGF format.
<command> -f <inputfile> -p <problem> -fo tgf [-a <argumenttocheck>]totletotle32.exetotle64.exeReplace σ with GR, CO, PR or ST.
SE-σ compute one extension
EE-σ compute all extensions
DC-σ accepted in some extension
DS-σ accepted in all extensionsFor single-extension semantics such as grounded, only SE-GR and DC-GR are available.
This example uses the framework shown in Figure 6.2 of “Efficient Computation of Argumentation Semantics”.
TGF lists one argument per line, then a line containing #, followed by attack pairs: attacker first, target second. Each pair occupies one line.
a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 # a1 a2 a2 a1 a2 a5 a2 a3 a3 a4 a4 a5 a5 a6 a6 a5 a7 a6 a7 a7 a8 a7 a9 a8 a10 a9
./totle -f f6.2.tgf -fo tgf -p EE-PR[[a10,a2,a4,a6,a8],
[a1,a10,a3,a6,a8],
[a1,a10,a3,a5,a8]]| Argument | Credulous · DC-PR | Skeptical · DS-PR |
|---|---|---|
a10 | Yes | Yes |
a2 | Yes | No |
a9 | No | No |


The schema iteratively computes values for a numerical argumentation framework from initial values assigned to its arguments. It is essentially numerical and has applications beyond three-valued semantics.
At each iteration, an argument’s value is updated using the values of its attackers. The sequence corrects the initial values and, in the limit, yields an extension in Dung’s sense. The equation and notation are shown in the original schema figure.
If the initial values already form an extension, the sequence stabilises immediately. Otherwise, the schema corrects the values, and the resulting extension depends on the initial values. The associated paper discusses the relationship between the final extension and admissible sets represented by those initial values.
The gris.py script takes an augmented TGF file, where each argument has an initial numerical value, and iterates until a threshold is met.
python3 gris.py [example.tgf]Arguments are followed by their starting values; attack pairs follow the # separator.
a 0.5
b 0.5
c 0.5
d 0.5
#
a b
b a
b d
c dtotle is used as a laboratory for experimenting with algorithms for argumentation reasoning and is continually updated.
The latest version described on the original page uses an improved algorithm, fixes bugs and is more efficient than the version submitted to ICCMA 2019. A parallel algorithm for computing extensions was noted as in development. The current totle version is not generally distributed; a copy may be requested by email.
Descriptions of the solver algorithms, the GRIS implementation and related competition material.
The latest version is available on request.