Learn R Programming

SpaDES (version 1.3.1)

.depsPruneEdges: Prune edges to remove cycles in module dependencies

Description

Internal function. Attempts to identify cycles in the dependency graph and remove edges representing object dependencies which are provided by other modules in the simulation.

Usage

.depsPruneEdges(simEdgeList)

# S4 method for data.table .depsPruneEdges(simEdgeList)

Arguments

simEdgeList

An edge list (data.table) produced by depsEdgeList.

Value

An updated edge list object.