dyn_reachability: Deprecated name for 'reachability()'

View source: R/paths.R

dyn_reachabilityR Documentation

Deprecated name for reachability()

Description

dyn_reachability() was renamed reachability(). The old name still works: it passes every argument through unchanged and returns the same result, with a warning of class dynet_deprecated. It will be removed in a future release.

Usage

dyn_reachability(...)

Arguments

...

Arguments passed to reachability().

Value

The result of reachability(): a node-level dynet_metric.

Conditions

Warning: dynet_deprecated on every call. Errors are those of reachability().

Examples

dn <- dynet(data.frame(from = c("A", "B"), to = c("B", "C"),
                       start = c(0, 1), end = c(1, 2)))
# Warns, then returns what reachability(dn) returns.
dyn_reachability(dn)

Dynet documentation built on Oct. 7, 2026, 5:08 p.m.