Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for removeEdge (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/project/Graph.java

            if (cycle != null) {
                // remove edge which introduced cycle
                removeEdge(from, to);
                throw new CycleDetectedException(
                        "Edge between '" + from.label + "' and '" + to.label + "' introduces to cycle in the graph", cycle);
            }
        }
    
        void removeEdge(Vertex from, Vertex to) {
            from.children.remove(to);
            to.parents.remove(from);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

            if (cycle != null) {
                // remove edge which introduced cycle
                removeEdge(from, to);
                throw new CycleDetectedException(
                        "Edge between '" + from.label + "' and '" + to.label + "' introduces to cycle in the graph", cycle);
            }
        }
    
        void removeEdge(Vertex from, Vertex to) {
            from.children.remove(to);
            to.parents.remove(from);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

        for (E edge : ImmutableList.copyOf(connections.incidentEdges())) {
          removeEdge(edge);
        }
        nodeConnections.remove(node);
        return true;
      }
    
      @Override
      @CanIgnoreReturnValue
      public boolean removeEdge(E edge) {
        checkNotNull(edge, "edge");
    
        N nodeU = edgeToReferenceNode.get(edge);
        if (nodeU == null) {
          return false;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/graph/MutableNetwork.java

      /**
       * Removes {@code edge} from this network, if it is present.
       *
       * @return {@code true} if the network was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean removeEdge(E edge);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

          Collections.shuffle(edgeList, gen);
          int numEdgesToRemove = gen.nextInt(NUM_EDGES);
          for (int i = 0; i < numEdgesToRemove; ++i) {
            Object edge = edgeList.get(i);
            assertThat(network.removeEdge(edge)).isTrue();
          }
    
          assertThat(network.nodes()).hasSize(NUM_NODES);
          assertThat(network.edges()).hasSize(NUM_EDGES - numEdgesToRemove);
          AbstractNetworkTest.validateNetwork(network);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/MutableNetwork.java

      /**
       * Removes {@code edge} from this network, if it is present.
       *
       * @return {@code true} if the network was modified as a result of this call
       */
      @CanIgnoreReturnValue
      boolean removeEdge(E edge);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 4.4K bytes
    - Click Count (0)
Back to Top