- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for AbstractGraphBuilder (0.1 sec)
-
guava/src/com/google/common/graph/AbstractGraphBuilder.java
import com.google.common.base.Optional; /** * A base class for builders that construct graphs with user-defined properties. * * @author James Sexton */ @ElementTypesAreNonnullByDefault abstract class AbstractGraphBuilder<N> { final boolean directed; boolean allowsSelfLoops = false; ElementOrder<N> nodeOrder = ElementOrder.insertion(); ElementOrder<N> incidentEdgeOrder = ElementOrder.unordered();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 1.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/PackageSanityTests.java
* * @author Kurt Alfred Kluever */ public class PackageSanityTests extends AbstractPackageSanityTests { private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A = GraphBuilder.directed().expectedNodeCount(10); private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B = ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/PackageSanityTests.java
* * @author Kurt Alfred Kluever */ public class PackageSanityTests extends AbstractPackageSanityTests { private static final AbstractGraphBuilder<?> GRAPH_BUILDER_A = GraphBuilder.directed().expectedNodeCount(10); private static final AbstractGraphBuilder<?> GRAPH_BUILDER_B = ValueGraphBuilder.directed().allowsSelfLoops(true).expectedNodeCount(16);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 3.2K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardValueGraph.java
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}. * * <p>Collection-returning accessors return unmodifiable views: the view returned will reflect
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 6.1K bytes - Viewed (0) -
guava/src/com/google/common/graph/StandardMutableGraph.java
private final MutableValueGraph<N, Presence> backingValueGraph; /** Constructs a {@link MutableGraph} with the properties specified in {@code builder}. */ StandardMutableGraph(AbstractGraphBuilder<? super N> builder) { this.backingValueGraph = new StandardMutableValueGraph<>(builder); } @Override BaseGraph<N> delegate() { return backingValueGraph; } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/ValueGraphBuilder.java
* #from(ValueGraph)}. * @since 20.0 */ @Beta @ElementTypesAreNonnullByDefault public final class ValueGraphBuilder<N, V> extends AbstractGraphBuilder<N> { /** Creates a new instance with the specified edge directionality. */ private ValueGraphBuilder(boolean directed) { super(directed); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 03 01:21:31 UTC 2022 - 8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/NetworkBuilder.java
* constructed based on an existing {@code Network} using {@link #from(Network)}. * @since 20.0 */ @Beta @ElementTypesAreNonnullByDefault public final class NetworkBuilder<N, E> extends AbstractGraphBuilder<N> { boolean allowsParallelEdges = false; ElementOrder<? super E> edgeOrder = ElementOrder.insertion(); Optional<Integer> expectedEdgeCount = Optional.absent();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 03 01:21:31 UTC 2022 - 7.4K bytes - Viewed (0)