Package planner.utils.objfunctions
Class RadialVelocityFunction
java.lang.Object
planner.utils.objfunctions.RadialVelocityFunction
- All Implemented Interfaces:
ObjectiveFunction
RadialVelocityFunction is a class implementing the estimation of the radial
velocity of a binary stellar system from a candidate solution and a set of
input variables.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Alicia Vazquez Ramos
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
compute
(double[] genotype, double[] input) Computes the radial velocity estimation for a binary stellar system given a candidate solution and a set of input variables.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface planner.utils.objfunctions.ObjectiveFunction
getInstancesEstimations
-
Constructor Details
-
RadialVelocityFunction
public RadialVelocityFunction()
-
-
Method Details
-
compute
public double compute(double[] genotype, double[] input) Computes the radial velocity estimation for a binary stellar system given a candidate solution and a set of input variables.- Specified by:
compute
in interfaceObjectiveFunction
- Parameters:
genotype
- candidate solution.input
- input variables neede for the estimation.- Returns:
- the estimation.
-