create changelog entry
[debian/openrocket] / core / src / net / sf / openrocket / optimization / rocketoptimization / RocketOptimizationListener.java
1 package net.sf.openrocket.optimization.rocketoptimization;
2
3 import net.sf.openrocket.optimization.general.Point;
4 import net.sf.openrocket.unit.Value;
5
6 /**
7  * A listener for the progress of rocket optimization.
8  * 
9  * @author Sampo Niskanen <sampo.niskanen@iki.fi>
10  */
11 public interface RocketOptimizationListener {
12         
13         /**
14          * Called after successful function evaluation.
15          * 
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)
21          */
22         public void evaluated(Point point, Value[] state, Value domainReference, Value parameterValue, double goalValue);
23         
24 }