traverse_graph: Calculate pathways across bridges

Description Usage Arguments Value Functions

Description

These functions calculate pathways across bridges in konigsberg_graph objects.

Usage

1
2
3
4
5
cross_all_bridges(graph, starting_node = NULL, cheat = TRUE,
  quiet = FALSE, ...)

cross_specific_bridges(graph, starting_node = NULL,
  required_bridges = NULL, cheat = TRUE, quiet = FALSE, ...)

Arguments

graph

A konigsberg_graph

starting_node

An integer specifying the OSM id of the starting node. Defaults to the first vertex in graph.

cheat

Boolean. Allow pathway to re-cross bridges?

quiet

Boolean. Suppress progress messages?

...

Additional variables passed to greedy_search()

required_bridges

The Way or Relation ids of bridges that must be crossed.

Value

A konigsberg_path object, which inherits from the pathfinder_path object from greedy_search()

Functions


dSHARP-CMU/konigsbergr documentation built on Sept. 11, 2019, 3:55 p.m.