|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Appointable
An interface describing an astronomical target that is aware of its current dispatch-scheduling properties. This includes methods to find out if a target is observable, how long it'll stay observable under unchanged weather conditions, and how long an observation under the current observing conditions may take.
Because targets that may be part of a sophisticated scheduling system, they
must also support low-level handling properties. Therefore, this interface
extends the Handable interface rather than the
TargetDefinition.
| Nested Class Summary | |
|---|---|
static interface |
Appointable.Constraint<T>
A constraint imposed on all targets. |
| Method Summary | |
|---|---|
double |
getActualMerit(ParameterClustering condition,
Collection<? extends TargetDefinition> targets,
long timespan)
Gets the value of the actual merit. |
Date |
getDailyDate()
The date of the high daily merit. |
double |
getDailyMerit()
The highest merit in the last 24 hours. |
Date |
getHighestDate()
The date of the highest merit. |
double |
getHighestMerit()
The highest merit ever achieved. |
Appointable.Constraint |
getLastFail()
The conditions which lately rendered this target unobservable |
double |
getLastMerit()
The last measured merit. |
long |
getObservingTime(ParameterClustering condition)
Returns an estimate of the time required for an observation of this target.This is only an advisory method and will not return a very accurate estimate, but it should also work if the parameters handed over are invalid. |
long |
getRemainingTime(ParameterClustering condition)
Returns the time this target will remain observable under current weather conditions. |
boolean |
isAbort(ParameterClustering set)
Signals that the execution of this target should be aborted. |
boolean |
isObservable(ParameterClustering condition)
Checks if this target is currently observable. |
boolean |
isProgramOver(ParameterClustering set)
Test, if the observing program on the target is completed. |
boolean |
isRetry(ParameterClustering set)
Signals that the target should be retried immediately. |
| Methods inherited from interface stella.Handable |
|---|
errorDaughter, errorMain, errorSuccessor, isEnabled, isFinished, isNotify, isPicked, setEnabled, setFinished, setPicked |
| Methods inherited from interface stella.TargetDefinition |
|---|
getDaughters, getDescription, getDescriptionID, getEmailAddresses, getImageType, getInstitution, getName, getPrecursor, getSuccessor, getTargetResource, getTargetSpecific, getTeam, getTitle, getType, getUser, setPrecursor |
| Method Detail |
|---|
boolean isObservable(ParameterClustering condition)
condition - A set of actual observing conditions
double getActualMerit(ParameterClustering condition,
Collection<? extends TargetDefinition> targets,
long timespan)
getObservingTime(stella.ParameterClustering) should be used.
condition - A set of actual observing conditionstargets - All targets relavant for this target.timespan - The timespan within the merit should be maximized.
boolean isProgramOver(ParameterClustering set)
EndpointDefining merit is needed to answer the completeness
puzzle. If a target first encounters that it is program-over, the target
should change its completeness flag.
long getRemainingTime(ParameterClustering condition)
long getObservingTime(ParameterClustering condition)
boolean isAbort(ParameterClustering set)
boolean isRetry(ParameterClustering set)
Appointable.Constraint getLastFail()
double getLastMerit()
double getHighestMerit()
double getDailyMerit()
Date getHighestDate()
Date getDailyDate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||