- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for MutableNetwork (0.07 sec)
-
android/guava/src/com/google/common/graph/Graphs.java
* * @throws IllegalArgumentException if any element in {@code nodes} is not a node in the graph */ public static <N, E> MutableNetwork<N, E> inducedSubgraph( Network<N, E> network, Iterable<? extends N> nodes) { MutableNetwork<N, E> subgraph = (nodes instanceof Collection) ? NetworkBuilder.from(network).expectedNodeCount(((Collection) nodes).size()).build()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 22.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graphs.java
* * @throws IllegalArgumentException if any element in {@code nodes} is not a node in the graph */ public static <N, E> MutableNetwork<N, E> inducedSubgraph( Network<N, E> network, Iterable<? extends N> nodes) { MutableNetwork<N, E> subgraph = (nodes instanceof Collection) ? NetworkBuilder.from(network).expectedNodeCount(((Collection) nodes).size()).build()
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 01 00:26:14 UTC 2025 - 23.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
final boolean graphIsMutable() { return networkAsMutableNetwork != null; } @Before public void init() { network = createGraph(); if (network instanceof MutableNetwork) { networkAsMutableNetwork = (MutableNetwork<Integer, String>) network; } } @After public void validateNetworkState() { validateNetwork(network); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Network.java
* create an instance of one of the built-in implementations of {@code Network}, use the {@link * NetworkBuilder} class: * * {@snippet : * MutableNetwork<Integer, MyEdge> network = NetworkBuilder.directed().build(); * } * * <p>{@link NetworkBuilder#build()} returns an instance of {@link MutableNetwork}, which is a * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:03:02 UTC 2025 - 22.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/TraverserTest.java
public void forTree_acceptsDirectedNetwork() throws Exception { MutableNetwork<String, Integer> network = NetworkBuilder.directed().build(); network.addEdge("a", "b", 11); Traverser.forTree(network); // Does not throw } @Test public void forTree_withUndirectedNetwork_throws() throws Exception { MutableNetwork<String, Integer> network = NetworkBuilder.undirected().build();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
public void forTree_acceptsDirectedNetwork() throws Exception { MutableNetwork<String, Integer> network = NetworkBuilder.directed().build(); network.addEdge("a", "b", 11); Traverser.forTree(network); // Does not throw } @Test public void forTree_withUndirectedNetwork_throws() throws Exception { MutableNetwork<String, Integer> network = NetworkBuilder.undirected().build();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 47.5K bytes - Viewed (0)