topologicallyOrder: Topological ordering.

Description Usage Arguments Value Examples

View source: R/properties.R

Description

Finds a permutation of the nodes 1, ..., p such that each all ancestors of each node have a lower place in the order.

Usage

1

Arguments

parental

An object of class parental

Value

A numeric vector. The order.

Examples

1
2
x <- parental(c(), c(3), c(1), c(1, 2))
topologicallyOrder(x)

rjbgoudie/parental documentation built on May 27, 2019, 9:11 a.m.