Class ClearanceCalculator
- java.lang.Object
- 
- org.robwork.sdurw_pathoptimization.ClearanceCalculator
 
- 
- Direct Known Subclasses:
- MinimumClearanceCalculator
 
 public class ClearanceCalculator extends java.lang.ObjectInterface 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
 implemented.
 
 Only convention is that a high clearance value is better than a low.
- 
- 
Constructor SummaryConstructors Constructor Description ClearanceCalculator(long cPtr, boolean cMemoryOwn)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleclearance(State state)Calculates Clearance for the state
 voiddelete()static longgetCPtr(ClearanceCalculator obj)
 
- 
- 
- 
Method Detail- 
getCPtrpublic static long getCPtr(ClearanceCalculator obj) 
 - 
deletepublic void delete() 
 - 
clearancepublic double clearance(State state) Calculates Clearance for the state
 - Parameters:
- state- [in] State for which to calculate the clearance
- Returns:
- The clearance.
 
 
- 
 
-