Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for addOutEdge (0.06 sec)

  1. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

        }
        return node;
      }
    
      @Override
      public void addInEdge(E edge, N node, boolean isSelfLoop) {
        if (!isSelfLoop) {
          addOutEdge(edge, node);
        }
      }
    
      @Override
      public void addOutEdge(E edge, N node) {
        super.addOutEdge(edge, node);
        Multiset<N> adjacentNodes = getReference(adjacentNodesReference);
        if (adjacentNodes != null) {
          checkState(adjacentNodes.add(node));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/AbstractUndirectedNetworkConnections.java

        return requireNonNull(previousNode);
      }
    
      @Override
      public void addInEdge(E edge, N node, boolean isSelfLoop) {
        if (!isSelfLoop) {
          addOutEdge(edge, node);
        }
      }
    
      @Override
      public void addOutEdge(E edge, N node) {
        N previousNode = incidentEdgeMap.put(edge, node);
        checkState(previousNode == null);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

        if (isSelfLoop) {
          checkPositive(++selfLoopCount);
        }
        N previousNode = inEdgeMap.put(edge, node);
        checkState(previousNode == null);
      }
    
      @Override
      public void addOutEdge(E edge, N node) {
        checkNotNull(edge);
        checkNotNull(node);
    
        N previousNode = outEdgeMap.put(edge, node);
        checkState(previousNode == null);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/NetworkConnections.java

       */
      void addInEdge(E edge, N node, boolean isSelfLoop);
    
      /** Add {@code edge} to the set of outgoing edges. Implicitly adds {@code node} as a successor. */
      void addOutEdge(E edge, N node);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

        if (isSelfLoop) {
          checkPositive(++selfLoopCount);
        }
        N previousNode = inEdgeMap.put(edge, node);
        checkState(previousNode == null);
      }
    
      @Override
      public void addOutEdge(E edge, N node) {
        checkNotNull(edge);
        checkNotNull(node);
    
        N previousNode = outEdgeMap.put(edge, node);
        checkState(previousNode == null);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

        if (!allowsSelfLoops()) {
          checkArgument(!isSelfLoop, SELF_LOOPS_NOT_ALLOWED, nodeU);
        }
    
        if (connectionsU == null) {
          connectionsU = addNodeInternal(nodeU);
        }
        connectionsU.addOutEdge(edge, nodeV);
        NetworkConnections<N, E> connectionsV = nodeConnections.get(nodeV);
        if (connectionsV == null) {
          connectionsV = addNodeInternal(nodeV);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 5.7K bytes
    - Viewed (0)
Back to top