rewiring_makes_more_lattice_like: Check that mutating the graph make it more like a lattice

Description Usage Arguments Value

View source: R/rewiring_makes_more_lattice_like.R

Description

The objective is to reduce the overall cost of edges with respect to d. If d is defined so that cost increases with distance from the diagonal, reducing cost will encourage a lattice-like structure.

Usage

1

Arguments

x

An adjacency matrix or igraph object

d

A matrix specifying the "cost" of each edge

edges

A matrix specifying edges as source->target ordered pairs.

Value

logical


crcox/latticize documentation built on Dec. 19, 2021, 6:19 p.m.