public abstract class WeightedDistanceMeasure extends Object implements DistanceMeasure
Parametered.ParameteredGeneralizations
log
Constructor and Description |
---|
WeightedDistanceMeasure() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.hadoop.conf.Configuration jobConf) |
void |
createParameters(String prefix,
org.apache.hadoop.conf.Configuration jobConf)
EXPERT: consumers should never have to call this method.
|
Collection<Parameter<?>> |
getParameters() |
Vector |
getWeights() |
void |
setWeights(Vector weights) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
distance, distance
public void createParameters(String prefix, org.apache.hadoop.conf.Configuration jobConf)
Parametered
Parametered.ParameteredGeneralizations
if java supported it. Calling this method should create a new list of
parameters and is calledcreateParameters
in interface Parametered
prefix
- ends with a dot if not empty.jobConf
- configuration used for retrieving valuesinvoking method
,
invoking method
public Collection<Parameter<?>> getParameters()
getParameters
in interface Parametered
public void configure(org.apache.hadoop.conf.Configuration jobConf)
configure
in interface Parametered
public Vector getWeights()
public void setWeights(Vector weights)
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.