You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
473 B
Rust

#[derive(Copy, Clone, Debug, PartialEq)]
pub enum RunMode
{
FirstCase,
SecondCase,
}
#[derive(Copy, Clone, Debug, PartialEq)]
pub enum DataSet
{
Test,
TestAlt,
Full,
}
pub trait Solver
{
// TODO: Remove this function. Right now it just shows a "static" trait method.
fn print_test()
{
println!("SOLVER BASE PRINT TEST");
}
fn init(self: &mut Self, data_set: DataSet, run_mode: RunMode, enable_debug_prints: bool);
fn solve(self: &mut Self) -> String;
}