SYMBOL INDEX (320 symbols across 30 files) FILE: leuvenmapmatching/map/base.py class BaseMap (line 42) | class BaseMap(object): method __init__ (line 45) | def __init__(self, name, use_latlon=True): method use_latlon (line 56) | def use_latlon(self): method use_latlon (line 60) | def use_latlon(self, value): method bb (line 73) | def bb(self): method labels (line 80) | def labels(self): method size (line 84) | def size(self): method node_coordinates (line 88) | def node_coordinates(self, node_key): method edges_closeto (line 92) | def edges_closeto(self, loc, max_dist=None, max_elmt=None): method nodes_closeto (line 103) | def nodes_closeto(self, loc, max_dist=None, max_elmt=None): method nodes_nbrto (line 114) | def nodes_nbrto(self, node): method edges_nbrto (line 123) | def edges_nbrto(self, edge): method all_nodes (line 140) | def all_nodes(self, bb=None): method all_edges (line 147) | def all_edges(self, bb=None): FILE: leuvenmapmatching/map/inmem.py class InMemMap (line 46) | class InMemMap(BaseMap): method __init__ (line 47) | def __init__(self, name, use_latlon=True, use_rtree=False, index_edges... method vertex_label_to_int (line 103) | def vertex_label_to_int(self, label, create=False): method vertices_labels_to_int (line 117) | def vertices_labels_to_int(self): method serialize (line 125) | def serialize(self): method deserialize (line 142) | def deserialize(cls, data): method dump (line 152) | def dump(self): method from_pickle (line 171) | def from_pickle(cls, filename): method bb (line 179) | def bb(self): method labels (line 192) | def labels(self): method size (line 196) | def size(self): method node_coordinates (line 199) | def node_coordinates(self, node_key): method add_node (line 207) | def add_node(self, node, loc): method del_node (line 223) | def del_node(self, node): method add_edge (line 232) | def add_edge(self, node_a, node_b): method _items_in_bb (line 254) | def _items_in_bb(self, bb): method all_edges (line 266) | def all_edges(self, bb=None): method all_nodes (line 287) | def all_nodes(self, bb=None): method purge (line 301) | def purge(self): method rtree_size (line 318) | def rtree_size(self): method rtree_fn (line 326) | def rtree_fn(self): method setup_index (line 332) | def setup_index(self, force=False, deserializing=False): method fill_index (line 388) | def fill_index(self): method to_xy (line 397) | def to_xy(self, name=None, use_rtree=None): method latlon2xy (line 419) | def latlon2xy(self, lat, lon): method latlon2yx (line 423) | def latlon2yx(self, lat, lon): method xy2latlon (line 427) | def xy2latlon(self, x, y): method yx2latlon (line 431) | def yx2latlon(self, y, x): method nodes_closeto (line 435) | def nodes_closeto(self, loc, max_dist=None, max_elmt=None): method edges_closeto (line 472) | def edges_closeto(self, loc, max_dist=None, max_elmt=None): method nodes_nbrto (line 517) | def nodes_nbrto(self, node): method edges_nbrto (line 531) | def edges_nbrto(self, edge): method find_duplicates (line 547) | def find_duplicates(self, func=None): method connect_parallelroads (line 560) | def connect_parallelroads(self, dist=0.5, bb=None): method print_stats (line 584) | def print_stats(self): method __str__ (line 588) | def __str__(self): FILE: leuvenmapmatching/map/sqlite.py class SqliteMap (line 43) | class SqliteMap(BaseMap): method __init__ (line 44) | def __init__(self, name, use_latlon=True, method read_properties (line 104) | def read_properties(self): method save_properties (line 110) | def save_properties(self): method create_db (line 120) | def create_db(self): method from_file (line 179) | def from_file(cls, filename): method bb (line 185) | def bb(self): method labels (line 195) | def labels(self): method size (line 202) | def size(self): method node_coordinates (line 208) | def node_coordinates(self, node_key): method add_node (line 221) | def add_node(self, node, loc, ignore_doubles=False, no_index=False, no... method reindex_nodes (line 251) | def reindex_nodes(self): method add_nodes (line 265) | def add_nodes(self, nodes): method del_node (line 287) | def del_node(self, node): method add_edge (line 290) | def add_edge(self, node_a, node_b, loc_a=None, loc_b=None, speed=None,... method add_edges (line 324) | def add_edges(self, edges, no_index=False): method reindex_edges (line 346) | def reindex_edges(self): method all_edges (line 370) | def all_edges(self, bb=None): method all_nodes (line 394) | def all_nodes(self, bb=None): method purge (line 415) | def purge(self): method to_xy (line 418) | def to_xy(self, name=None): method latlon2xy (line 439) | def latlon2xy(self, lat, lon): method latlon2yx (line 443) | def latlon2yx(self, lat, lon): method xy2latlon (line 447) | def xy2latlon(self, x, y): method yx2latlon (line 451) | def yx2latlon(self, y, x): method nodes_closeto (line 455) | def nodes_closeto(self, loc, max_dist=None, max_elmt=None): method edges_closeto (line 483) | def edges_closeto(self, loc, max_dist=None, max_elmt=None): method nodes_nbrto (line 513) | def nodes_nbrto(self, node): method edges_nbrto (line 523) | def edges_nbrto(self, edge): method find_duplicates (line 543) | def find_duplicates(self, func=None): method connect_parallelroads (line 558) | def connect_parallelroads(self, dist=0.5, bb=None): method nodes_to_paths (line 581) | def nodes_to_paths(self, nodes, ignore_nopath=True): method path_dist (line 595) | def path_dist(self, path): method print_stats (line 606) | def print_stats(self): method __str__ (line 610) | def __str__(self): FILE: leuvenmapmatching/matcher/base.py class BaseMatching (line 37) | class BaseMatching(object): method __init__ (line 44) | def __init__(self, matcher: 'BaseMatcher', edge_m: Segment, edge_o: Se... method prune_value (line 86) | def prune_value(self): method next (line 91) | def next(self, edge_m: Segment, edge_o: Segment, obs: int = 0, obs_ne:... method first (line 176) | def first(cls, logprob_init, edge_m, edge_o, matcher, dist_obs): method update (line 189) | def update(self, m_next): method _update_inner (line 217) | def _update_inner(self, m_other: 'BaseMatching'): method is_nonemitting (line 233) | def is_nonemitting(self): method is_emitting (line 236) | def is_emitting(self): method last_emitting_logprob (line 239) | def last_emitting_logprob(self): method __str__ (line 247) | def __str__(self, label_width=None): method __repr__ (line 261) | def __repr__(self): method repr_header (line 265) | def repr_header(label_width=None, stop=""): method repr_static (line 273) | def repr_static(fields, label_width=None): method label (line 284) | def label(self): method cname (line 291) | def cname(self): method key (line 298) | def key(self): method shortkey (line 308) | def shortkey(self): method nodes (line 316) | def nodes(self): method __hash__ (line 322) | def __hash__(self): method __lt__ (line 325) | def __lt__(self, o): method __le__ (line 328) | def __le__(self, o): method __eq__ (line 331) | def __eq__(self, o): method __ne__ (line 334) | def __ne__(self, o): method __ge__ (line 337) | def __ge__(self, o): method __gt__ (line 340) | def __gt__(self, o): class LatticeColumn (line 344) | class LatticeColumn: method __init__ (line 346) | def __init__(self, obs_idx): method __contains__ (line 351) | def __contains__(self, item): method __len__ (line 357) | def __len__(self): method set_delayed (line 360) | def set_delayed(self, delayed): method dict (line 366) | def dict(self, obs_ne=None): method values_all (line 373) | def values_all(self): method values (line 380) | def values(self, obs_ne=None): method upsert (line 387) | def upsert(self, matching): method prune (line 401) | def prune(self, obs_ne, max_lattice_width, expand_upto, prune_thr=None): class BaseMatcher (line 447) | class BaseMatcher: method __init__ (line 449) | def __init__(self, map_con, obs_noise=1, max_dist_init=None, max_dist=... method logprob_trans (line 523) | def logprob_trans(self, prev_m, edge_m, edge_o, method logprob_obs (line 535) | def logprob_obs(self, dist, prev_m, new_edge_m, new_edge_o, is_ne=False): method match_gpx (line 545) | def match_gpx(self, gpx_file, unique=True): method do_stop (line 551) | def do_stop(self, logprob_norm, dist, logprob_trans, logprob_obs): method _insert (line 561) | def _insert(self, m_next): method match (line 564) | def match(self, path, unique=False, tqdm=None, expand=False): method _skip_ne_states (line 667) | def _skip_ne_states(self, prev_m): method _create_start_nodes (line 671) | def _create_start_nodes(self, use_edges=True): method increase_delayed (line 731) | def increase_delayed(self, expand_from=None): method _match_states (line 740) | def _match_states(self, obs_idx, prev_lattice=None, max_dist=None, inc... method _match_non_emitting_states (line 861) | def _match_non_emitting_states(self, obs_idx, expand=False): method _node_in_prev_ne (line 908) | def _node_in_prev_ne(self, m_next, label): method _insert_tmp (line 931) | def _insert_tmp(m_next, lattice): method _match_non_emitting_states_inner (line 938) | def _match_non_emitting_states_inner(self, cur_lattice, obs_idx, obs, ... method _match_non_emitting_states_end (line 1051) | def _match_non_emitting_states_end(self, cur_lattice, obs_idx, obs_next, method get_matching (line 1143) | def get_matching(self, identifier=None): method get_matching_path (line 1187) | def get_matching_path(self, start_m): method get_node_path (line 1192) | def get_node_path(self, start_m, only_nodes=False): method get_path (line 1200) | def get_path(self, only_nodes=True, allow_jumps=False, only_closest=Tr... method node_path_to_only_nodes (line 1213) | def node_path_to_only_nodes(self, path, allow_jumps=False): method _build_matching_path (line 1259) | def _build_matching_path(self, start_m, max_depth=None): method _build_node_path (line 1289) | def _build_node_path(self, start_idx, unique=True, max_depth=None, las... method increase_max_lattice_width (line 1330) | def increase_max_lattice_width(self, max_lattice_width, unique=False, ... method continue_with_distance (line 1346) | def continue_with_distance(self, from_matches=None, k=2, nb_obs=2, max... method path_bb (line 1366) | def path_bb(self): method print_lattice (line 1375) | def print_lattice(self, file=None, obs_idx=None, obs_ne=0, label_width... method lattice_dot (line 1398) | def lattice_dot(self, file=None, precision=None, render=False): method print_lattice_stats (line 1475) | def print_lattice_stats(self, file=None, verbose=False): method node_counts (line 1516) | def node_counts(self): method inspect_early_stopping (line 1525) | def inspect_early_stopping(self): method best_last_matches (line 1544) | def best_last_matches(self, k=1, nb_obs=3): method copy_lastinterface (line 1585) | def copy_lastinterface(self, nb_interfaces=1): method path_pred (line 1616) | def path_pred(self): method path_pred_onlynodes (line 1621) | def path_pred_onlynodes(self): method path_pred_onlynodes_withjumps (line 1626) | def path_pred_onlynodes_withjumps(self): method path_pred_distance (line 1630) | def path_pred_distance(self): method path_distance (line 1649) | def path_distance(self): method path_all_distances (line 1662) | def path_all_distances(self): FILE: leuvenmapmatching/matcher/distance.py class DistanceMatching (line 25) | class DistanceMatching(BaseMatching): method __init__ (line 28) | def __init__(self, *args, d_s=0.0, d_o=0.0, lpe=0.0, lpt=0.0, **kwargs): method _update_inner (line 44) | def _update_inner(self, m_other): method repr_header (line 53) | def repr_header(label_width=None, stop=""): method __str__ (line 60) | def __str__(self, label_width=None): method __repr__ (line 67) | def __repr__(self): class DistanceMatcher (line 71) | class DistanceMatcher(BaseMatcher): method __init__ (line 92) | def __init__(self, *args, **kwargs): method logprob_trans (line 152) | def logprob_trans(self, prev_m, edge_m, edge_o, method logprob_obs (line 237) | def logprob_obs(self, dist, prev_m=None, new_edge_m=None, new_edge_o=N... method _skip_ne_states (line 257) | def _skip_ne_states(self, next_ne_m): FILE: leuvenmapmatching/matcher/newsonkrumm.py class NewsonKrummMatching (line 27) | class NewsonKrummMatching(BaseMatching): method __init__ (line 30) | def __init__(self, *args, d_s=1.0, d_o=1.0, lpe=0.0, lpt=0.0, **kwargs): method _update_inner (line 46) | def _update_inner(self, m_other): method repr_header (line 55) | def repr_header(label_width=None, stop=""): method __str__ (line 62) | def __str__(self, label_width=None): class NewsonKrummMatcher (line 70) | class NewsonKrummMatcher(BaseMatcher): method __init__ (line 97) | def __init__(self, *args, **kwargs): method logprob_trans (line 122) | def logprob_trans(self, prev_m: NewsonKrummMatching, edge_m, edge_o, method logprob_obs (line 167) | def logprob_obs(self, dist, prev_m, new_edge_m, new_edge_o, is_ne=False): FILE: leuvenmapmatching/matcher/simple.py class SimpleMatching (line 17) | class SimpleMatching(BaseMatching): class SimpleMatcher (line 21) | class SimpleMatcher(BaseMatcher): method __init__ (line 23) | def __init__(self, *args, **kwargs): method logprob_trans (line 52) | def logprob_trans(self, prev_m: BaseMatching, edge_m: Segment, edge_o:... method logprob_obs (line 79) | def logprob_obs(self, dist, prev_m, new_edge_m, new_edge_o, is_ne=False): FILE: leuvenmapmatching/util/__init__.py function approx_equal (line 14) | def approx_equal(a, b, rtol=0.0, atol=1e-08): function approx_leq (line 18) | def approx_leq(a, b, rtol=0.0, atol=1e-08): FILE: leuvenmapmatching/util/debug.py function printd (line 7) | def printd(*args, **kwargs): FILE: leuvenmapmatching/util/dist_euclidean.py function distance (line 18) | def distance(p1, p2): function distance_point_to_segment (line 24) | def distance_point_to_segment(p, s1, s2, delta=0.0): function distance_segment_to_segment (line 33) | def distance_segment_to_segment(f1, f2, t1, t2): function project (line 97) | def project(s1, s2, p, delta=0.0): function interpolate_path (line 114) | def interpolate_path(path, dd): function box_around_point (line 137) | def box_around_point(p, dist): function lines_parallel (line 144) | def lines_parallel(la, lb, lc, ld, d=None): FILE: leuvenmapmatching/util/dist_latlon.py function distance (line 25) | def distance(p1, p2): function distance_point_to_segment (line 40) | def distance_point_to_segment(p, s1, s2, delta=0.0, constrain=True): function distance_segment_to_segment (line 98) | def distance_segment_to_segment(f1, f2, t1, t2): function project (line 143) | def project(s1, s2, p, delta=0.0): function box_around_point (line 148) | def box_around_point(p, dist): function interpolate_path (line 160) | def interpolate_path(path, dd): function bearing_radians (line 186) | def bearing_radians(lat1, lon1, lat2, lon2): function distance_haversine_radians (line 194) | def distance_haversine_radians(lat1, lon1, lat2, lon2, radius=earth_radi... function destination_radians (line 204) | def destination_radians(lat1, lon1, bearing, dist): function lines_parallel (line 211) | def lines_parallel(f1, f2, t1, t2, d=None): FILE: leuvenmapmatching/util/dist_latlon_nvector.py function distance (line 22) | def distance(p1, p2): function distance_gp (line 36) | def distance_gp(p1, p2): function distance_point_to_segment (line 41) | def distance_point_to_segment(p, s1, s2, delta=0.0): function distance_segment_to_segment (line 60) | def distance_segment_to_segment(f1, f2, t1, t2): function project (line 92) | def project(s1, s2, p, delta=0.0): function _project_nvector (line 100) | def _project_nvector(s1, s2, p, delta=0.0): function _cross_track_point (line 111) | def _cross_track_point(path, point): function interpolate_path (line 136) | def interpolate_path(path, dd): FILE: leuvenmapmatching/util/evaluation.py function route_mismatch_factor (line 25) | def route_mismatch_factor(map_con, path_pred, path_grnd, window=None, di... FILE: leuvenmapmatching/util/gpx.py function gpx_to_path (line 21) | def gpx_to_path(gpx_file): function path_to_gpx (line 37) | def path_to_gpx(path, filename=None): FILE: leuvenmapmatching/util/kalman.py function smooth_path (line 19) | def smooth_path(path, dt=1, obs_noise=1e-4, loc_var=1e-4, vel_var=1e-6, ... FILE: leuvenmapmatching/util/openstreetmap.py function locations_to_map (line 19) | def locations_to_map(locations, map_con, filename=None): function bb_to_map (line 27) | def bb_to_map(bb, map_con, filename=None): function file_to_map (line 54) | def file_to_map(filename, map_con): function download_map_xml (line 70) | def download_map_xml(fn, bbox, force=False, verbose=False): function create_map_from_xml (line 101) | def create_map_from_xml(fn, include_footways=False, include_parking=False, FILE: leuvenmapmatching/util/projections.py function latlon2equirectangular (line 18) | def latlon2equirectangular(lat, lon, phi_er=0, lambda_er=0): function equirectangular2latlon (line 32) | def equirectangular2latlon(y, x, phi_er=0, lambda_er=0): function latlon2grs80 (line 44) | def latlon2grs80(coordinates, lon_0=0.0, lat_ts=0.0, y_0=0, x_0=0.0, zon... FILE: leuvenmapmatching/util/segment.py class Segment (line 16) | class Segment(object): method __init__ (line 20) | def __init__(self, l1, p1, l2=None, p2=None, pi=None, ti=None): method label (line 39) | def label(self): method rlabel (line 45) | def rlabel(self): method key (line 51) | def key(self): method pi (line 57) | def pi(self): method pi (line 63) | def pi(self, value): method ti (line 70) | def ti(self): method ti (line 76) | def ti(self, value): method is_point (line 79) | def is_point(self): method last_point (line 82) | def last_point(self): method loc_to_str (line 87) | def loc_to_str(self): method __str__ (line 94) | def __str__(self): method __repr__ (line 101) | def __repr__(self): FILE: leuvenmapmatching/visualization.py function plot_map (line 31) | def plot_map(map_con, path=None, nodes=None, counts=None, ax=None, use_o... function plot_lattice (line 316) | def plot_lattice(ax, to_pixels, matcher): function plot_obs_noise_dist (line 342) | def plot_obs_noise_dist(obs_fn, obs_noise, min_dist=0, max_dist=10): FILE: tests/examples/example_using_osmnx_and_geopandas.py function run (line 15) | def run(): FILE: tests/test_bugs.py function test_bug1 (line 32) | def test_bug1(): function test_bug2 (line 71) | def test_bug2(): FILE: tests/test_conversion.py function test_path_to_gpx (line 20) | def test_path_to_gpx(): function test_grs80 (line 31) | def test_grs80(): function test_distance1 (line 43) | def test_distance1(): function test_distance2 (line 50) | def test_distance2(): function test_bearing1 (line 59) | def test_bearing1(): function test_destination1 (line 68) | def test_destination1(): function test_distance_segment_to_segment1 (line 78) | def test_distance_segment_to_segment1(): function test_distance_segment_to_segment2 (line 93) | def test_distance_segment_to_segment2(): function test_distance_segment_to_segment3 (line 108) | def test_distance_segment_to_segment3(): function test_distance_segment_to_segment4 (line 123) | def test_distance_segment_to_segment4(): function test_distance_point_to_segment1 (line 138) | def test_distance_point_to_segment1(): function plot_distance_point_to_segment_latlon (line 171) | def plot_distance_point_to_segment_latlon(f, t1, t2, pt, fn): function plot_distance_segment_to_segment_latlon (line 192) | def plot_distance_segment_to_segment_latlon(f1, f2, t1, t2, pf, pt, fn): function plot_distance_segment_to_segment_euc (line 215) | def plot_distance_segment_to_segment_euc(f1, f2, t1, t2, pf, pt, fn): FILE: tests/test_examples.py function test_examples (line 27) | def test_examples(): function importrun_file (line 33) | def importrun_file(fn, cmp_with_previous=False): function execute_file (line 41) | def execute_file(fn, cmp_with_previous=False): FILE: tests/test_newsonkrumm2009.py function read_gps (line 60) | def read_gps(route_fn): function read_paths (line 76) | def read_paths(paths_fn): function parse_linestring (line 90) | def parse_linestring(line): function read_map (line 100) | def read_map(map_fn): function correct_map (line 163) | def correct_map(mmap): function load_data (line 176) | def load_data(): function test_route_slice1 (line 238) | def test_route_slice1(): function test_bug1 (line 258) | def test_bug1(): function test_route (line 299) | def test_route(): function test_bug2 (line 386) | def test_bug2(): FILE: tests/test_nonemitting.py function setup_map (line 34) | def setup_map(): function visualize_map (line 53) | def visualize_map(pathnb=1): function test_path1 (line 64) | def test_path1(): function test_path1_inc (line 85) | def test_path1_inc(): function test_path1_dist (line 123) | def test_path1_dist(): function test_path2 (line 146) | def test_path2(): function test_path2_dist (line 167) | def test_path2_dist(): function test_path2_incremental (line 186) | def test_path2_incremental(): function test_path_duplicate (line 207) | def test_path_duplicate(): function test_path3_many_obs (line 244) | def test_path3_many_obs(): function test_path3_few_obs_en (line 274) | def test_path3_few_obs_en(): function test_path3_few_obs_e (line 301) | def test_path3_few_obs_e(): function test_path3_dist (line 328) | def test_path3_dist(): FILE: tests/test_nonemitting_circle.py function setup_map (line 30) | def setup_map(disconnect=True): function visualize_map (line 65) | def visualize_map(): function visualize_path (line 84) | def visualize_path(matcher, mapdb, name="test"): function test_path1 (line 97) | def test_path1(): function test_path1_dist (line 108) | def test_path1_dist(): function test_path2 (line 119) | def test_path2(): function test_path2_dist (line 138) | def test_path2_dist(): FILE: tests/test_parallelroads.py function create_map1 (line 25) | def create_map1(): function create_path1 (line 52) | def create_path1(): function test_parallel (line 56) | def test_parallel(): function test_bb1 (line 61) | def test_bb1(): function test_merge1 (line 97) | def test_merge1(): function test_path1 (line 108) | def test_path1(): FILE: tests/test_path.py function test_path1 (line 26) | def test_path1(): function test_path1_dist (line 57) | def test_path1_dist(): function test_path2 (line 85) | def test_path2(): function test_path2_inc (line 121) | def test_path2_inc(): function test_path2_dist (line 176) | def test_path2_dist(): function test_path_outlier (line 208) | def test_path_outlier(): function test_path_outlier2 (line 246) | def test_path_outlier2(): function test_path_outlier_dist (line 280) | def test_path_outlier_dist(): function test_path3 (line 314) | def test_path3(): function test_path3_dist (line 339) | def test_path3_dist(): function test_path4_dist_inc (line 360) | def test_path4_dist_inc(): function test_path4_dist_inc_missing (line 403) | def test_path4_dist_inc_missing(): FILE: tests/test_path_latlon.py function prepare_files (line 37) | def prepare_files(verbose=False, force=False, download_from_osm=False): function test_path1 (line 59) | def test_path1(use_rtree=False): function test_path1_serialization (line 85) | def test_path1_serialization(use_rtree=False): function test_path1_full (line 118) | def test_path1_full(): function test_path2_proj (line 137) | def test_path2_proj(): function test_path2 (line 166) | def test_path2(): function test_path3 (line 193) | def test_path3(): FILE: tests/test_path_onlyedges.py function test_path1 (line 24) | def test_path1(): function test_path3 (line 55) | def test_path3():