Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 129 for undirected (0.14 sec)

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

      //
      // ValueGraph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      @Override
      boolean isDirected();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphsTest.java

        MutableGraph<Integer> undirectedGraph =
            GraphBuilder.undirected().allowsSelfLoops(false).build();
        undirectedGraph.putEdge(N1, N2);
        undirectedGraph.putEdge(N1, N3);
        undirectedGraph.putEdge(N2, N3);
        undirectedGraph.addNode(N4);
    
        MutableGraph<Integer> expectedClosure = GraphBuilder.undirected().allowsSelfLoops(true).build();
        expectedClosure.putEdge(N1, N1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/ImmutableGraph.java

         * endpoints}) if one is not already present.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered and the added edge will be
         * directed; if it is undirected, the added edge will be undirected.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered.
         *
         * <p>If either or both endpoints are not already present in this graph, this method will
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

      Network<Integer, String> undirectedNetwork;
    
      @Before
      public void init() {
        MutableGraph<Integer> mutableDirectedGraph =
            GraphBuilder.directed().allowsSelfLoops(true).build();
        MutableGraph<Integer> mutableUndirectedGraph =
            GraphBuilder.undirected().allowsSelfLoops(true).build();
        graphsToTest = ImmutableList.of(mutableDirectedGraph, mutableUndirectedGraph);
        directedGraph = mutableDirectedGraph;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 18 17:56:35 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/MutableNetwork.java

      /**
       * Adds {@code edge} connecting {@code endpoints}. In an undirected network, {@code edge} will
       * also connect {@code nodeV} to {@code nodeU}.
       *
       * <p>If this graph is directed, {@code edge} will be directed in this graph; if it is undirected,
       * {@code edge} will be undirected in this graph.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Graph.java

      //
      // Graph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      @Override
      boolean isDirected();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/Graph.java

      //
      // Graph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      @Override
      boolean isDirected();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      @Test
      public void copyOf_incidentEdgeOrder() {
        ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      @Test
      public void copyOf_incidentEdgeOrder() {
        ImmutableGraph<Object> graph = ImmutableGraph.copyOf(GraphBuilder.undirected().build());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Network.java

      //
      // Network properties
      //
    
      /**
       * Returns true if the edges in this network are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      boolean isDirected();
    
      /**
       * Returns true if this network allows parallel edges. Attempting to add a parallel edge to a
    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