Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 261 for Graph (0.04 sec)

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

        ImmutableValueGraph<String, Integer> graph =
            ValueGraphBuilder.directed().<String, Integer>immutable().addNode("A").build();
    
        assertThat(graph.nodes()).containsExactly("A");
        assertThat(graph.edges()).isEmpty();
      }
    
      @Test
      public void immutableValueGraphBuilder_putEdgeFromNodes() {
        ImmutableValueGraph<String, Integer> graph =
            ValueGraphBuilder.directed()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/SuccessorsFunction.java

     *
     * <h3>Usage</h3>
     *
     * Given an algorithm, for example:
     *
     * <pre>{@code
     * public <N> someGraphAlgorithm(N startNode, SuccessorsFunction<N> successorsFunction);
     * }</pre>
     *
     * you will invoke it depending on the graph representation you're using.
     *
     * <p>If you have an instance of one of the primary {@code common.graph} types ({@link Graph},
     * {@link ValueGraph}, and {@link Network}):
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

             *       v3-v4
             *
             */
            v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));
            graph.setEntry(v1);
            v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0"));
            v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0"));
            v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0"));
    
            // v1-->v2
            graph.addEdge(v1, v2, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     *
     * <pre>{@code
     * // Building a mutable value graph
     * MutableValueGraph<String, Double> graph =
     *     ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
     * graph.putEdgeValue("San Francisco", "San Francisco", 0.0);
     * graph.putEdgeValue("San Jose", "San Jose", 0.0);
     * graph.putEdgeValue("San Francisco", "San Jose", 48.4);
     *
     * // Building an immutable value graph
     * ImmutableValueGraph<String, Double> immutableGraph =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 03 01:21:31 UTC 2022
    - 8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java

         * in <code>ArtifactScopeEnum</code>
         *
         * @param graph the "dirty" graph to be simplified via conflict resolution
         * @param scope scope for which the graph should be resolved
         *
         * @return resulting "clean" graph for the specified scope
         *
         * @since 3.0
         */
        MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope)
                throws GraphConflictResolutionException;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    // API for driving Graph execution.
    
    typedef struct TF_Session TF_Session;
    
    // Return a new execution session with the associated graph, or NULL on
    // error. Does not take ownership of any input parameters.
    //
    // *`graph` must be a valid graph (not deleted or nullptr). `graph` will be
    // kept alive for the lifetime of the returned TF_Session. New nodes can still
    // be added to `graph` after this call.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

    import org.apache.maven.api.annotations.NotThreadSafe;
    import org.apache.maven.api.annotations.Nullable;
    
    /**
     * A request to collect the transitive dependencies and to build a dependency graph from them. There are three ways to
     * create a dependency graph. First, only the root dependency can be given. Second, a root dependency and direct
     * dependencies can be specified in which case the specified direct dependencies are merged with the direct dependencies
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

                ProjectDependencyGraph graph = new DefaultProjectDependencyGraph(session.getAllProjects());
                if (session.getProjects() != null) {
                    graph = new FilteredProjectDependencyGraph(graph, session.getProjects());
                }
    
                result = Result.success(graph);
            }
    
            return result;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/MutableValueGraph.java

       *
       * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
       * undirected.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
       * <p>Values do not have to be unique. However, values must be non-null.
       *
       * <p>If either or both endpoints are not already present in this graph, this method will silently
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

      println("Time: ${time.toDouble() / 1000} seconds\n")
    }
    
    fun main() {
      Security.insertProviderAt(OpenSSLProvider(), 1)
      var bootstrapClient = OkHttpClient()
      var names = listOf("google.com", "graph.facebook.com", "sdflkhfsdlkjdf.ee")
      try {
        println("uncached\n********\n")
        var dnsProviders =
          providers(
            client = bootstrapClient,
            http2Only = false,
            workingOnly = false,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top