Package org.ojalgo.ann
Class NodeDropper
- java.lang.Object
-
- org.ojalgo.ann.NodeDropper
-
- All Implemented Interfaces:
java.util.function.DoubleUnaryOperator
,java.util.function.Function<java.lang.Double,java.lang.Double>
,java.util.function.UnaryOperator<java.lang.Double>
,BasicFunction
,PrimitiveFunction.Unary
,UnaryFunction<java.lang.Double>
final class NodeDropper extends java.lang.Object implements PrimitiveFunction.Unary
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.function.BasicFunction
BasicFunction.Differentiable<N extends java.lang.Comparable<N>,F extends BasicFunction>, BasicFunction.Integratable<N extends java.lang.Comparable<N>,F extends BasicFunction>, BasicFunction.PlainUnary<T,R>
-
-
Field Summary
Fields Modifier and Type Field Description private double
myProbabilityToKeep
-
Constructor Summary
Constructors Constructor Description NodeDropper(double probabilityToKeep)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
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 org.ojalgo.function.PrimitiveFunction.Unary
invoke
-
Methods inherited from interface org.ojalgo.function.UnaryFunction
andThen, apply, applyAsDouble, compose, invoke, invoke, invoke, invoke, invoke
-
-
-
-
Method Detail
-
of
static NodeDropper of(double probabilityToKeep)
-
invoke
public double invoke(double arg)
- Specified by:
invoke
in interfaceUnaryFunction<java.lang.Double>
-
-