- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for Undirected (0.04 seconds)
-
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
private ValueGraphBuilder(boolean directed) { super(directed); } /** Returns a {@link ValueGraphBuilder} for building directed graphs. */ public static ValueGraphBuilder<Object, Object> directed() { return new ValueGraphBuilder<>(true); } /** Returns a {@link ValueGraphBuilder} for building undirected graphs. */ public static ValueGraphBuilder<Object, Object> undirected() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.8K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
private GraphBuilder(boolean directed) { super(directed); } /** Returns a {@link GraphBuilder} for building directed graphs. */ public static GraphBuilder<Object> directed() { return new GraphBuilder<>(true); } /** Returns a {@link GraphBuilder} for building undirected graphs. */ public static GraphBuilder<Object> undirected() { return new GraphBuilder<>(false); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/AbstractGraphBuilder.java
* false, creates an instance for graphs whose edges are each undirected. */ AbstractGraphBuilder(boolean directed) { this.directed = directed; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 1.4K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
private NetworkBuilder(boolean directed) { super(directed); } /** Returns a {@link NetworkBuilder} for building directed networks. */ public static NetworkBuilder<Object, Object> directed() { return new NetworkBuilder<>(true); } /** Returns a {@link NetworkBuilder} for building undirected networks. */ public static NetworkBuilder<Object, Object> undirected() { return new NetworkBuilder<>(false);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.3K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/StandardNetwork.java
* <p>This class maintains a map of nodes to {@link NetworkConnections}. This class also maintains a * map of edges to reference nodes. The reference node is defined to be the edge's source node on * directed graphs, and an arbitrary endpoint of the edge on undirected graphs. * * <p>Collection-returning accessors return unmodifiable views: the view returned will reflect * changes to the graph (if the graph is mutable) but may not be modified by the user. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 6.9K bytes - Click Count (0) -
android/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; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* Thread1: acquire(LockA) --X acquire(LockB) * Thread2: acquire(LockB) --X acquire(LockC) * ... * ThreadN: acquire(LockN) --X acquire(LockA) * </pre> * * <p>The implementation detects cycles by constructing a directed graph in which each lock * represents a node and each edge represents an acquisition ordering between two locks. * * <ul> * <li>Each lock adds (and removes) itself to/from a ThreadLocal Set of acquired locks when the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0)