Package org.opentcs.components.kernel
Interface RouteSelector
public interface RouteSelector
Declares the methods a route selector must implement.
-
Method Summary
-
Method Details
-
select
Selects a route from a given set of routes.- Parameters:
routes- The set to select a route from.- Returns:
- The selected route, or the empty optional, if no route was selected.
-
selectSequence
Selects a route sequence from a given set of route sequences.Each list entry in a route sequence represents a route for a specific drive order, where the list index corresponds to the drive order index.
- Parameters:
routes- The set of route sequences to select a route sequence from.- Returns:
- The selected route sequence, or an empty optional, if no route sequence was selected.
-