Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,146 for directed (0.07 sec)

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

        Graph<String> graph1 = ImmutableGraph.copyOf(GraphBuilder.directed().<String>build());
        Graph<String> graph2 = ImmutableGraph.copyOf(graph1);
    
        assertThat(graph2).isSameInstanceAs(graph1);
      }
    
      @Test
      public void immutableGraphBuilder_appliesGraphBuilderConfig() {
        ImmutableGraph<String> emptyGraph =
            GraphBuilder.directed()
                .allowsSelfLoops(true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/StandardImmutableGraphAdditionalTest.java

        Graph<String> graph1 = ImmutableGraph.copyOf(GraphBuilder.directed().<String>build());
        Graph<String> graph2 = ImmutableGraph.copyOf(graph1);
    
        assertThat(graph2).isSameInstanceAs(graph1);
      }
    
      @Test
      public void immutableGraphBuilder_appliesGraphBuilderConfig() {
        ImmutableGraph<String> emptyGraph =
            GraphBuilder.directed()
                .allowsSelfLoops(true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

            ImmutableNetwork.copyOf(NetworkBuilder.directed().<String, String>build());
        Network<String, String> network2 = ImmutableNetwork.copyOf(network1);
    
        assertThat(network2).isSameInstanceAs(network1);
      }
    
      @Test
      public void edgesConnecting_directed() {
        MutableNetwork<String, String> mutableNetwork =
            NetworkBuilder.directed().allowsSelfLoops(true).build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractGraphBuilder.java

       *     false, creates an instance for graphs whose edges are each undirected.
       */
      AbstractGraphBuilder(boolean directed) {
        this.directed = directed;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

      private final EdgeType edgeType;
      private final MutableGraph<Integer> graph;
    
      // add parameters: directed/undirected
      @Parameters
      public static Collection<Object[]> parameters() {
        return Arrays.asList(new Object[][] {{EdgeType.UNDIRECTED}, {EdgeType.DIRECTED}});
      }
    
      public GraphEquivalenceTest(EdgeType edgeType) {
        this.edgeType = edgeType;
        this.graph = createGraph(edgeType);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

      private final EdgeType edgeType;
      private final MutableGraph<Integer> graph;
    
      // add parameters: directed/undirected
      @Parameters
      public static Collection<Object[]> parameters() {
        return Arrays.asList(new Object[][] {{EdgeType.UNDIRECTED}, {EdgeType.DIRECTED}});
      }
    
      public GraphEquivalenceTest(EdgeType edgeType) {
        this.edgeType = edgeType;
        this.graph = createGraph(edgeType);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. 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
    - 22.4K bytes
    - Viewed (0)
  8. 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)
  9. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

            ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build());
        ValueGraph<String, Integer> graph2 = ImmutableValueGraph.copyOf(graph1);
    
        assertThat(graph2).isSameInstanceAs(graph1);
      }
    
      @Test
      public void incidentEdgeOrder_stable() {
        ImmutableValueGraph<String, Integer> immutableValueGraph =
            ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  10. 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)
Back to top