Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 129 for undirected (0.16 sec)

  1. 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.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        MutableGraph<String> graph = GraphBuilder.directed().build();
        graph.putEdge("a", "b");
    
        Traverser.forTree(graph); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedGraph_throws() throws Exception {
        MutableGraph<String> graph = GraphBuilder.undirected().build();
        graph.putEdge("a", "b");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/TraverserTest.java

        MutableGraph<String> graph = GraphBuilder.directed().build();
        graph.putEdge("a", "b");
    
        Traverser.forTree(graph); // Does not throw
      }
    
      @Test
      public void forTree_withUndirectedGraph_throws() throws Exception {
        MutableGraph<String> graph = GraphBuilder.undirected().build();
        graph.putEdge("a", "b");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

     *
     * <ul>
     *   <li>Test cases related to whether the graph is directed or undirected.
     *   <li>Test cases related to the specific implementation of the {@link Graph} interface.
     * </ul>
     *
     * TODO(user): Make this class generic (using <N, E>) for all node and edge types.
     * TODO(user): Differentiate between directed and undirected edge strings.
     */
    public abstract class AbstractGraphTest {
    
      Graph<Integer> graph;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

    import static org.junit.Assert.assertTrue;
    
    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Graph} implementations defined in this package.
     */
    public abstract class AbstractStandardUndirectedGraphTest extends AbstractGraphTest {
    
      @After
      public void validateUndirectedEdges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

    import static org.junit.Assert.assertTrue;
    
    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Graph} implementations defined in this package.
     */
    public abstract class AbstractStandardUndirectedGraphTest extends AbstractGraphTest {
    
      @After
      public void validateUndirectedEdges() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

    import com.google.common.collect.ImmutableSet;
    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Network} implementations defined in this
     * package.
     */
    public abstract class AbstractStandardUndirectedNetworkTest extends AbstractNetworkTest {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

    import com.google.common.testing.EqualsTester;
    import java.util.Optional;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Network} implementations defined in this
     * package.
     */
    public abstract class AbstractStandardUndirectedNetworkTest extends AbstractNetworkTest {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        ImmutableValueGraph<String, Integer> emptyGraph =
            ValueGraphBuilder.directed()
                .allowsSelfLoops(true)
                .nodeOrder(ElementOrder.<String>natural())
                .<String, Integer>immutable()
                .build();
    
        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        ImmutableValueGraph<String, Integer> emptyGraph =
            ValueGraphBuilder.directed()
                .allowsSelfLoops(true)
                .nodeOrder(ElementOrder.<String>natural())
                .<String, Integer>immutable()
                .build();
    
        assertThat(emptyGraph.isDirected()).isTrue();
        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 09 20:24:43 UTC 2020
    - 6.4K bytes
    - Viewed (0)
Back to top