Package picard.util
Enum Class BaitDesigner.DesignStrategy
- All Implemented Interfaces:
Serializable
,Comparable<BaitDesigner.DesignStrategy>
,Constable
- Enclosing class:
- BaitDesigner
Set of possible design strategies for bait design.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionImplementation that "constrains" baits to be within the target region when possible.Design that places baits at fixed offsets over targets, allowing them to hang off the ends as dictated by the target size and offset.Ultra simple bait design algorithm that just lays down baits starting at the target start position until either the bait start runs off the end of the target or the bait would run off the sequence -
Method Summary
Modifier and TypeMethodDescriptionstatic BaitDesigner.DesignStrategy
Returns the enum constant of this class with the specified name.static BaitDesigner.DesignStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CenteredConstrained
Implementation that "constrains" baits to be within the target region when possible. -
FixedOffset
Design that places baits at fixed offsets over targets, allowing them to hang off the ends as dictated by the target size and offset. -
Simple
Ultra simple bait design algorithm that just lays down baits starting at the target start position until either the bait start runs off the end of the target or the bait would run off the sequence
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-