Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for graphs (0.06 sec)

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

       * properties remain intact, and further updates to {@code graph} will be reflected in the view.
       */
      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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Graphs.java

       * properties remain intact, and further updates to {@code graph} will be reflected in the view.
       */
      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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/Network.java

     * "Choosing the right graph type"</a> section of the Guava User Guide for more details.
     *
     * <h3>Capabilities</h3>
     *
     * <p>{@code Network} 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 parallel edges
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    Just functions that look the same as the *path operation functions*.
    
    But still, it is very powerful, and allows you to declare arbitrarily deeply nested dependency "graphs" (trees).
    
    /// tip
    
    All this might not seem as useful with these simple examples.
    
    But you will see how useful it is in the chapters about **security**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p>Usage example:
     *
     * {@snippet :
     * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder()
     *     .maximumSize(10000)
     *     .expireAfterWrite(Duration.ofMinutes(10))
     *     .removalListener(MY_LISTENER)
     *     .build(
     *         new CacheLoader<Key, Graph>() {
     *           public Graph load(Key key) throws AnyException {
     *             return createExpensiveGraph(key);
     *           }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/graphql.md

    # GraphQL { #graphql }
    
    As **FastAPI** is based on the **ASGI** standard, it's very easy to integrate any **GraphQL** library also compatible with ASGI.
    
    You can combine normal FastAPI *path operations* with GraphQL on the same application.
    
    /// tip
    
    **GraphQL** solves some very specific use cases.
    
    It has **advantages** and **disadvantages** when compared to common **web APIs**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        /**
         *  null in dirty graph, actual
         *  scope for conflict-resolved graph
         */
        ArtifactScopeEnum scope;
    
        // ------------------------------------------------------------------------
        /**
         * init graph
         */
        public MetadataGraph(int nVertices) {
            init(nVertices, 2 * nVertices);
        }
    
        public MetadataGraph(int nVertices, int nEdges) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

        /**
         * Helper class to traverse graph. Required to make the containing method thread-safe
         * and yet use class level data to lessen stack usage in recursion
         */
        private class ClasspathGraphVisitor {
            MetadataGraph graph;
    
            ClasspathContainer cpc;
    
            List<MetadataGraphVertex> visited;
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

            }
    
            if (graph.isEmpty()) {
                throw new GraphConflictResolutionException("graph with an entry, but not vertices do not exist");
            }
    
            if (graph.isEmptyEdges()) {
                return null; // no edges - nothing to worry about
            }
    
            final TreeSet<MetadataGraphVertex> vertices = graph.getVertices();
    
            try {
                // edge case - single vertex graph
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/EndpointPair.java

        return new Unordered<>(nodeV, nodeU);
      }
    
      /** Returns an {@link EndpointPair} representing the endpoints of an edge in {@code graph}. */
      static <N> EndpointPair<N> of(Graph<?> graph, N nodeU, N nodeV) {
        return graph.isDirected() ? ordered(nodeU, nodeV) : unordered(nodeU, nodeV);
      }
    
      /** Returns an {@link EndpointPair} representing the endpoints of an edge in {@code network}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top