org.apache.mahout.ep
Class Mapping.SoftLimit

java.lang.Object
  extended by org.apache.mahout.math.function.DoubleFunction
      extended by org.apache.mahout.ep.Mapping
          extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.mahout.ep.Mapping
Mapping.Exponential, Mapping.Identity, Mapping.LogLimit, Mapping.SoftLimit
 
Constructor Summary
Mapping.SoftLimit()
           
 
Method Summary
 double apply(double v)
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class org.apache.mahout.ep.Mapping
exponential, exponential, identity, logLimit, softLimit, softLimit
 
Methods inherited from class org.apache.mahout.math.function.DoubleFunction
isDensifying
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mapping.SoftLimit

public Mapping.SoftLimit()
Method Detail

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.