1 package net.sf.openrocket.optimization.rocketoptimization;
3 import net.sf.openrocket.optimization.general.Point;
4 import net.sf.openrocket.unit.Value;
7 * A listener for the progress of rocket optimization.
9 * @author Sampo Niskanen <sampo.niskanen@iki.fi>
11 public interface RocketOptimizationListener {
14 * Called after successful function evaluation.
16 * @param point the optimization point.
17 * @param state the values to which the rocket has been modified in SI units, in the order of "point".
18 * @param domainReference the domain reference description (or null if unavailable)
19 * @param parameterValue the parameter value (or NaN if unavailable)
20 * @param goalValue the goal value (return value of the function)
22 public void evaluated(Point point, Value[] state, Value domainReference, Value parameterValue, double goalValue);