topologicalSort: Computes the topological sort of a poset

Description Usage Arguments Details Value Author(s)

Description

topologicalSort outputs the events in a poset according to their topological order.

Usage

1

Arguments

poset

the poset to be sorted

Details

the topological sorting of a poset is useful in iteratively going over all vertices in a poset and making sure every vertex is only visited once

Value

a vector of events (vertices) topologically sorted

Author(s)

Simona Constantinescu, simona.constantinescu@bsse.ethz.ch


cbg-ethz/pathTiMEx documentation built on May 13, 2019, 2:03 p.m.