Skip to main content

Module types

Module types 

Source
Expand description

Foundational types for weighted argumentation.

  • AttackWeight โ€” validated non-negative finite f64 wrapper.
  • Budget โ€” validated non-negative finite f64 wrapper for inconsistency-budget values.
  • WeightedAttack โ€” a directed attack edge carrying a weight.

Structsยง

AttackWeight
A non-negative finite attack weight. Constructed via Self::new, which rejects NaN, infinity, and negative values.
Budget
A non-negative finite inconsistency budget. Semantics: attacks whose cumulative weight is at most this value may be tolerated for the purposes of Dung semantics.
WeightedAttack
A weighted directed attack edge: attacker attacks target with the given weight.