topologicalOrder: Find topological ordering of vertices

View source: R/Types.R

topologicalOrderR Documentation

Find topological ordering of vertices

Description

Looks for topological ordering of vertices with respect to directed edges.

Usage

topologicalOrder(graph, warn = TRUE)

isTopological(graph, v)

Arguments

graph

a mixedgraph object

warn

logical: should a cyclic graph return a warning?

v

an ordering of the vertices

Details

isTopological tests for an ordering being topological. If the graph is cyclic, it returns NA, with or without a warning depending on the value of warn.

Functions

  • isTopological(): Check if ordering is topological


rje42/MixedGraphs documentation built on March 20, 2024, 8:09 a.m.