Package com.opttek.optquest
Class COptQuestGeolocationVariable
java.lang.Object
com.opttek.optquest.COptQuestVariable
com.opttek.optquest.COptQuestDiscreteVariable
com.opttek.optquest.COptQuestTupleVariable
com.opttek.optquest.COptQuestGeolocationVariable
The COptQuestGeolocationVariable class defines a decision variable whose values
are lists of latitude and longitude. This is a specialization of the tuple with
extra restrictions on the size of the tuple (2) and distance is on a sphere rather
than Euclidean
-
Constructor Summary
ConstructorsConstructorDescriptionCOptQuestGeolocationVariable
(double[][] locations) COptQuestGeolocationVariable
(String name, double[][] locations) Default constructor -
Method Summary
Methods inherited from class com.opttek.optquest.COptQuestTupleVariable
getTupleIndex, GetTupleLowerBound, GetTupleRange, getTupleSize, GetTupleUpperBound, getTupleValue
Methods inherited from class com.opttek.optquest.COptQuestDiscreteVariable
GetStepSize, isZeroOne, SetStepSize
Methods inherited from class com.opttek.optquest.COptQuestVariable
equals, GetDOELowerBound, GetDOEUpperBound, GetExclusiveLowerBoundAt, GetExclusiveUpperBoundAt, getID, GetLowerBound, GetName, GetNumberOfExclusiveRanges, GetSuggestedValue, GetUpperBound, getVarRange, hashCode, SetExclusiveRange, SetLowerBound, SetName, SetUpperBound
-
Constructor Details
-
COptQuestGeolocationVariable
Default constructor- Throws:
COptQuestException
-
COptQuestGeolocationVariable
- Throws:
COptQuestException
-
-
Method Details
-
getTupleDistance
public double getTupleDistance(double[] tuple1, double[] tuple2) - Overrides:
getTupleDistance
in classCOptQuestTupleVariable
-