create.path.graph: Create a Path Graph with Limited Hop Distance

View source: R/path_graphs.R

create.path.graphR Documentation

Create a Path Graph with Limited Hop Distance

Description

Create a Path Graph with Limited Hop Distance

Usage

create.path.graph(graph, edge.lengths, h)

Arguments

graph

A graph adjacency list using 1-based vertex indices.

edge.lengths

Edge-length list matching graph.

h

Integer maximum hop count.

Value

An object of class "path.graph".


dgraphs documentation built on Aug. 21, 2026, 1:08 a.m.