Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for inducedSubgraph (0.41 sec)

  1. guava-tests/test/com/google/common/graph/GraphsTest.java

        expectedSubgraph.addEdge(N4, N4, E44);
    
        assertThat(inducedSubgraph(directedGraph, nodeSubset)).isEqualTo(expectedSubgraph);
      }
    
      @Test
      public void inducedSubgraph_nodeNotInGraph() {
        MutableNetwork<Integer, String> undirectedGraph = NetworkBuilder.undirected().build();
    
        assertThrows(
            IllegalArgumentException.class,
            () -> inducedSubgraph(undirectedGraph, ImmutableSet.of(N1)));
      }
    
      @Test
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top