X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fnet%2Fsf%2Fopenrocket%2Foptimization%2Frocketoptimization%2FRocketOptimizationListener.java;h=05fc429bf2e96809f66cfe728dc1ceebfbdb90a4;hb=8320c04afa30e2aa0150adc870d02abeedb01066;hp=dac89c059e56d18af6c9daa32bf6c3663b6162ac;hpb=6460090e9ec07b12234369583032d02d7c5ed3b1;p=debian%2Fopenrocket diff --git a/src/net/sf/openrocket/optimization/rocketoptimization/RocketOptimizationListener.java b/src/net/sf/openrocket/optimization/rocketoptimization/RocketOptimizationListener.java index dac89c05..05fc429b 100644 --- a/src/net/sf/openrocket/optimization/rocketoptimization/RocketOptimizationListener.java +++ b/src/net/sf/openrocket/optimization/rocketoptimization/RocketOptimizationListener.java @@ -14,11 +14,11 @@ public interface RocketOptimizationListener { * Called after successful function evaluation. * * @param point the optimization point. - * @param state the values to which the rocket has been modified, in the order of "point". - * @param domainReference the domain reference value (or NaN if unavailable) + * @param state the values to which the rocket has been modified in SI units, in the order of "point". + * @param domainReference the domain reference description (or null if unavailable) * @param parameterValue the parameter value (or NaN if unavailable) * @param goalValue the goal value (return value of the function) */ - public void evaluated(Point point, Value[] state, double domainReference, double parameterValue, double goalValue); + public void evaluated(Point point, Value[] state, Value domainReference, Value parameterValue, double goalValue); }