Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 275 for graph (0.06 sec)

  1. 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);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 14 19:31:40 UTC 2024
    - 707 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

      private ImmutableValueGraph(ValueGraph<N, V> graph) {
        super(ValueGraphBuilder.from(graph), getNodeConnections(graph), graph.edges().size());
      }
    
      /** Returns an immutable copy of {@code graph}. */
      public static <N, V> ImmutableValueGraph<N, V> copyOf(ValueGraph<N, V> graph) {
        return (graph instanceof ImmutableValueGraph)
            ? (ImmutableValueGraph<N, V>) graph
            : new ImmutableValueGraph<N, V>(graph);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

      // In this case the graphs are considered equivalent; the property differences are irrelevant.
      @Test
      public void equivalent_propertiesDiffer() {
        graph.putEdge(N1, N2);
    
        MutableGraph<Integer> g2 =
            GraphBuilder.from(graph).allowsSelfLoops(!graph.allowsSelfLoops()).build();
        g2.putEdge(N1, N2);
    
        assertThat(graph).isEqualTo(g2);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

      // In this case the graphs are considered equivalent; the property differences are irrelevant.
      @Test
      public void equivalent_propertiesDiffer() {
        graph.putEdge(N1, N2);
    
        MutableGraph<Integer> g2 =
            GraphBuilder.from(graph).allowsSelfLoops(!graph.allowsSelfLoops()).build();
        g2.putEdge(N1, N2);
    
        assertThat(graph).isEqualTo(g2);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/graph_function.h

        return func_record_.GetNewRef();
      }
    
      // For LLVM style RTTI.
      static bool classof(const AbstractFunction* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
      core::RefCountPtr<FunctionRecord> func_record_;
    };
    }  // namespace graph
    }  // namespace tracing
    }  // namespace tensorflow
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

    import org.eclipse.aether.util.graph.manager.ClassicDependencyManager;
    import org.eclipse.aether.util.graph.selector.AndDependencySelector;
    import org.eclipse.aether.util.graph.selector.ExclusionDependencySelector;
    import org.eclipse.aether.util.graph.transformer.ChainedDependencyGraphTransformer;
    import org.eclipse.aether.util.graph.transformer.ConflictResolver;
    import org.eclipse.aether.util.graph.transformer.NearestVersionSelector;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/ElementOrderTest.java

        assertThat(graph.nodeOrder().comparator()).isEqualTo(Ordering.natural());
        assertThat(graph.nodes()).containsExactly(node2, node4, node6, node8).inOrder();
      }
    
      private static void addNodes(MutableGraph<Integer> graph) {
        graph.addNode(3);
        graph.addNode(1);
        graph.addNode(4);
      }
    
      private static void addEdges(MutableNetwork<Integer, String> network) {
        network.addEdge(3, 1, "i");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  8. 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)
  9. guava/src/com/google/common/graph/EndpointPairIterator.java

      static <N> EndpointPairIterator<N> of(BaseGraph<N> graph) {
        return graph.isDirected() ? new Directed<N>(graph) : new Undirected<N>(graph);
      }
    
      private EndpointPairIterator(BaseGraph<N> graph) {
        this.graph = graph;
        this.nodeIterator = graph.nodes().iterator();
      }
    
      /**
       * Called after {@link #successorIterator} is exhausted. Advances {@link #node} to the next node
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top