Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for predecessors (0.32 sec)

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

        addEdge(N1, N2, E12);
        Set<Integer> n1AdjacentNodes = network.adjacentNodes(N1);
        Set<Integer> n2AdjacentNodes = network.adjacentNodes(N2);
        Set<Integer> n1Predecessors = network.predecessors(N1);
        Set<Integer> n2Predecessors = network.predecessors(N2);
        Set<Integer> n1Successors = network.successors(N1);
        Set<Integer> n2Successors = network.successors(N2);
        Set<String> n1IncidentEdges = network.incidentEdges(N1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

            }
            assertThat(
                    graph.predecessors(node).contains(adjacentNode)
                        || graph.successors(node).contains(adjacentNode))
                .isTrue();
          }
    
          for (N predecessor : sanityCheckSet(graph.predecessors(node))) {
            assertThat(graph.successors(predecessor)).contains(node);
            assertThat(graph.hasEdgeConnecting(predecessor, node)).isTrue();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N2);
        Set<Integer> predecessors = graph.predecessors(N2);
        assertThrows(UnsupportedOperationException.class, () -> predecessors.add(N1));
        putEdge(N1, N2);
        assertThat(graph.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N2);
        Set<Integer> predecessors = graph.predecessors(N2);
        assertThrows(UnsupportedOperationException.class, () -> predecessors.add(N1));
        putEdge(N1, N2);
        assertThat(graph.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N2);
        Set<Integer> predecessors = network.predecessors(N2);
        assertThrows(UnsupportedOperationException.class, () -> predecessors.add(N1));
        addEdge(N1, N2, E12);
        assertThat(network.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assume().that(graphIsMutable()).isTrue();
    
        addNode(N2);
        Set<Integer> predecessors = network.predecessors(N2);
        assertThrows(UnsupportedOperationException.class, () -> predecessors.add(N1));
        addEdge(N1, N2, E12);
        assertThat(network.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      @Test
      public void predecessors_checkReturnedSetMutability() {
        addNode(N2);
        Set<Integer> predecessors = network.predecessors(N2);
        assertThrows(UnsupportedOperationException.class, () -> predecessors.add(N1));
        addEdge(N1, N2, E12);
        assertThat(network.predecessors(N2)).containsExactlyElementsIn(predecessors);
      }
    
      @Override
      @Test
      public void successors_checkReturnedSetMutability() {
    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/src/com/google/common/graph/AbstractBaseGraph.java

                          Iterators.transform(
                              graph.predecessors(node).iterator(),
                              (N predecessor) -> EndpointPair.ordered(predecessor, node)),
                          Iterators.transform(
                              // filter out 'node' from successors (already covered by predecessors,
                              // above)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            N predecessor = incidentEdge.nodeU();
    
            Object existingValue = adjacentNodeValues.put(predecessor, PRED);
            if (existingValue != null) {
              adjacentNodeValues.put(predecessor, new PredAndSucc(existingValue));
            }
    
            orderedNodeConnectionsBuilder.add(new NodeConnection.Pred<>(predecessor));
            predecessorCount++;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 18K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

                    for (Plugin element : tgt) {
                        Object key = getPluginKey().apply(element);
                        master.put(key, element);
                    }
    
                    Map<Object, List<Plugin>> predecessors = new LinkedHashMap<>();
                    List<Plugin> pending = new ArrayList<>();
                    for (Plugin element : src) {
                        Object key = getPluginKey().apply(element);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top