Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 442 for Graphs (0.34 sec)

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

       */
      public static <N> Graph<N> transpose(Graph<N> graph) {
        if (!graph.isDirected()) {
          return graph; // the transpose of an undirected graph is an identical graph
        }
    
        if (graph instanceof TransposedGraph) {
          return ((TransposedGraph<N>) graph).graph;
        }
    
        return new TransposedGraph<>(graph);
      }
    
      /**
    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)
  2. android/guava/src/com/google/common/graph/GraphBuilder.java

       * Specifies the order of iteration for the elements of {@link Graph#edges()}, {@link
       * Graph#adjacentNodes(Object)}, {@link Graph#predecessors(Object)}, {@link
       * Graph#successors(Object)} and {@link Graph#incidentEdges(Object)}.
       *
       * <p>The default value is {@link ElementOrder#unordered() unordered} for mutable graphs. For
       * immutable graphs, this value is ignored; they always have a {@link ElementOrder#stable()
       * stable} order.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/Graph.java

     * "Choosing the right graph type"</a> section of the Guava User Guide for more details.
     *
     * <h3>Capabilities</h3>
     *
     * <p>{@code Graph} supports the following use cases (<a
     * href="https://github.com/google/guava/wiki/GraphsExplained#definitions">definitions of
     * terms</a>):
     *
     * <ul>
     *   <li>directed graphs
     *   <li>undirected graphs
     *   <li>graphs that do/don't allow self-loops
    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)
  4. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.Graphs.checkNonNegative;
    import static com.google.common.graph.Graphs.checkPositive;
    import static java.util.Objects.requireNonNull;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.5K bytes
    - Viewed (0)
  5. SECURITY.md

    programs that TensorFlow executes. TensorFlow programs are encoded as
    computation
    [**graphs**](https://developers.google.com/machine-learning/glossary/#graph).
    Since models are practically programs that TensorFlow executes, using untrusted
    models or graphs is equivalent to running untrusted code.
    
    If you need to run untrusted models, execute them inside a
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/AbstractGraphBuilder.java

      /**
       * Creates a new instance with the specified edge directionality.
       *
       * @param directed if true, creates an instance for graphs whose edges are each directed; if
       *     false, creates an instance for graphs whose edges are each undirected.
       */
      AbstractGraphBuilder(boolean directed) {
        this.directed = directed;
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/GraphsBridgeMethods.java

        return Graphs.transitiveClosure(graph);
      }
    
      @SuppressWarnings("PreferredInterfaceType")
      public static <N> Set<N> reachableNodes(Graph<N> graph, N node) {
        return Graphs.reachableNodes(graph, node);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 14 19:31:40 GMT 2024
    - 707 bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ValueGraph.java

     * terms</a>):
     *
     * <ul>
     *   <li>directed graphs
     *   <li>undirected graphs
     *   <li>graphs that do/don't allow self-loops
     *   <li>graphs whose nodes/edges are insertion-ordered, sorted, or unordered
     *   <li>graphs whose edges have associated values
     * </ul>
     *
     * <p>{@code ValueGraph}, as a subtype of {@code Graph}, explicitly does not support parallel edges,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/StandardMutableValueGraph.java

     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.SELF_LOOPS_NOT_ALLOWED;
    import static com.google.common.graph.Graphs.checkNonNegative;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Oct 21 01:50:30 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.Graphs.hasCycle;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.collect.ImmutableList;
    import org.junit.Before;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for {@link Graphs#hasCycle(Graph)} and {@link Graphs#hasCycle(Network)}. */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 07 15:09:01 GMT 2016
    - 5.7K bytes
    - Viewed (0)
Back to top