Package-level declarations

Types

Link copied to clipboard
interface ArgItem
Link copied to clipboard
data class Argument(val rules: List<RuleIdentifier>, val topRule: RuleIdentifier, val conclusion: Literal, val groundings: List<Literal> = emptyList(), val defeasibleRules: List<RuleIdentifier> = emptyList(), val defeasiblePremises: List<RuleIdentifier> = emptyList(), val lastDefeasibleRules: List<RuleIdentifier> = emptyList(), term: Term? = null)

An argument of a graph: the rules it is made of, its topRule (none for a premise) and its conclusion, with the arguments it is built on (supports), identified as A0, A1, ... in the graph (identifier); descriptor writes it as A2 : A0,r1 : c

Link copied to clipboard
data class Attack(val attacker: Argument, val target: Argument, val type: AttackType? = null, val on: Argument? = null)

An attack of a graph: attacker attacks target, with its type (rebut, undermine, undercut, ...) and the sub-argument of the target it hits (on), when known

Link copied to clipboard
typealias AttackType = String
Link copied to clipboard
data class Graph(val arguments: List<Argument>, val attacks: List<Attack>, val supports: List<Support>, val labellings: List<LabelledArgument> = emptyList())

An argumentation graph: its arguments, the attacks and the supports between them, and the label of each argument (labellings), in the labelling the graph was read in

Link copied to clipboard
typealias Label = String
Link copied to clipboard
data class LabelledArgument(val argument: Argument, val label: Label)

An argument with its label: in, out, und (na for an argument the labelling does not label)

Link copied to clipboard
typealias Literal = String
Link copied to clipboard
data class Premise(val identifier: RuleIdentifier, val conclusion: Term, val strict: Boolean = false) : ArgItem
Link copied to clipboard
data class Rule(val identifier: RuleIdentifier, val premises: List<Term>, val conclusion: Term, val strict: Boolean = false) : ArgItem
Link copied to clipboard
Link copied to clipboard
data class Support(val supporter: Argument, val supported: Argument)

A support of a graph: supporter is an argument supported is built on

Link copied to clipboard
typealias Term = String
Link copied to clipboard
typealias Theory = Iterable<ArgItem>