Skip to contents

Return adjacency in a linear habitat

Usage

fun_adj(n, start_id = 1)

Arguments

n

Number of nodes

start_id

Start node ID