java.lang.Object
com.aoindustries.aoserv.cluster.optimize.ListElement
All Implemented Interfaces:
Comparable<ListElement>

public class ListElement extends Object implements Comparable<ListElement>
A list element.
  • Method Details

    • compareTo

      public int compareTo(ListElement other)
      Sorted by heuristic value, lowest to highest.
      Specified by:
      compareTo in interface Comparable<ListElement>
    • getPrevious

      public ListElement getPrevious()
    • getTransition

      public Transition getTransition()
      Gets the transition, this is null for the initial state.
    • getPathLen

      public int getPathLen()
    • getClusterConfiguration

      public ClusterConfiguration getClusterConfiguration()
    • getHeuristic

      public double getHeuristic()