Uses of Class
org.jhotdraw8.graph.Arc
Packages that use Arc
Package
Description
References:
Wikipedia.
-
Uses of Arc in org.jhotdraw8.graph
Methods in org.jhotdraw8.graph that return ArcModifier and TypeMethodDescriptionDirectedGraph.getNextArc(@NonNull V v, int i) Returns the arc data for thei-th next (outgoing) arrow from vertexv.BidiGraph.getPrevArc(@NonNull V v, int i) Returns the arc data for thei-th previous (incoming) arrow from vertexv.Methods in org.jhotdraw8.graph that return types with arguments of type ArcModifier and TypeMethodDescriptiondefault @NonNull Collection<Arc<V, A>> DirectedGraph.getNextArcs(@NonNull V v) Returns the list of next arc data of vertexv.default @NonNull Collection<Arc<V, A>> BidiGraph.getPrevArcs(@NonNull V v) Returns the list of previous arc data of vertexv. -
Uses of Arc in org.jhotdraw8.graph.iterator
Constructor parameters in org.jhotdraw8.graph.iterator with type arguments of type ArcModifierConstructorDescriptionBfsDfsArcSpliterator(@Nullable Function<V, Iterable<Arc<V, A>>> nextFunction, @Nullable V root, @Nullable AddToSet<Arc<V, A>> visited, boolean dfs) Creates a new instance.BfsDfsArcSpliterator(@Nullable Function<V, Iterable<Arc<V, A>>> nextFunction, @Nullable V root, @Nullable AddToSet<Arc<V, A>> visited, boolean dfs) Creates a new instance.Creates a new instance. -
Uses of Arc in org.jhotdraw8.graph.path
Methods in org.jhotdraw8.graph.path that return types with arguments of type ArcModifier and TypeMethodDescriptionAllArcSequencesFinder.findAllArcSequences(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, int maxDepth, @NonNull C costLimit) Finds all arc paths up to (including) the specified maximal cost.SimpleCombinedAllSequencesFinder.findAllArcSequences(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, int maxDepth, @NonNull C costLimit) default @Nullable OrderedPair<ImmutableList<Arc<V, A>>, C> ArcSequenceFinder.findArcSequence(@NonNull V start, @NonNull V goal, int maxDepth, @NonNull C costLimit) Finds an arc sequence from start to goal.default @Nullable OrderedPair<ImmutableList<Arc<V, A>>, C> ArcSequenceFinder.findArcSequence(@NonNull V start, @NonNull V goal, int maxDepth, @NonNull C costLimit, @NonNull AddToSet<V> visited) Finds an arc sequence from start to goal.default @Nullable OrderedPair<ImmutableList<Arc<V, A>>, C> Finds an arc sequence from start to goal.ArcSequenceFinder.findArcSequence(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, int maxDepth, @NonNull C costLimit, @NonNull AddToSet<V> visited) Finds an arc sequence from a set of start vertices to a vertex that satisfies the goal predicate.SimpleCombinedSequenceFinder.findArcSequence(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, int maxDepth, @NonNull C costLimit, @NonNull AddToSet<V> visited) default @Nullable OrderedPair<ImmutableList<Arc<V, A>>, C> ArcSequenceFinder.findArcSequenceOverWaypoints(@NonNull Iterable<V> waypoints, int maxDepth, @NonNull C costLimit) Finds an arc sequence through the given waypoints.ArcSequenceFinder.findArcSequenceOverWaypoints(@NonNull Iterable<V> waypoints, int maxDepth, @NonNull C costLimit, @NonNull Supplier<AddToSet<V>> visitedSetFactory) Finds an arc sequence through the given waypoints.default @Nullable OrderedPair<ImmutableList<Arc<V, A>>, C> ArcSequenceFinder.findArcSequenceOverWaypoints(@NonNull Iterable<V> waypoints, @NonNull C costLimit) Finds an arc sequence through the given waypoints.static <VV,AA, CC extends Number & Comparable<CC>>
@Nullable OrderedPair<ImmutableList<Arc<VV, AA>>, CC> ArcSequenceFinder.findArcSequenceOverWaypoints(@NonNull Iterable<VV> waypoints, @NonNull BiFunction<VV, VV, OrderedPair<ImmutableList<Arc<VV, AA>>, CC>> findArcSequenceFunction, @NonNull CC zero, @NonNull BiFunction<CC, CC, CC> sumFunction) Helper function for implementingArcSequenceFinder.findArcSequenceOverWaypoints(Iterable, int, Number, Supplier).SimpleCombinedSequenceFinder.findArcSequenceOverWaypoints(@NonNull Iterable<V> waypoints, int maxDepth, @NonNull C costLimit, @NonNull Supplier<AddToSet<V>> visitedSetFactory) Method parameters in org.jhotdraw8.graph.path with type arguments of type ArcModifier and TypeMethodDescriptionstatic <VV,AA, CC extends Number & Comparable<CC>>
@Nullable OrderedPair<ImmutableList<Arc<VV, AA>>, CC> ArcSequenceFinder.findArcSequenceOverWaypoints(@NonNull Iterable<VV> waypoints, @NonNull BiFunction<VV, VV, OrderedPair<ImmutableList<Arc<VV, AA>>, CC>> findArcSequenceFunction, @NonNull CC zero, @NonNull BiFunction<CC, CC, CC> sumFunction) Helper function for implementingArcSequenceFinder.findArcSequenceOverWaypoints(Iterable, int, Number, Supplier).static <VV,AA> @NonNull SimpleCombinedSequenceFinder <VV, AA, Double> SimpleCombinedSequenceFinder.newDoubleCostInstance(@NonNull Function<VV, Iterable<Arc<VV, AA>>> nextArcsFunction, @NonNull Function3<VV, VV, AA, Double> costFunction, @NonNull ArcPathSearchAlgo<VV, AA, Double> algo) Creates a new instance with a cost function that returns double numbers.static <VV,AA> @NonNull SimpleCombinedSequenceFinder <VV, AA, Integer> SimpleCombinedSequenceFinder.newIntCostInstance(@NonNull Function<VV, Iterable<Arc<VV, AA>>> nextArcsFunction, @NonNull BiFunction<VV, VV, Integer> costFunction, @NonNull ArcPathSearchAlgo<VV, AA, Integer> algo) Creates a new instance with a cost function that returns integer numbers.static <VV,AA> @NonNull SimpleCombinedSequenceFinder <VV, AA, Integer> SimpleCombinedSequenceFinder.newIntCostInstance(@NonNull Function<VV, Iterable<Arc<VV, AA>>> nextArcsFunction, @NonNull Function3<VV, VV, AA, Integer> costFunction, @NonNull ArcPathSearchAlgo<VV, AA, Integer> algo) Creates a new instance with a cost function that returns integer numbers.static <VV,AA> @NonNull SimpleCombinedSequenceFinder <VV, AA, Integer> SimpleCombinedSequenceFinder.newIntCostInstance(@NonNull Function<VV, Iterable<Arc<VV, AA>>> nextArcsFunction, @NonNull ArcPathSearchAlgo<VV, AA, Integer> algo) Creates a new instance with a cost function that counts the number of arrows.static <VV,AA> @NonNull SimpleReachabilityChecker <VV, AA, Integer> SimpleReachabilityChecker.newIntCostInstance(@NonNull Function<VV, Iterable<Arc<VV, AA>>> nextArcsFunction, @NonNull Function3<VV, VV, AA, Integer> costFunction, @NonNull ArcReachabilityAlgo<VV, AA, Integer> algo) Creates a new instance which has a cost function that returns integer numbers.static <VV,AA> @NonNull SimpleReachabilityChecker <VV, AA, Integer> SimpleReachabilityChecker.newIntCostInstance(@NonNull Function<VV, Iterable<Arc<VV, AA>>> nextArcsFunction, @NonNull ArcReachabilityAlgo<VV, AA, Integer> algo) Creates a new instance which has a int cost function that counts the number of arrows.static <VV,AA> @NonNull SimpleCombinedSequenceFinder <VV, AA, Long> SimpleCombinedSequenceFinder.newLongCostInstance(@NonNull Function<VV, Iterable<Arc<VV, AA>>> nextArcsFunction, @NonNull Function3<VV, VV, AA, Long> costFunction, @NonNull ArcPathSearchAlgo<VV, AA, Long> algo) Creates a new instance with a cost function that returns long numbers.static <VV,AA> @NonNull SimpleReachabilityChecker <VV, AA, Long> SimpleReachabilityChecker.newLongCostInstance(@NonNull Function<VV, Iterable<Arc<VV, AA>>> nextArcsFunction, @NonNull Function3<VV, VV, AA, Long> costFunction, @NonNull ArcReachabilityAlgo<VV, AA, Long> algo) Creates a new instance which has a cost function that returns long numbers.Constructor parameters in org.jhotdraw8.graph.path with type arguments of type ArcModifierConstructorDescriptionSimpleCombinedAllSequencesFinder(@NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, @NonNull C zero, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction) Creates a new instance.SimpleCombinedSequenceFinder(@NonNull C zero, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction, @NonNull ArcPathSearchAlgo<V, A, C> algo) Creates a new instance.SimpleReachabilityChecker(@NonNull C zero, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction, @NonNull ArcReachabilityAlgo<V, A, C> algo) Creates a new instance. -
Uses of Arc in org.jhotdraw8.graph.path.algo
Method parameters in org.jhotdraw8.graph.path.algo with type arguments of type ArcModifier and TypeMethodDescriptionAnyArcPathSearchAlgo.search(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, int maxDepth, @NonNull C zero, @NonNull C costLimit, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction, @NonNull AddToSet<V> visited) Search engine method.AnyArcPathSearchAlgo.search(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, @NonNull AddToSet<V> visited, int maxDepth) Search engine method.AnyShortestArcPathSearchAlgo.search(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, int maxDepth, @NonNull C zero, @NonNull C costLimit, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction, @NonNull AddToSet<V> visited) Search engine method.ArcPathSearchAlgo.search(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, int maxDepth, @NonNull C zero, @NonNull C costLimit, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction, @NonNull AddToSet<V> visited) Search engine method.UniqueArcPathSearchAlgo.search(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, int maxDepth) Search engine method.UniqueArcPathSearchAlgo.search(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, int maxDepth, @NonNull C zero, @NonNull C costLimit, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction, @NonNull AddToSet<V> visited) Search engine method.UniqueOnAcyclicGraphArcPathSearchAlgo.search(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, int maxDepth) Search engine method.UniqueOnAcyclicGraphArcPathSearchAlgo.search(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, int maxDepth, @NonNull C zero, @NonNull C costLimit, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction, @NonNull AddToSet<V> visited) Search engine method.UniqueShortestArcPathSearchAlgo.search(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, int maxDepth, @NonNull C zero, @NonNull C costLimit, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction, @NonNull AddToSet<V> visited) Search engine method.booleanArcReachabilityAlgo.tryToReach(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, int maxDepth, @NonNull C zero, @NonNull C costLimit, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction) Search engine method.Constructor parameters in org.jhotdraw8.graph.path.algo with type arguments of type ArcModifierConstructorDescriptionAllWalksSpliterator(@NonNull Iterable<V> startVertices, @NonNull Predicate<V> goalPredicate, @NonNull Function<V, Iterable<Arc<V, A>>> nextArcsFunction, @NonNull Function<ArcBackLinkWithCost<V, A, C>, OrderedPair<ImmutableList<E>, C>> sequenceFunction, int maxDepth, @NonNull C maxCost, @NonNull C zero, @NonNull Function3<V, V, A, C> costFunction, @NonNull BiFunction<C, C, C> sumFunction) Creates a new instance.