Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 105 for Undirected (0.05 seconds)

  1. android/guava-tests/test/com/google/common/graph/StandardMutableUndirectedGraphTest.java

    import java.util.Collection;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for an undirected {@link StandardMutableGraph}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    @NullUnmarked
    public class StandardMutableUndirectedGraphTest extends AbstractStandardUndirectedGraphTest {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      private final EdgeType edgeType;
      private final MutableNetwork<Integer, String> network;
    
      // add parameters: directed/undirected
      @Parameters
      public static Collection<Object[]> parameters() {
        return Arrays.asList(new Object[][] {{EdgeType.UNDIRECTED}, {EdgeType.DIRECTED}});
      }
    
      public NetworkEquivalenceTest(EdgeType edgeType) {
        this.edgeType = edgeType;
        this.network = createNetwork(edgeType);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

      private final EdgeType edgeType;
      private final MutableNetwork<Integer, String> network;
    
      // add parameters: directed/undirected
      @Parameters
      public static Collection<Object[]> parameters() {
        return Arrays.asList(new Object[][] {{EdgeType.UNDIRECTED}, {EdgeType.DIRECTED}});
      }
    
      public NetworkEquivalenceTest(EdgeType edgeType) {
        this.edgeType = edgeType;
        this.network = createNetwork(edgeType);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/MutableNetwork.java

      /**
       * Adds {@code edge} connecting {@code endpoints}. In an undirected network, {@code edge} will
       * also connect {@code nodeV} to {@code nodeU}.
       *
       * <p>If this graph is directed, {@code edge} will be directed in this graph; if it is undirected,
       * {@code edge} will be undirected in this graph.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

      Network<Integer, String> undirectedNetwork;
    
      @Before
      public void init() {
        MutableGraph<Integer> mutableDirectedGraph =
            GraphBuilder.directed().allowsSelfLoops(true).build();
        MutableGraph<Integer> mutableUndirectedGraph =
            GraphBuilder.undirected().allowsSelfLoops(true).build();
        graphsToTest = ImmutableList.of(mutableDirectedGraph, mutableUndirectedGraph);
        directedGraph = mutableDirectedGraph;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/Graph.java

      //
      // Graph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      @Override
      boolean isDirected();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  7. 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)
  8. android/guava/src/com/google/common/graph/UndirectedNetworkConnections.java

    import com.google.common.collect.ImmutableBiMap;
    import java.util.Collections;
    import java.util.Map;
    import java.util.Set;
    
    /**
     * An implementation of {@link NetworkConnections} for undirected networks.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <E> Edge parameter type
     */
    final class UndirectedNetworkConnections<N, E> extends AbstractUndirectedNetworkConnections<N, E> {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/graph/MutableValueGraph.java

       * that edge to {@code value} (overwriting the existing value, if any).
       *
       * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
       * undirected.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
       * <p>Values do not have to be unique. However, values must be non-null.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

         * that edge to {@code value} (overwriting the existing value, if any).
         *
         * <p>If the graph is directed, the resultant edge will be directed; otherwise, it will be
         * undirected.
         *
         * <p>If this graph is directed, {@code endpoints} must be ordered.
         *
         * <p>Values do not have to be unique. However, values must be non-null.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 7.8K bytes
    - Click Count (0)
Back to Top