This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date | Location (according to buggy OCR) | |
---|---|---|
10/17/2015 | 1800 CAPISTRANO AVE | |
10/17/2015 | 2100 DWIGHT WAY | |
10/18/2015 | HASTE ST / SHATTUCK AVE | |
10/18/2015 | 2000 HASTE ST | |
10/18/2015 | 2400 WARRING ST | |
10/18/2015 | WARRING ST / CHANNING WAY | |
10/18/2015 | 2200 BLAKE ST | |
10/18/2015 | 2500 BENVENLIE AVE | |
10/18/2015 | 2400 DWIGHT WAY ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-00061442 | |
201500061447 | |
2015-00061449 | |
201500061450 | |
2015-00061454 | |
201500061455 | |
2015-00061459 | |
201500061466 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1800 CAPISTRANO AVE | |
2100 DWIGHT WAY | |
HASTE ST / SHATTUCK AVE | |
2000 HASTE ST | |
2400 WARRING ST | |
WARRING ST / CHANNING WAY | |
2200 BLAKE ST | |
2500 BENVENLIE AVE | |
2400 DWIGHT WAY ' | |
2300 PIEDMONT AVE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(plugin)] | |
#![plugin(peg_syntax_ext)] | |
extern crate llvm_sys as llvm; | |
use std::ptr; | |
use std::ffi::CString; | |
use std::collections::HashMap; | |
use llvm::prelude::*; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling lcs v0.1.0 (file:///Users/ulyssecarion/rust/rust-lcs) | |
src/lib.rs:26:14: 26:47 error: the trait `core::cmp::Eq` is not implemented for the type `T` [E0277] | |
src/lib.rs:26 self.backtrack(a, b, a.len(), b.len()) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/lib.rs:26:14: 26:47 help: run `rustc --explain E0277` to see a detailed explanation | |
src/lib.rs:26:14: 26:47 error: the trait `core::cmp::Eq` is not implemented for the type `T` [E0277] | |
src/lib.rs:26 self.backtrack(a, b, a.len(), b.len()) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
src/lib.rs:26:14: 26:47 help: run `rustc --explain E0277` to see a detailed explanation | |
error: aborting due to previous error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling lcs v0.1.0 (file:///Users/ulyssecarion/rust/rust-lcs) | |
Build failed, waiting for other jobs to finish... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn backtrack<'a, T>(&self, a: &'a [T], b: &'a [T], i: usize, j: usize) -> Vec<&'a T> | |
where T: Eq { | |
if i == 0 || j == 0 { | |
vec![] | |
} else if a[i] == b[j] { | |
let mut prefix_lcs = self.backtrack(a, b, i - 1, j - 1); | |
prefix_lcs.push(&a[i]); | |
prefix_lcs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/0513b84bd3981d34cb88 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn backtrack<'a, T>(&self, a: &'a [T], b: &'a [T], i: usize, j: usize) -> Vec<&'a T> | |
where T: Eq { | |
if i == 0 || j == 0 { | |
vec![] | |
} else if a[i] == b[j] { | |
let mut prefix_lcs = self.backtrack(a, b, i - 1, j - 1); | |
prefix_lcs.push(&a[i]); | |
prefix_lcs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/b22eb3d132441a4e5b19 |