Enum AStarThread.ASynchronousMoveSorting

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AStarThread.ASynchronousMoveSorting>
    Enclosing interface:
    AStarThread<H extends nl.tue.astar.Head,​T extends nl.tue.astar.Tail>

    public static enum AStarThread.ASynchronousMoveSorting
    extends java.lang.Enum<AStarThread.ASynchronousMoveSorting>
    Enumeration to set the sorting of moves. When computing an alignment, it is generally possible to sort the moves in between two synchronous moves. If LOGMOVEFIST is used, then no log-move will ever succeed a model-Move. If MOVEMODELFIRST is used, then no model-move will ever succeed a log-move.
    Author:
    bfvdonge
    • Method Detail

      • values

        public static AStarThread.ASynchronousMoveSorting[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AStarThread.ASynchronousMoveSorting c : AStarThread.ASynchronousMoveSorting.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AStarThread.ASynchronousMoveSorting valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null