- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for MutableGraph (0.07 sec)
-
guava-tests/test/com/google/common/graph/GraphMutationTest.java
Random gen = new Random(42); // Fixed seed so test results are deterministic. for (int trial = 0; trial < NUM_TRIALS; ++trial) { MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); assertThat(graph.nodes()).isEmpty(); assertThat(graph.edges()).isEmpty(); AbstractGraphTest.validateGraph(graph);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 18 16:17:46 UTC 2017 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java
boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { this.allowsSelfLoops = allowsSelfLoops; this.incidentEdgeOrder = incidentEdgeOrder; } @Override public MutableGraph<Integer> createGraph() { return GraphBuilder.undirected() .allowsSelfLoops(allowsSelfLoops) .incidentEdgeOrder(incidentEdgeOrder) .build(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 10 17:54:18 UTC 2020 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { this.allowsSelfLoops = allowsSelfLoops; this.incidentEdgeOrder = incidentEdgeOrder; } @Override public MutableGraph<Integer> createGraph() { return GraphBuilder.directed() .allowsSelfLoops(allowsSelfLoops) .incidentEdgeOrder(incidentEdgeOrder) .build(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 10 17:54:18 UTC 2020 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/StandardMutableDirectedGraphTest.java
boolean allowsSelfLoops, ElementOrder<Integer> incidentEdgeOrder) { this.allowsSelfLoops = allowsSelfLoops; this.incidentEdgeOrder = incidentEdgeOrder; } @Override public MutableGraph<Integer> createGraph() { return GraphBuilder.directed() .allowsSelfLoops(allowsSelfLoops) .incidentEdgeOrder(incidentEdgeOrder) .build(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Mar 10 17:54:18 UTC 2020 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
final boolean graphIsMutable() { return graphAsMutableGraph != null; } @Before public final void init() { graph = createGraph(); if (graph instanceof MutableGraph) { graphAsMutableGraph = (MutableGraph<Integer>) graph; } } @After public final void validateGraphState() { validateGraph(graph); } static <N> void validateGraph(Graph<N> graph) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/Graph.java
* create an instance of one of the built-in implementations of {@code Graph}, use the {@link * GraphBuilder} class: * * <pre>{@code * MutableGraph<Integer> graph = GraphBuilder.undirected().build(); * }</pre> * * <p>{@link GraphBuilder#build()} returns an instance of {@link MutableGraph}, which is a subtype * of {@code Graph} that provides methods for adding and removing nodes and edges. If you do not
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 10 15:41:27 UTC 2024 - 13.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/Graph.java
* create an instance of one of the built-in implementations of {@code Graph}, use the {@link * GraphBuilder} class: * * <pre>{@code * MutableGraph<Integer> graph = GraphBuilder.undirected().build(); * }</pre> * * <p>{@link GraphBuilder#build()} returns an instance of {@link MutableGraph}, which is a subtype * of {@code Graph} that provides methods for adding and removing nodes and edges. If you do not
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 10 15:41:27 UTC 2024 - 13.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/GraphMutationTest.java
Random gen = new Random(42); // Fixed seed so test results are deterministic. for (int trial = 0; trial < NUM_TRIALS; ++trial) { MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); assertThat(graph.nodes()).isEmpty(); assertThat(graph.edges()).isEmpty(); AbstractGraphTest.validateGraph(graph);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 18 16:17:46 UTC 2017 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ElementOrder.java
/** * Used to represent the order of elements in a data structure that supports different options for * iteration order guarantees. * * <p>Example usage: * * <pre>{@code * MutableGraph<Integer> graph = * GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build(); * }</pre> * * @author Joshua O'Madadhain * @since 20.0 */ @Beta @Immutable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/ElementOrder.java
/** * Used to represent the order of elements in a data structure that supports different options for * iteration order guarantees. * * <p>Example usage: * * <pre>{@code * MutableGraph<Integer> graph = * GraphBuilder.directed().nodeOrder(ElementOrder.<Integer>natural()).build(); * }</pre> * * @author Joshua O'Madadhain * @since 20.0 */ @Beta @Immutable
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 6.7K bytes - Viewed (0)