src/main/java/thinkd/ThinkDFast.java
/**
     * Remove an edge from the samples
     * @param src source node of the given edge
     * @param dst destination node of the given edge
     */
Remove an edge from the samples
@param src source node of the given edge
@param dst destination node of the given edge
Remove an edge from the samples @param src source node of the given edge @param dst destination node of the given edge
private void deleteEdge(final int src, final int dst) {
        IntOpenHashSet map = srcToDsts.get(src);
        map.remove(dst);
        if(map.isEmpty()) {
            srcToDsts.remove(src);
        }
        map = srcToDsts.get(dst);
        map.remove(src);
        if(map.isEmpty()) {
            srcToDsts.remove(dst);
        }
    }
private void deleteEdge ( final int src , final int dst ) { IntOpenHashSet map = srcToDsts . get ( src ) ; map . remove ( dst ) ; if ( map . isEmpty ( ) ) { srcToDsts . remove ( src ) ; } map = srcToDsts . get ( dst ) ; map . remove ( src ) ; if ( map . isEmpty ( ) ) { srcToDsts . remove ( dst ) ; } }
Remove an edge from the samples
 @param src source node of the given edge
 @param dst destination node of the given edge
Remove an edge from the samples @param src source node of the given edge @param dst destination node of the given edge