Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 103 for Graph (0.01 sec)

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

      static final String EDGE_NOT_IN_GRAPH = "Edge %s is not an element of this graph.";
      static final String NODE_REMOVED_FROM_GRAPH =
          "Node %s that was used to generate this set is no longer in the graph.";
      static final String NODE_PAIR_REMOVED_FROM_GRAPH =
          "Node %s or node %s that were used to generate this set are no longer in the graph.";
      static final String EDGE_REMOVED_FROM_GRAPH =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/ValueGraphBuilder.java

     *
     * {@snippet :
     * // Building a mutable value graph
     * MutableValueGraph<String, Double> graph =
     *     ValueGraphBuilder.undirected().allowsSelfLoops(true).build();
     * graph.putEdgeValue("San Francisco", "San Francisco", 0.0);
     * graph.putEdgeValue("San Jose", "San Jose", 0.0);
     * graph.putEdgeValue("San Francisco", "San Jose", 48.4);
     *
     * // Building an immutable value graph
     * ImmutableValueGraph<String, Double> immutableGraph =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.TestUtil.assertEdgeNotInGraphErrorMessage;
    import static com.google.common.graph.TestUtil.assertEdgeRemovedFromGraphErrorMessage;
    import static com.google.common.graph.TestUtil.assertNodeNotInGraphErrorMessage;
    import static com.google.common.graph.TestUtil.assertNodeRemovedFromGraphErrorMessage;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/Network.java

       * an edge connecting node A to node B if this {@link Network} has an edge connecting A to B.
       *
       * <p>If this network {@link #allowsParallelEdges() allows parallel edges}, parallel edges will be
       * treated as if collapsed into a single edge. For example, the {@link #degree(Object)} of a node
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.Graphs.checkNonNegative;
    import static com.google.common.graph.Graphs.checkPositive;
    import static java.util.Objects.requireNonNull;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/EndpointPair.java

        return new Unordered<>(nodeV, nodeU);
      }
    
      /** Returns an {@link EndpointPair} representing the endpoints of an edge in {@code graph}. */
      static <N> EndpointPair<N> of(Graph<?> graph, N nodeU, N nodeV) {
        return graph.isDirected() ? ordered(nodeU, nodeV) : unordered(nodeU, nodeV);
      }
    
      /** Returns an {@link EndpointPair} representing the endpoints of an edge in {@code network}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.graph.TestUtil.ERROR_ELEMENT_NOT_IN_GRAPH;
    import static com.google.common.truth.Truth.assertWithMessage;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/GraphConnections.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Iterator;
    import java.util.Set;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An interface for representing and manipulating an origin node's adjacent nodes and edge values in
     * a {@link Graph}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/UndirectedGraphConnections.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.graph.GraphConstants.INNER_CAPACITY;
    import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR;
    
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.Iterators;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/UndirectedMultiNetworkConnections.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import static com.google.common.base.Preconditions.checkState;
    import static com.google.common.graph.GraphConstants.INNER_CAPACITY;
    import static com.google.common.graph.GraphConstants.INNER_LOAD_FACTOR;
    
    import com.google.common.collect.HashMultiset;
    import com.google.common.collect.ImmutableMap;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top