DeonticExplainable

Trait DeonticExplainable 

Source
pub trait DeonticExplainable<D, S, T, ST, SYM, VS, VT>
where D: Datable + Clone, S: Spatial<VS> + Clone, T: Temporal<VT> + Clone, ST: SpaceTemporal<VS, VT> + Clone, SYM: Symbolic + Clone, VS: Clone, VT: Clone,
{ // Required method fn explain_verdict(&self, verdict: &Verdict) -> Result<String, DeonticError>; }
Expand description

A trait for explaining the reasoning behind a deontic verdict.

Required Methods§

Source

fn explain_verdict(&self, verdict: &Verdict) -> Result<String, DeonticError>

Explains the reasoning behind a given verdict.

§Arguments
  • verdict - A reference to the Verdict to be explained.
§Returns

A Result containing a String with a human-readable explanation, or a DeonticError if the explanation cannot be generated.

Implementors§

Source§

impl<D, S, T, ST, SYM, VS, VT> DeonticExplainable<D, S, T, ST, SYM, VS, VT> for EffectEthos<D, S, T, ST, SYM, VS, VT>
where D: Datable + Clone, S: Spatial<VS> + Clone, T: Temporal<VT> + Clone, ST: SpaceTemporal<VS, VT> + Clone, SYM: Symbolic + Clone, VS: Clone, VT: Clone,