Class NodeDropper
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 BasicFunction
BasicFunction.Differentiable<N,F>, BasicFunction.Integratable<N, F>, 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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DoubleUnaryOperator
andThen, composeMethods inherited from interface PrimitiveFunction.Unary
invokeMethods inherited from interface 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>
-