Skip to content

Commit b202909

Browse files
committed
Remove unused method.
1 parent 3118ba4 commit b202909

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

src/main/java/fiji/plugin/trackmate/graph/GraphUtils.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import java.util.TreeSet;
3333
import java.util.function.Supplier;
3434

35-
import org.jgrapht.alg.util.NeighborCache;
3635
import org.jgrapht.graph.DefaultWeightedEdge;
3736
import org.jgrapht.graph.SimpleDirectedWeightedGraph;
3837
import 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
}

0 commit comments

Comments
 (0)