com.intel.hadoop.graphbuilder.demoapps.wikipedia.docwordgraph
Class TransformToTFIDF.Dividefunc
java.lang.Object
com.intel.hadoop.graphbuilder.demoapps.wikipedia.docwordgraph.TransformToTFIDF.Dividefunc
- All Implemented Interfaces:
- Functional<IntType,FloatType>
- Enclosing class:
- TransformToTFIDF
public static final class TransformToTFIDF.Dividefunc
- extends java.lang.Object
- implements Functional<IntType,FloatType>
f : x * y -> x / y
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformToTFIDF.Dividefunc
public TransformToTFIDF.Dividefunc()
configure
public void configure(org.apache.hadoop.mapred.JobConf job)
throws java.lang.Exception
- Specified by:
configure
in interface Functional<IntType,FloatType>
- Throws:
java.lang.Exception
reduce
public FloatType reduce(IntType a,
FloatType b)
- Specified by:
reduce
in interface Functional<IntType,FloatType>
getInType
public java.lang.Class<IntType> getInType()
- Specified by:
getInType
in interface Functional<IntType,FloatType>
getOutType
public java.lang.Class<FloatType> getOutType()
- Specified by:
getOutType
in interface Functional<IntType,FloatType>
base
public FloatType base()
- Specified by:
base
in interface Functional<IntType,FloatType>