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§
Sourcefn arguments_for_action(
&self,
actor: &str,
action_name: &str,
action_bindings: &HashMap<String, String>,
) -> Vec<ArgumentPosition>
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?
Sourcefn counter_arguments(
&self,
actor: &str,
action_name: &str,
proposer_arguments: &[ArgumentPosition],
) -> Vec<ArgumentPosition>
fn counter_arguments( &self, actor: &str, action_name: &str, proposer_arguments: &[ArgumentPosition], ) -> Vec<ArgumentPosition>
What counter-arguments can actor make against action?