org.apache.mahout.ep
Class Mapping.SoftLimit
java.lang.Object
org.apache.mahout.math.function.DoubleFunction
org.apache.mahout.ep.Mapping
org.apache.mahout.ep.Mapping.SoftLimit
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
- Enclosing class:
- Mapping
public static final class Mapping.SoftLimit
- extends Mapping
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Mapping.SoftLimit
public Mapping.SoftLimit()
apply
public double apply(double v)
- Specified by:
apply
in class DoubleFunction
write
public void write(DataOutput out)
throws IOException
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Throws:
IOException
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.