- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 35 for incidentEdges (0.06 seconds)
-
guava/src/com/google/common/graph/ElementOrder.java
* <li>{@code incidentEdges(node)}: Edge insertion order * </ul> * <li>For {@link Network}: * <ul> * <li>{@code adjacentNodes(node)}: Stable order * <li>{@code predecessors(node)}: Connecting edge insertion order * <li>{@code successors(node)}: Connecting edge insertion order * <li>{@code incidentEdges(node)}: Stable order
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 6.6K bytes - Click Count (0) -
guava/src/com/google/common/graph/StandardNetwork.java
return nodeOrder; } @Override public ElementOrder<E> edgeOrder() { return edgeOrder; } @Override public Set<E> incidentEdges(N node) { return nodeInvalidatableSet(checkedConnections(node).incidentEdges(), node); } @Override public EndpointPair<N> incidentNodes(E edge) { N nodeU = checkedReferenceNode(edge);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* ValueGraph#adjacentNodes(Object)}, {@link ValueGraph#predecessors(Object)}, {@link * ValueGraph#successors(Object)} and {@link ValueGraph#incidentEdges(Object)}. * * <p>The default value is {@link ElementOrder#unordered() unordered} for mutable graphs. For * immutable graphs, this value is ignored; they always have a {@link ElementOrder#stable()Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ArchetypeGraph.java
* the number of times an edge touches {@code node}). * * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}. * * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of * self-loops incident to {@code node}). * * <p>If the count is greater than {@code Integer.MAX_VALUE}, returns {@code Integer.MAX_VALUE}. *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 11 17:11:16 GMT 2025 - 7.5K bytes - Click Count (0) -
guava/src/com/google/common/graph/NetworkConnections.java
* @param <N> Node parameter type * @param <E> Edge parameter type */ interface NetworkConnections<N, E> { Set<N> adjacentNodes(); Set<N> predecessors(); Set<N> successors(); Set<E> incidentEdges(); Set<E> inEdges(); Set<E> outEdges(); /** * Returns the set of edges connecting the origin node to {@code node}. For networks without
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graph.java
*/ @Override Set<EndpointPair<N>> incidentEdges(N node); /** * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently, * the number of times an edge touches {@code node}). * * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}. * * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 13.6K bytes - Click Count (0) -
guava/src/com/google/common/graph/Graph.java
*/ @Override Set<EndpointPair<N>> incidentEdges(N node); /** * Returns the count of {@code node}'s incident edges, counting self-loops twice (equivalently, * the number of times an edge touches {@code node}). * * <p>For directed graphs, this is equal to {@code inDegree(node) + outDegree(node)}. * * <p>For undirected graphs, this is equal to {@code incidentEdges(node).size()} + (number of
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 13.6K bytes - Click Count (0) -
guava/src/com/google/common/graph/StandardValueGraph.java
} @Override public Set<N> successors(N node) { return nodeInvalidatableSet(checkedConnections(node).successors(), node); } @Override public Set<EndpointPair<N>> incidentEdges(N node) { GraphConnections<N, V> connections = checkedConnections(node); IncidentEdgeSet<N> incident = new IncidentEdgeSet<N>(this, node, IncidentEdgeSet.EdgeType.BOTH) { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
.<Integer, String>immutable() .putEdgeValue(2, 1, "2-1") .putEdgeValue(2, 3, "2-3") .putEdgeValue(1, 2, "1-2") .build(); assertThat(graph.incidentEdges(2)) .containsExactly( EndpointPair.ordered(2, 1), EndpointPair.ordered(2, 3), EndpointPair.ordered(1, 2)) .inOrder(); } @Test
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 17:09:51 GMT 2025 - 6.4K bytes - Click Count (0) -
guava/src/com/google/common/graph/ImmutableGraph.java
Function<N, Presence> edgeValueFn = (Function<N, Presence>) Functions.constant(Presence.EDGE_EXISTS); return graph.isDirected() ? DirectedGraphConnections.ofImmutable(node, graph.incidentEdges(node), edgeValueFn) : UndirectedGraphConnections.ofImmutable( Maps.asMap(graph.adjacentNodes(node), edgeValueFn)); } @Override BaseGraph<N> delegate() { return backingGraph;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 7.2K bytes - Click Count (0)