public final class TopologicalSort extends Object
| Modifier and Type | Method and Description | 
|---|---|
static Node[] | 
sort(Network network)
Returns the nodes in a Bayesian network sorted in topological order. 
 | 
static TopologicalSortNodeInfo[] | 
sortWithDepth(Network network)
Returns the nodes in a Bayesian network sorted and grouped in topological order. 
 | 
public static Node[] sort(Network network)
network - The Bayesian network.public static TopologicalSortNodeInfo[] sortWithDepth(Network network)
network - The Bayesian network.Copyright © 2021. All rights reserved.