File tree Expand file tree Collapse file tree
src/main/java/fiji/plugin/trackmate/graph Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232import java .util .TreeSet ;
3333import java .util .function .Supplier ;
3434
35- import org .jgrapht .alg .util .NeighborCache ;
3635import org .jgrapht .graph .DefaultWeightedEdge ;
3736import org .jgrapht .graph .SimpleDirectedWeightedGraph ;
3837import org .jgrapht .graph .SimpleWeightedGraph ;
@@ -419,19 +418,4 @@ private static char[] makeChars( final int width, final char c )
419418 Arrays .fill ( chars , c );
420419 return chars ;
421420 }
422-
423- /**
424- * @return true only if the given model is a tree; that is: every spot has
425- * one or less predecessors.
426- */
427- public static final Set < Spot > getSibblings ( final NeighborCache < Spot , DefaultWeightedEdge > cache , final Spot spot )
428- {
429- final HashSet < Spot > sibblings = new HashSet <>();
430- final Set < Spot > predecessors = cache .predecessorsOf ( spot );
431- for ( final Spot predecessor : predecessors )
432- sibblings .addAll ( cache .successorsOf ( predecessor ) );
433-
434- return sibblings ;
435- }
436-
437421}
You can’t perform that action at this time.
0 commit comments