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ยง
- Attack
Weight - 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.
- Weighted
Attack - A weighted directed attack edge:
attackerattackstargetwith the givenweight.