SpaDES (version 1.1.4)

.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)

## S3 method for class 'data.table': .depsPruneEdges(simEdgeList)

Arguments

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

Value

  • An updated edge list object.