projects
/
debian
/
openrocket
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
major optimization updates
[debian/openrocket]
/
src
/
net
/
sf
/
openrocket
/
optimization
/
rocketoptimization
/
SimulationDomain.java
diff --git
a/src/net/sf/openrocket/optimization/rocketoptimization/SimulationDomain.java
b/src/net/sf/openrocket/optimization/rocketoptimization/SimulationDomain.java
index d97eaae4738e8ef151b7d77e540d3e7cecd8354e..d2a204ec5afafb4092b6d2be7c20a15f328eb748 100644
(file)
--- a/
src/net/sf/openrocket/optimization/rocketoptimization/SimulationDomain.java
+++ b/
src/net/sf/openrocket/optimization/rocketoptimization/SimulationDomain.java
@@
-1,6
+1,7
@@
package net.sf.openrocket.optimization.rocketoptimization;
import net.sf.openrocket.document.Simulation;
package net.sf.openrocket.optimization.rocketoptimization;
import net.sf.openrocket.document.Simulation;
+import net.sf.openrocket.unit.Value;
import net.sf.openrocket.util.Pair;
/**
import net.sf.openrocket.util.Pair;
/**
@@
-18,11
+19,12
@@
public interface SimulationDomain {
* is NaN, the simulation is outside of the domain.
*
* @param simulation the simulation to check.
* is NaN, the simulation is outside of the domain.
*
* @param simulation the simulation to check.
- * @return
the double parameter is the domain indication;
+ * @return
A pair indicating the status. The first element is the reference value,
* a negative value or zero if the simulation is in the domain,
* a negative value or zero if the simulation is in the domain,
- * a positive value or NaN if not. The second is
a human-readabl
e
+ * a positive value or NaN if not. The second is
the valu
e
* indication of the domain (may be null).
*/
* indication of the domain (may be null).
*/
- public Pair<Double,
Doubl
e> getDistanceToDomain(Simulation simulation);
+ public Pair<Double,
Valu
e> getDistanceToDomain(Simulation simulation);
+
}
}