|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.featureindexlibrary.commons.LookupParams
public class LookupParams
Lookup parameters
| Constructor Summary | |
|---|---|
LookupParams(FIEnums.AlgoType algo,
FIEnums.DistanceTypes dist,
boolean weighted)
Creates a new instance |
|
| Method Summary | |
|---|---|
FIEnums.AlgoType |
getAlgo()
Retreves the algorithm |
FIEnums.DistanceTypes |
getDist()
Retrieves teh distance measure |
boolean |
isWeighted()
Checks if weights are used |
void |
setAlgo(FIEnums.AlgoType algo)
Sets teh algorithm |
void |
setDist(FIEnums.DistanceTypes dist)
Sets the distance measure |
void |
setWeighted(boolean weighted)
Sets if weights should be used |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LookupParams(FIEnums.AlgoType algo,
FIEnums.DistanceTypes dist,
boolean weighted)
algo - The lookup algorithm to usedist - The distance to useweighted - use weights| Method Detail |
|---|
public FIEnums.AlgoType getAlgo()
public void setAlgo(FIEnums.AlgoType algo)
algo - The algorithmpublic FIEnums.DistanceTypes getDist()
public void setDist(FIEnums.DistanceTypes dist)
dist - The distance measurepublic boolean isWeighted()
true if weights are used, false otherwisepublic void setWeighted(boolean weighted)
weighted - true, or false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||