Class ClearanceCalculator

  • Direct Known Subclasses:

    public class ClearanceCalculator
    extends java.lang.Object
    Interface for ClearanceCalculator

    A ClearanceCalculator provides a mean for calculating the clearance of for a state. While the
    concept of clearance usually refers to the distance between a device and obstacle, not such
    assumption should be made based on the interface, as other fitness criteria may be

    Only convention is that a high clearance value is better than a low.
    • Constructor Detail

      • ClearanceCalculator

        public ClearanceCalculator​(long cPtr,
                                   boolean cMemoryOwn)
    • Method Detail

      • delete

        public void delete()
      • clearance

        public double clearance​(State state)
        Calculates Clearance for the state

        state - [in] State for which to calculate the clearance
        The clearance.