Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for BaseGraph (0.15 sec)

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

    /**
     * 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
      //
    
      /** Returns all nodes in this graph, in the order specified by {@link #nodeOrder()}. */
      Set<N> nodes();
    
    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)
  2. android/guava/src/com/google/common/graph/EndpointPairIterator.java

      private final BaseGraph<N> graph;
      private final Iterator<N> nodeIterator;
    
      @CheckForNull
      N node = null; // null is safe as an initial value because graphs don't allow null nodes
    
      Iterator<N> successorIterator = ImmutableSet.<N>of().iterator();
    
      static <N> EndpointPairIterator<N> of(BaseGraph<N> graph) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/ImmutableGraph.java

    @Immutable(containerOf = {"N"})
    @ElementTypesAreNonnullByDefault
    public class ImmutableGraph<N> extends ForwardingGraph<N> {
      @SuppressWarnings("Immutable") // The backing graph must be immutable.
      private final BaseGraph<N> backingGraph;
    
      ImmutableGraph(BaseGraph<N> backingGraph) {
        this.backingGraph = backingGraph;
      }
    
      /** Returns an immutable copy of {@code graph}. */
      public static <N> ImmutableGraph<N> copyOf(Graph<N> graph) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

    /**
     * This class provides a skeletal implementation of {@link BaseGraph}.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/Traverser.java

       *     one path between any two nodes
       */
      public static <N> Traverser<N> forTree(SuccessorsFunction<N> tree) {
        if (tree instanceof BaseGraph) {
          checkArgument(((BaseGraph<?>) tree).isDirected(), "Undirected graphs can never be trees.");
        }
        if (tree instanceof Network) {
          checkArgument(((Network<?, ?>) tree).isDirected(), "Undirected networks can never be trees.");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ValueGraph.java

     * @author Joshua O'Madadhain
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface ValueGraph<N, V> extends BaseGraph<N> {
      //
      // ValueGraph-level accessors
      //
    
      /** Returns all nodes in this graph, in the order specified by {@link #nodeOrder()}. */
      @Override
      Set<N> nodes();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/Graph.java

     * @param <N> Node parameter type
     * @since 20.0
     */
    @Beta
    @DoNotMock("Use GraphBuilder to create a real instance")
    @ElementTypesAreNonnullByDefault
    public interface Graph<N> extends BaseGraph<N> {
      //
      // Graph-level accessors
      //
    
      /** Returns all nodes in this graph, in the order specified by {@link #nodeOrder()}. */
      @Override
      Set<N> nodes();
    
    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