Dung: An implementation of the Dung argumentation frameworks.

[ ai, argumentation, bsd3, embedded, library, program ] [ Propose Tags ] [ Report a vulnerability ]

An implementation of Dung's argumentation frameworks, an abstract argumentation model used to either directly represent conflicting information, or used as a translation target for more complex (structured) argumentation models. For an introduction to Dung's frameworks see http://en.wikipedia.org/wiki/Argumentation_framework and Dung's paper from 1995: "On the acceptability of arguments and its fundamental role in nonmonotonic reasoning, logic programming, and n-person games", Artificial Intelligence 77: 321-357. For the papers accompanying this library see "Towards a framework for the implementation and verification of translations between argumentation models" and "A principled approach to the implementation of argumentation models", available at https://scholar.google.com/citations?user=Xu4yjvwAAAAJ&hl.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.9, 1.0, 1.0.0.1, 1.1, 2.0.0.0
Change log CHANGELOG.md
Dependencies base (>=4.16 && <5), containers (>=0.6 && <0.8), Dung, optparse-applicative (>=0.17 && <0.19), parsec (>=3.1 && <3.2) [details]
Tested with ghc ==9.4.8, ghc ==9.6.6, ghc ==9.8.4, ghc ==9.10.1
License BSD-3-Clause
Copyright Copyright (C) 2014-2026 Bas van Gijzel
Author Bas van Gijzel
Maintainer Bas van Gijzel <nenekotan+git@gmail.com>
Uploaded by BasVanGijzel at 2026-02-08T12:47:34Z
Category Argumentation, Embedded, AI
Home page https://github.com/nebasuke/Dung
Source repo head: git clone https://github.com/nebasuke/Dung
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Executables dungell
Downloads 4126 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-02-08 [all 1 reports]

Readme for Dung-2.0.0.0

[back to package description]

Dung

An implementation of Dung's argumentation frameworks, an abstract argumentation model used to either directly represent conflicting information, or used as a translation target for more complex (structured) argumentation models.

For an introduction to Dung's frameworks see the Wikipedia article on argumentation frameworks and Dung's paper from 1995:

"On the acceptability of arguments and its fundamental role in nonmonotonic reasoning, logic programming, and n-person games", Artificial Intelligence 77: 321-357.

For the papers accompanying this library see:

  • "Towards a framework for the implementation and verification of translations between argumentation models"
  • "A principled approach to the implementation of argumentation models"

Available at https://scholar.google.com/citations?user=Xu4yjvwAAAAJ&hl.

Usage

import Language.Dung

-- Define an argumentation framework: A -> B -> C
let af = AF ["A", "B", "C"] [("A", "B"), ("B", "C")]

-- Compute the grounded extension
groundedExt af
-- ["A", "C"]

-- Compute preferred extensions
preferredExt af
-- [["A","C"]]

Executable

The dungell executable reads argumentation frameworks from files in CEGARTIX/PrefSat format:

dungell --filename exampleaf.txt --grounded
dungell --filename exampleaf.txt --preferred
dungell --filename exampleaf.txt --all

License

BSD-3-Clause. See LICENSE for details.