org.apache.mahout.common.parameters
Interface Parametered

All Known Subinterfaces:
DistanceMeasure, Parameter<T>
All Known Implementing Classes:
AbstractParameter, ClassParameter, CompositeParameter, CosineDistanceMeasure, DoubleParameter, EuclideanDistanceMeasure, FileParameter, IntegerParameter, MahalanobisDistanceMeasure, ManhattanDistanceMeasure, PathParameter, SquaredEuclideanDistanceMeasure, StringParameter, TanimotoDistanceMeasure, WeightedDistanceMeasure, WeightedEuclideanDistanceMeasure, WeightedManhattanDistanceMeasure

public interface Parametered

Meta information and accessors for configuring a job.


Nested Class Summary
static class Parametered.ParameteredGeneralizations
          "multiple inheritance"
 
Field Summary
static org.slf4j.Logger log
           
 
Method Summary
 void configure(org.apache.hadoop.conf.Configuration config)
           
 void createParameters(java.lang.String prefix, org.apache.hadoop.conf.Configuration jobConf)
          EXPERT: consumers should never have to call this method.
 java.util.Collection<Parameter<?>> getParameters()
           
 

Field Detail

log

static final org.slf4j.Logger log
Method Detail

getParameters

java.util.Collection<Parameter<?>> getParameters()

createParameters

void createParameters(java.lang.String prefix,
                      org.apache.hadoop.conf.Configuration jobConf)
EXPERT: consumers should never have to call this method. It would be friendly visible to Parametered.ParameteredGeneralizations if java supported it. Calling this method should create a new list of parameters and is called

Parameters:
prefix - ends with a dot if not empty.
jobConf - configuration used for retrieving values
See Also:
invoking method, invoking method

configure

void configure(org.apache.hadoop.conf.Configuration config)


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.