- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for isDirected (0.06 sec)
-
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
assertStronglyEquivalent(network, ImmutableNetwork.copyOf(network)); String networkString = network.toString(); assertThat(networkString).contains("isDirected: " + network.isDirected()); assertThat(networkString).contains("allowsParallelEdges: " + network.allowsParallelEdges()); assertThat(networkString).contains("allowsSelfLoops: " + network.allowsSelfLoops());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 32.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractValueGraph.java
} @Override public Set<EndpointPair<N>> edges() { return AbstractValueGraph.this.edges(); } @Override public boolean isDirected() { return AbstractValueGraph.this.isDirected(); } @Override public boolean allowsSelfLoops() { return AbstractValueGraph.this.allowsSelfLoops(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 13:59:28 UTC 2023 - 4K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractValueGraph.java
} @Override public Set<EndpointPair<N>> edges() { return AbstractValueGraph.this.edges(); } @Override public boolean isDirected() { return AbstractValueGraph.this.isDirected(); } @Override public boolean allowsSelfLoops() { return AbstractValueGraph.this.allowsSelfLoops(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 13:59:28 UTC 2023 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractNetwork.java
return endpoints.isOrdered() == this.isDirected(); } @Override public final boolean equals(@CheckForNull Object obj) { if (obj == this) { return true; } if (!(obj instanceof Network)) { return false; } Network<?, ?> other = (Network<?, ?>) obj; return isDirected() == other.isDirected() && nodes().equals(other.nodes())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 10.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractNetwork.java
return endpoints.isOrdered() == this.isDirected(); } @Override public final boolean equals(@CheckForNull Object obj) { if (obj == this) { return true; } if (!(obj instanceof Network)) { return false; } Network<?, ?> other = (Network<?, ?>) obj; return isDirected() == other.isDirected() && nodes().equals(other.nodes())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Mar 13 18:17:09 UTC 2024 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardValueGraph.java
this.edgeCount = checkNonNegative(edgeCount); } @Override public Set<N> nodes() { return nodeConnections.unmodifiableKeySet(); } @Override public boolean isDirected() { return isDirected; } @Override public boolean allowsSelfLoops() { return allowsSelfLoops; } @Override public ElementOrder<N> nodeOrder() { return nodeOrder; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/AbstractBaseGraph.java
return IntMath.saturatedAdd(neighbors.size(), selfLoopCount); } } @Override public int inDegree(N node) { return isDirected() ? predecessors(node).size() : degree(node); } @Override public int outDegree(N node) { return isDirected() ? successors(node).size() : degree(node); } @Override public boolean hasEdgeConnecting(N nodeU, N nodeV) { checkNotNull(nodeU);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 7.2K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
return nodeConnections.unmodifiableKeySet(); } @Override public Set<E> edges() { return edgeToReferenceNode.unmodifiableKeySet(); } @Override public boolean isDirected() { return isDirected; } @Override public boolean allowsParallelEdges() { return allowsParallelEdges; } @Override public boolean allowsSelfLoops() { return allowsSelfLoops;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardNetwork.java
return nodeConnections.unmodifiableKeySet(); } @Override public Set<E> edges() { return edgeToReferenceNode.unmodifiableKeySet(); } @Override public boolean isDirected() { return isDirected; } @Override public boolean allowsParallelEdges() { return allowsParallelEdges; } @Override public boolean allowsSelfLoops() { return allowsSelfLoops;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.9K bytes - Viewed (0) -
guava/src/com/google/common/graph/Network.java
* * <ul> * <li>A and B have equal {@link #isDirected() directedness}. * <li>A and B have equal {@link #nodes() node sets}. * <li>A and B have equal {@link #edges() edge sets}. * <li>Every edge in A and B connects the same nodes in the same direction (if any). * </ul> * * <p>Network properties besides {@link #isDirected() directedness} do <b>not</b> affect equality.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 10 15:41:27 UTC 2024 - 22.4K bytes - Viewed (0)