Skip to main content

Module scheme_bridge

Module scheme_bridge 

Source
Expand description

Bridge between argumentation-schemes and ValueAssignment.

The argument_from_values Walton scheme (Walton 2008 p.321) carries a value premise slot — see argumentation-schemes/src/catalog/practical.rs:120. This module extracts that slot from instantiated schemes and builds a ValueAssignment keyed by the scheme’s conclusion.

For schemes other than argument_from_values, no value is extracted.

§Note on the scheme identifier

SchemeInstance carries scheme_name: String (the human-readable name from SchemeSpec::name), not the snake-case key. We compare against the literal name "Argument from Values" since that is what argument_from_values() registers in the default catalog. If consumers register a custom values scheme under a different name, they should call from_scheme_instances_with_name with the appropriate name.

Constants§

DEFAULT_VALUES_SCHEME_NAME
The default-catalog name of the values scheme — see argumentation-schemes/src/catalog/practical.rs:124.

Functions§

from_scheme_instances
Extract value promotions from an iterator of instantiated schemes using the default catalog’s values-scheme name.
from_scheme_instances_with_name
Same as from_scheme_instances but lets the caller specify a custom values-scheme name (for consumers who register their own variant).