Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 522 for directed (0.38 sec)

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

      }
    
      @Test
      public void hasEdgeConnecting_directed_correct() {
        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "A");
        assertThat(graph.hasEdgeConnecting(EndpointPair.ordered(1, 2))).isTrue();
      }
    
      @Test
      public void hasEdgeConnecting_directed_backwards() {
        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "A");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 18:35:19 GMT 2024
    - 20K bytes
    - Viewed (0)
  2. 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
    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)
  3. android/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();
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/BaseGraph.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.
       */
      boolean isDirected();
    
      /**
       * Returns true if this graph allows self-loops (edges that connect a node to itself). Attempting
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  5. 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();
    
      /**
    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)
  6. android/guava/src/com/google/common/graph/StandardNetwork.java

     * <p>This class maintains a map of nodes to {@link NetworkConnections}. This class also maintains a
     * map of edges to reference nodes. The reference node is defined to be the edge's source node on
     * directed graphs, and an arbitrary endpoint of the edge on undirected graphs.
     *
     * <p>Collection-returning accessors return unmodifiable views: the view returned will reflect
     * changes to the graph (if the graph is mutable) but may not be modified by the user.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Graphs.java

        if (graph.isDirected()) {
          // Note: works for both directed and undirected graphs, but we only use in the directed case.
          for (N node : graph.nodes()) {
            for (N reachableNode : reachableNodes(graph, node)) {
              transitiveClosure.putEdge(node, reachableNode);
            }
          }
        } else {
          // An optimization for the undirected case: for every node B reachable from node A,
    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)
  8. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedNetwork() {
        testNetworkMutation(NetworkBuilder.directed());
      }
    
      @Test
      public void undirectedNetwork() {
        testNetworkMutation(NetworkBuilder.undirected());
      }
    
      private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

     *
     * <ul>
     *   <li>Test cases related to whether the graph is directed or undirected.
     *   <li>Test cases related to the specific implementation of the {@link Graph} interface.
     * </ul>
     *
     * TODO(user): Make this class generic (using <N, E>) for all node and edge types.
     * TODO(user): Differentiate between directed and undirected edge strings.
     */
    public abstract class AbstractGraphTest {
    
      Graph<Integer> graph;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

     *
     * <ul>
     *   <li>Test cases related to whether the graph is directed or undirected.
     *   <li>Test cases related to the specific implementation of the {@link Graph} interface.
     * </ul>
     *
     * TODO(user): Make this class generic (using <N, E>) for all node and edge types.
     * TODO(user): Differentiate between directed and undirected edge strings.
     */
    public abstract class AbstractGraphTest {
    
      Graph<Integer> graph;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 16.6K bytes
    - Viewed (0)
Back to top