public class GraphUtils extends Object
Constructor and Description |
---|
GraphUtils() |
Modifier and Type | Method and Description |
---|---|
static Map<Spot,Integer> |
cumulativeBranchWidth(TrackModel model) |
static Set<Spot> |
getSibblings(org.jgrapht.alg.util.NeighborCache<Spot,org.jgrapht.graph.DefaultWeightedEdge> cache,
Spot spot) |
static boolean |
isTree(Iterable<Spot> spots,
TimeDirectedNeighborIndex cache) |
static boolean |
isTree(TrackModel model,
TimeDirectedNeighborIndex cache) |
static String |
toString(TrackModel model) |
public static final String toString(TrackModel model)
TrackModel
, as
long it is a tree (each spot must not have more than one
predecessor).IllegalArgumentException
- if the given graph is not a tree.public static final boolean isTree(TrackModel model, TimeDirectedNeighborIndex cache)
public static final boolean isTree(Iterable<Spot> spots, TimeDirectedNeighborIndex cache)
public static final Map<Spot,Integer> cumulativeBranchWidth(TrackModel model)
Copyright © 2015–2021 Fiji. All rights reserved.