use serde::Serialize;
#[derive(Debug, Clone, Serialize)]
pub struct DebuggerConfig {
pub detailed_analysis: bool,
pub check_constraints: bool,
pub analyze_energy: bool,
pub compare_solutions: bool,
pub generate_visuals: bool,
pub output_format: DebugOutputFormat,
pub verbosity: VerbosityLevel,
}
#[derive(Debug, Clone, Serialize)]
pub enum DebugOutputFormat {
Console,
Html,
Json,
Markdown,
}
#[derive(Debug, Clone, PartialEq, Ord, PartialOrd, Eq, Serialize)]
pub enum VerbosityLevel {
Minimal,
Normal,
Detailed,
Debug,
}
impl Default for DebuggerConfig {
fn default() -> Self {
Self {
detailed_analysis: true,
check_constraints: true,
analyze_energy: true,
compare_solutions: false,
generate_visuals: false,
output_format: DebugOutputFormat::Console,
verbosity: VerbosityLevel::Normal,
}
}
}