edu.stanford.rsl.konrad.physics
Class LambdaFunction
java.lang.Object
edu.stanford.rsl.konrad.physics.LambdaFunction
- All Implemented Interfaces:
- edu.stanford.rsl.jpop.SimpleOptimizableFunction, ParallelizableRunnable, java.lang.Runnable
public class LambdaFunction
- extends java.lang.Object
- implements edu.stanford.rsl.jpop.SimpleOptimizableFunction, ParallelizableRunnable
Evaluates the lambda Function according to
Joseph PM, Spital RD. “A method for correcting bone induced artifacts in computed tomography scanners”, JCAT 1978;2:100-108.
- Author:
- akmaier
Method Summary |
double |
evaluate(double lambda)
|
double |
getOptimalLambda()
Method to access the optimal lambda after optimization. |
void |
run()
|
void |
setLatch(java.util.concurrent.CountDownLatch latch)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
evaluate
public double evaluate(double lambda)
- Specified by:
evaluate
in interface edu.stanford.rsl.jpop.SimpleOptimizableFunction
setLatch
public void setLatch(java.util.concurrent.CountDownLatch latch)
- Specified by:
setLatch
in interface ParallelizableRunnable
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
getOptimalLambda
public double getOptimalLambda()
- Method to access the optimal lambda after optimization.
- Returns:
- the optimal value