Skip to main content

ArgumentKnowledge

Trait ArgumentKnowledge 

Source
pub trait ArgumentKnowledge: Send + Sync {
    // Required methods
    fn arguments_for_action(
        &self,
        actor: &str,
        action_name: &str,
        action_bindings: &HashMap<String, String>,
    ) -> Vec<ArgumentPosition>;
    fn counter_arguments(
        &self,
        actor: &str,
        action_name: &str,
        proposer_arguments: &[ArgumentPosition],
    ) -> Vec<ArgumentPosition>;
}
Expand description

Provides per-character argumentation capabilities.

Required Methods§

Source

fn arguments_for_action( &self, actor: &str, action_name: &str, action_bindings: &HashMap<String, String>, ) -> Vec<ArgumentPosition>

What arguments can actor make in support of performing action?

Source

fn counter_arguments( &self, actor: &str, action_name: &str, proposer_arguments: &[ArgumentPosition], ) -> Vec<ArgumentPosition>

What counter-arguments can actor make against action?

Implementors§