public final class Dag extends Object
Network.isDag()| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
isDag(Network network)
Determines if a network is a Directed Acyclic Graph (DAG). 
 | 
static boolean | 
isDag(Network network,
     Iterable<Link> ignore,
     Iterable<Link> extra)
Determines if a network is a DAG (Directed Acyclic Graph). 
 | 
public static boolean isDag(Network network)
network - The network to test.true if a dag, false otherwise.Network.isDag()public static boolean isDag(Network network, Iterable<Link> ignore, Iterable<Link> extra)
network - The network to test.ignore - Optional links to ignore.  Can be null.extra - Optional extra links to include. Can be null.true if a dag, false otherwise.Network.isDag()Copyright © 2021. All rights reserved.