alg-seq 0.0.2

Crate containing implementations for algorithms introduced in the AlgSeq lecture at university of Kiel
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::{env, process};

fn main() {
    let args: Vec<String> = env::args().collect();
    if args.len() != 3 {
        eprintln!("Not enough arguments given!");
        process::exit(-1);
    }
    let pattern = &args[1];
    let text = &args[2];
    println!("{:?}", algseq::epmp::naive(&pattern, &text));
}