- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 54 for allowsSelfLoops (0.05 sec)
-
guava/src/com/google/common/graph/AbstractNetwork.java
} @Override public boolean isDirected() { return AbstractNetwork.this.isDirected(); } @Override public boolean allowsSelfLoops() { return AbstractNetwork.this.allowsSelfLoops(); } @Override public Set<N> adjacentNodes(N node) { return AbstractNetwork.this.adjacentNodes(node); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 10.3K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableGraph.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/ValueGraphTest.java
assertThat(graph.incidentEdgeOrder()).isEqualTo(asGraph.incidentEdgeOrder()); assertThat(graph.isDirected()).isEqualTo(asGraph.isDirected()); assertThat(graph.allowsSelfLoops()).isEqualTo(asGraph.allowsSelfLoops()); Network<Integer, EndpointPair<Integer>> asNetwork = graph.asNetwork(); AbstractNetworkTest.validateNetwork(asNetwork); assertThat(graph.nodes()).isEqualTo(asNetwork.nodes());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ImmutableValueGraph.java
* * @return this {@code Builder} object * @throws IllegalArgumentException if the introduction of the edge would violate {@link * #allowsSelfLoops()} */ @CanIgnoreReturnValue public ImmutableValueGraph.Builder<N, V> putEdgeValue(N nodeU, N nodeV, V value) { mutableValueGraph.putEdgeValue(nodeU, nodeV, value); return this; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
String graphString = graph.toString(); assertThat(graphString).contains("isDirected: " + graph.isDirected()); assertThat(graphString).contains("allowsSelfLoops: " + graph.allowsSelfLoops()); int nodeStart = graphString.indexOf("nodes:"); int edgeStart = graphString.indexOf("edges:"); String nodeString = graphString.substring(nodeStart, edgeStart);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.3K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractBaseGraph.java
@Override public boolean allowsParallelEdges() { return false; // Graph doesn't allow parallel edges } @Override public boolean allowsSelfLoops() { return AbstractBaseGraph.this.allowsSelfLoops(); } @Override public ElementOrder<N> nodeOrder() { return AbstractBaseGraph.this.nodeOrder(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/MutableNetwork.java
* connect {@code nodeU} to {@code nodeV} * @throws IllegalArgumentException if the introduction of the edge would violate {@link * #allowsParallelEdges()} or {@link #allowsSelfLoops()} */ @CanIgnoreReturnValue boolean addEdge(N nodeU, N nodeV, E edge); /** * Adds {@code edge} connecting {@code endpoints}. In an undirected network, {@code edge} willRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardMutableNetwork.java
!(connectionsU != null && connectionsU.successors().contains(nodeV)), PARALLEL_EDGES_NOT_ALLOWED, nodeU, nodeV); } boolean isSelfLoop = nodeU.equals(nodeV); if (!allowsSelfLoops()) { checkArgument(!isSelfLoop, SELF_LOOPS_NOT_ALLOWED, nodeU); } if (connectionsU == null) { connectionsU = addNodeInternal(nodeU); } connectionsU.addOutEdge(edge, nodeV);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/graph/GraphConstants.java
static final String SELF_LOOPS_NOT_ALLOWED = "Cannot add self-loop edge on node %s, as self-loops are not allowed. To construct a graph " + "that allows self-loops, call allowsSelfLoops(true) on the Builder."; static final String NOT_AVAILABLE_ON_UNDIRECTED = "Cannot call source()/target() on a EndpointPair from an undirected graph. Consider calling "Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 3.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/ImmutableValueGraph.java
* * @return this {@code Builder} object * @throws IllegalArgumentException if the introduction of the edge would violate {@link * #allowsSelfLoops()} */ @CanIgnoreReturnValue public ImmutableValueGraph.Builder<N, V> putEdgeValue(N nodeU, N nodeV, V value) { mutableValueGraph.putEdgeValue(nodeU, nodeV, value); return this; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.9K bytes - Viewed (0)