goap_ai/
config.rs

1use std::collections::HashMap;
2
3use serde::Deserialize;
4
5use crate::{Action, Algorithm, Goal, Solution, State};
6
7#[derive(Debug, Deserialize)]
8pub struct Config {
9    pub algorithm: Algorithm,
10    pub solution: Solution,
11    pub max_depth: usize,
12    pub state: State,
13    pub goals: HashMap<String, Goal>,
14    pub actions: HashMap<String, Action>,
15}