Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ValueGraph (0.24 sec)

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

     * subtype of {@code ValueGraph} that provides methods for adding and removing nodes and edges. If
     * you do not need to mutate a graph (e.g. if you write a method than runs a read-only algorithm on
     * the graph), you should use the non-mutating {@link ValueGraph} interface, or an {@link
     * ImmutableValueGraph}.
     *
     * <p>You can create an immutable copy of an existing {@code ValueGraph} using {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/TestUtil.java

        assertThat(graphA.nodeOrder()).isEqualTo(graphB.nodeOrder());
    
        assertThat(graphA).isEqualTo(graphB);
      }
    
      static void assertStronglyEquivalent(ValueGraph<?, ?> graphA, ValueGraph<?, ?> graphB) {
        // Properties not covered by equals()
        assertThat(graphA.allowsSelfLoops()).isEqualTo(graphB.allowsSelfLoops());
        assertThat(graphA.nodeOrder()).isEqualTo(graphB.nodeOrder());
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/graph/TestUtil.java

        assertThat(graphA.nodeOrder()).isEqualTo(graphB.nodeOrder());
    
        assertThat(graphA).isEqualTo(graphB);
      }
    
      static void assertStronglyEquivalent(ValueGraph<?, ?> graphA, ValueGraph<?, ?> graphB) {
        // Properties not covered by equals()
        assertThat(graphA.allowsSelfLoops()).isEqualTo(graphB.allowsSelfLoops());
        assertThat(graphA.nodeOrder()).isEqualTo(graphB.nodeOrder());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/Graphs.java

      private static class TransposedValueGraph<N, V> extends ForwardingValueGraph<N, V> {
        private final ValueGraph<N, V> graph;
    
        TransposedValueGraph(ValueGraph<N, V> graph) {
          this.graph = graph;
        }
    
        @Override
        ValueGraph<N, V> delegate() {
          return graph;
        }
    
        @Override
        public Set<N> predecessors(N node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/StandardValueGraph.java

    import java.util.Iterator;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeMap;
    import javax.annotation.CheckForNull;
    
    /**
     * Standard implementation of {@link ValueGraph} that supports the options supplied by {@link
     * AbstractGraphBuilder}.
     *
     * <p>This class maintains a map of nodes to {@link GraphConnections}.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/BaseGraph.java

     * limitations under the License.
     */
    
    package com.google.common.graph;
    
    import java.util.Set;
    
    /**
     * A non-public interface for the methods shared between {@link Graph} and {@link ValueGraph}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    @ElementTypesAreNonnullByDefault
    interface BaseGraph<N> extends SuccessorsFunction<N>, PredecessorsFunction<N> {
      //
      // Graph-level accessors
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Network.java

     * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes.
     *
     * <p>There are three primary interfaces provided to represent graphs. In order of increasing
     * complexity they are: {@link Graph}, {@link ValueGraph}, and {@link Network}. You should generally
     * prefer the simplest interface that satisfies your use case. See the <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/GraphConstants.java

      static final String ENDPOINTS_MISMATCH =
          "Mismatch: endpoints' ordering is not compatible with directionality of the graph";
    
      /** Singleton edge value for {@link Graph} implementations backed by {@link ValueGraph}s. */
      enum Presence {
        EDGE_EXISTS
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Graph.java

     * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes.
     *
     * <p>There are three primary interfaces provided to represent graphs. In order of increasing
     * complexity they are: {@link Graph}, {@link ValueGraph}, and {@link Network}. You should generally
     * prefer the simplest interface that satisfies your use case. See the <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#choosing-the-right-graph-type">
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 13.6K bytes
    - Viewed (0)
Back to top