Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 533 for graphs (0.04 sec)

  1. guava/src/com/google/common/graph/AbstractValueGraph.java

            + edgeValueMap(this);
      }
    
      private static <N, V> Map<EndpointPair<N>, V> edgeValueMap(final ValueGraph<N, V> graph) {
        return Maps.asMap(
            graph.edges(),
            edge ->
                // requireNonNull is safe because the endpoint pair comes from the graph.
                requireNonNull(graph.edgeValueOrDefault(edge.nodeU(), edge.nodeV(), null)));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 13:59:28 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. 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)
  3. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.INNER_CAPACITY;
    import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR;
    
    import com.google.common.collect.HashMultiset;
    import com.google.common.collect.ImmutableMap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeTraverser.java

     *
     * <pre>{@code
     * TreeTraverser<NodeType> traverser = TreeTraverser.using(node -> node.getChildNodes());
     * }</pre>
     *
     * @author Louis Wasserman
     * @since 15.0
     * @deprecated Use {@link com.google.common.graph.Traverser} instead. All instance methods have
     *     their equivalent on the result of {@code Traverser.forTree(tree)} where {@code tree}
     *     implements {@code SuccessorsFunction}, which has a similar API as {@link #children} or can be
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/package-info.java

     */
    
    /**
     * An API for representing graph (node and edge) data. It is analogous to the Java Collections
     * Framework APIs for lists, maps, sets, etc.
     *
     * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a>
     * library.
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    package com.google.common.graph;
    
    import com.google.errorprone.annotations.CheckReturnValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 22:32:46 UTC 2017
    - 1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedGraphTest.java

        this.allowsSelfLoops = allowsSelfLoops;
      }
    
      @Override
      public Graph<Integer> createGraph() {
        graphBuilder = GraphBuilder.directed().allowsSelfLoops(allowsSelfLoops).immutable();
        return graphBuilder.build();
      }
    
      @Override
      final void addNode(Integer n) {
        graphBuilder.addNode(n);
        graph = graphBuilder.build();
      }
    
      @Override
      final void putEdge(Integer n1, Integer n2) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java

        this.allowsSelfLoops = allowsSelfLoops;
      }
    
      @Override
      public Graph<Integer> createGraph() {
        graphBuilder = GraphBuilder.undirected().allowsSelfLoops(allowsSelfLoops).immutable();
        return graphBuilder.build();
      }
    
      @Override
      final void addNode(Integer n) {
        graphBuilder.addNode(n);
        graph = graphBuilder.build();
      }
    
      @Override
      final void putEdge(Integer n1, Integer n2) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/graph_function.cc

    namespace tensorflow {
    namespace tracing {
    namespace graph {
    GraphFunction::GraphFunction(FunctionDef fdef)
        : AbstractFunction(kGraph),
          func_record_(new FunctionRecord(std::move(fdef), {}, true)) {}
    GraphFunction::~GraphFunction() {}
    absl::Status GraphFunction::GetFunctionDef(const FunctionDef **fdef) {
      *fdef = &(func_record_->fdef());
      return absl::OkStatus();
    }
    }  // namespace graph
    }  // namespace tracing
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    class DefaultTransformerContextBuilder implements TransformerContextBuilder {
        private final Graph dag = new Graph();
        private final DefaultModelBuilder defaultModelBuilder;
        private final DefaultTransformerContext context;
    
        private final Map<String, Set<FileModelSource>> mappedSources = new ConcurrentHashMap<>(64);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_distributed_test.cc

        }
        return tensorflow::errors::Internal("Graph pass runs for more than once!");
      }
    
     private:
      bool first_call_ = true;
    };
    
    // After the graph pass is registered, it takes effect globally and can affect
    // other test cases. Define a static variable to switch it on and off.
    bool GraphErrorInjectionPass::enabled_ = false;
    
    // Test to ensure that a registered graph optimization pass is only executed
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top