Package org.ojalgo.ann
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 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 TypeMethodDescriptiondouble
invoke
(double arg) (package private) static NodeDropper
of
(double probabilityToKeep) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.DoubleUnaryOperator
andThen, compose
Methods inherited from interface org.ojalgo.function.PrimitiveFunction.Unary
invoke
Methods 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:
invoke
in interfaceUnaryFunction<Double>
-