java.lang.Object
org.ojalgo.ann.NodeDropper
- All Implemented Interfaces:
DoubleUnaryOperator,Function<Double,,Double> UnaryOperator<Double>,BasicFunction,PrimitiveFunction.Unary,UnaryFunction<Double>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ojalgo.function.BasicFunction
BasicFunction.Differentiable<N extends Comparable<N>,F extends BasicFunction>, BasicFunction.Integratable<N extends Comparable<N>, F extends BasicFunction>, BasicFunction.PlainUnary<T, R> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleinvoke(double arg) (package private) static NodeDropperof(double probabilityToKeep) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.DoubleUnaryOperator
andThen, composeMethods inherited from interface org.ojalgo.function.PrimitiveFunction.Unary
invokeMethods inherited from interface org.ojalgo.function.UnaryFunction
andThen, apply, applyAsDouble, compose, invoke, invoke, invoke, invoke, invoke
-
Field Details
-
myProbabilityToKeep
private final double myProbabilityToKeep
-
-
Constructor Details
-
NodeDropper
NodeDropper(double probabilityToKeep)
-
-
Method Details
-
of
-
invoke
public double invoke(double arg) - Specified by:
invokein interfaceUnaryFunction<Double>
-