Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for graphBuilder (0.11 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/graph/GraphBuilder.java

    import org.apache.maven.model.building.Result;
    
    /**
     * Builds the {@link ProjectDependencyGraph inter-dependencies graph} between projects in the reactor.
     *
     * @since 3.0-alpha
     */
    public interface GraphBuilder {
        String HINT = "graphBuilder";
    
        Result<? extends ProjectDependencyGraph> build(MavenSession session);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

                LegacySupport legacySupport,
                SessionScope sessionScope,
                RepositorySystemSessionFactory repositorySessionFactory,
                @Named(GraphBuilder.HINT) GraphBuilder graphBuilder,
                BuildResumptionAnalyzer buildResumptionAnalyzer,
                BuildResumptionDataRepository buildResumptionDataRepository,
                SuperPomProvider superPomProvider,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/graph/ElementOrderTest.java

      // Node order tests
    
      @Test
      public void nodeOrder_none() {
        MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(unordered()).build();
    
        assertThat(graph.nodeOrder()).isEqualTo(unordered());
      }
    
      @Test
      public void nodeOrder_insertion() {
        MutableGraph<Integer> graph = GraphBuilder.directed().nodeOrder(insertion()).build();
    
        addNodes(graph);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/PackageSanityTests.java

      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A =
          GraphBuilder.directed().expectedNodeCount(10);
      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B =
          ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
          GraphBuilder.directed().<String>immutable().addNode("A").build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

      }
    
      private static MutableGraph<Integer> createGraph(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return GraphBuilder.undirected().allowsSelfLoops(true).build();
          case DIRECTED:
            return GraphBuilder.directed().allowsSelfLoops(true).build();
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

      }
    
      private static MutableGraph<Integer> createGraph(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return GraphBuilder.undirected().allowsSelfLoops(true).build();
          case DIRECTED:
            return GraphBuilder.directed().allowsSelfLoops(true).build();
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/GraphsTest.java

      @Test
      public void transitiveClosure_directedGraph() {
        MutableGraph<Integer> directedGraph = GraphBuilder.directed().allowsSelfLoops(false).build();
        directedGraph.putEdge(N1, N2);
        directedGraph.putEdge(N1, N3);
        directedGraph.putEdge(N2, N3);
        directedGraph.addNode(N4);
    
        MutableGraph<Integer> expectedClosure = GraphBuilder.directed().allowsSelfLoops(true).build();
        expectedClosure.putEdge(N1, N1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/graph/ImmutableGraph.java

       */
      public static class Builder<N> {
    
        private final MutableGraph<N> mutableGraph;
    
        Builder(GraphBuilder<N> graphBuilder) {
          // The incidentEdgeOrder for immutable graphs is always stable. However, we don't want to
          // modify this builder, so we make a copy instead.
          this.mutableGraph = graphBuilder.copy().incidentEdgeOrder(ElementOrder.<N>stable()).build();
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/PackageSanityTests.java

      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A =
          GraphBuilder.directed().expectedNodeCount(10);
      private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B =
          ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
    
      private static final ImmutableGraph<String> IMMUTABLE_GRAPH_A =
          GraphBuilder.directed().<String>immutable().addNode("A").build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

    import static java.util.Comparator.comparing;
    
    /**
     * Builds the {@link ProjectDependencyGraph inter-dependencies graph} between projects in the reactor.
     */
    @Named(GraphBuilder.HINT)
    @Singleton
    public class DefaultGraphBuilder implements GraphBuilder {
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultGraphBuilder.class);
    
        private final BuildResumptionDataRepository buildResumptionDataRepository;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top