Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for ValueGraph (0.22 sec)

  1. android/guava/src/com/google/common/graph/ValueGraph.java

     * subtype of {@code ValueGraph} that provides methods for adding and removing nodes and edges. If
     * you do not need to mutate a graph (e.g. if you write a method than runs a read-only algorithm on
     * the graph), you should use the non-mutating {@link ValueGraph} interface, or an {@link
     * ImmutableValueGraph}.
     *
     * <p>You can create an immutable copy of an existing {@code ValueGraph} using {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Graphs.java

      private static class TransposedValueGraph<N, V> extends ForwardingValueGraph<N, V> {
        private final ValueGraph<N, V> graph;
    
        TransposedValueGraph(ValueGraph<N, V> graph) {
          this.graph = graph;
        }
    
        @Override
        ValueGraph<N, V> delegate() {
          return graph;
        }
    
        @Override
        public Set<N> predecessors(N node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/GraphsTest.java

      public void copyOf_directedValueGraph() {
        ValueGraph<Integer, String> directedGraph = buildDirectedValueGraph();
    
        ValueGraph<Integer, String> copy = copyOf(directedGraph);
        assertThat(copy).isEqualTo(directedGraph);
      }
    
      @Test
      public void copyOf_undirectedValueGraph() {
        ValueGraph<Integer, String> undirectedGraph = buildUndirectedValueGraph();
    
        ValueGraph<Integer, String> copy = copyOf(undirectedGraph);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/GraphsTest.java

      public void copyOf_directedValueGraph() {
        ValueGraph<Integer, String> directedGraph = buildDirectedValueGraph();
    
        ValueGraph<Integer, String> copy = copyOf(directedGraph);
        assertThat(copy).isEqualTo(directedGraph);
      }
    
      @Test
      public void copyOf_undirectedValueGraph() {
        ValueGraph<Integer, String> undirectedGraph = buildUndirectedValueGraph();
    
        ValueGraph<Integer, String> copy = copyOf(undirectedGraph);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/TraverserTest.java

        MutableValueGraph<String, Integer> valueGraph = ValueGraphBuilder.directed().build();
        valueGraph.putEdgeValue("a", "b", 11);
    
        Traverser.forTree(valueGraph); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedValueGraph_throws() throws Exception {
        MutableValueGraph<String, Integer> valueGraph = ValueGraphBuilder.undirected().build();
        valueGraph.putEdgeValue("a", "b", 11);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        MutableValueGraph<String, Integer> valueGraph = ValueGraphBuilder.directed().build();
        valueGraph.putEdgeValue("a", "b", 11);
    
        Traverser.forTree(valueGraph); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedValueGraph_throws() throws Exception {
        MutableValueGraph<String, Integer> valueGraph = ValueGraphBuilder.undirected().build();
        valueGraph.putEdgeValue("a", "b", 11);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Network.java

     * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes.
     *
     * <p>There are three primary interfaces provided to represent graphs. In order of increasing
     * complexity they are: {@link Graph}, {@link ValueGraph}, and {@link Network}. You should generally
     * prefer the simplest interface that satisfies your use case. See the <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/Graph.java

     * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes.
     *
     * <p>There are three primary interfaces provided to represent graphs. In order of increasing
     * complexity they are: {@link Graph}, {@link ValueGraph}, and {@link Network}. You should generally
     * prefer the simplest interface that satisfies your use case. See the <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top