Argument

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

Constructors

Link copied to clipboard
constructor(rules: List<RuleIdentifier>, topRule: RuleIdentifier, conclusion: Literal, groundings: List<Literal> = emptyList(), defeasibleRules: List<RuleIdentifier> = emptyList(), defeasiblePremises: List<RuleIdentifier> = emptyList(), lastDefeasibleRules: List<RuleIdentifier> = emptyList(), term: Term? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The rules of the argument (an array in JavaScript)

Link copied to clipboard
Link copied to clipboard

The arguments the argument is built on (an array in JavaScript)

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun termRepresentation(): Term

The term of the argument (see ArgumentTerm)

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun toTerm(): Term

The argument as the context keeps it, argument(Argument)