Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for MutableNetwork (0.07 sec)

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

          NetworkBuilder.directed().<String, String>immutable().addNode("B").build();
    
      public PackageSanityTests() {
        MutableNetwork<String, String> mutableNetworkA = NetworkBuilder.directed().build();
        mutableNetworkA.addNode("a");
        MutableNetwork<String, String> mutableNetworkB = NetworkBuilder.directed().build();
        mutableNetworkB.addNode("b");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        network.addNode(N1);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addNode(N2);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addEdge(N1, N2, E13);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        network.addNode(N1);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addNode(N2);
    
        assertThat(network).isNotEqualTo(g2);
      }
    
      // Node sets are the same, but edge sets differ.
      @Test
      public void equivalent_edgeSetsDiffer() {
        network.addEdge(N1, N2, E12);
    
        MutableNetwork<Integer, String> g2 = createNetwork(edgeType);
        g2.addEdge(N1, N2, E13);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphsTest.java

      }
    
      @Test
      public void transpose_undirectedNetwork() {
        MutableNetwork<Integer, String> undirectedGraph = NetworkBuilder.undirected().build();
        undirectedGraph.addEdge(N1, N2, E12);
    
        assertThat(transpose(undirectedGraph)).isSameInstanceAs(undirectedGraph);
      }
    
      @Test
      public void transpose_directedNetwork() {
        MutableNetwork<Integer, String> directedGraph =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

        directedGraph = mutableDirectedGraph;
        undirectedGraph = mutableUndirectedGraph;
    
        MutableNetwork<Integer, String> mutableDirectedNetwork =
            NetworkBuilder.directed().allowsParallelEdges(true).allowsSelfLoops(true).build();
        MutableNetwork<Integer, String> mutableUndirectedNetwork =
            NetworkBuilder.undirected().allowsParallelEdges(true).allowsSelfLoops(true).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 18 17:56:35 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/PackageSanityTests.java

          NetworkBuilder.directed().<String, String>immutable().addNode("B").build();
    
      public PackageSanityTests() {
        MutableNetwork<String, String> mutableNetworkA = NetworkBuilder.directed().build();
        mutableNetworkA.addNode("a");
        MutableNetwork<String, String> mutableNetworkB = NetworkBuilder.directed().build();
        mutableNetworkB.addNode("b");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/Network.java

     * NetworkBuilder} class:
     *
     * <pre>{@code
     * MutableNetwork<Integer, MyEdge> network = NetworkBuilder.directed().build();
     * }</pre>
     *
     * <p>{@link NetworkBuilder#build()} returns an instance of {@link MutableNetwork}, which is a
     * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/Network.java

     * NetworkBuilder} class:
     *
     * <pre>{@code
     * MutableNetwork<Integer, MyEdge> network = NetworkBuilder.directed().build();
     * }</pre>
     *
     * <p>{@link NetworkBuilder#build()} returns an instance of {@link MutableNetwork}, which is a
     * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top