Package xal.extension.solver
Class TrialVeto
java.lang.Object
xal.extension.solver.TrialVeto
Trial veto turns down a trial based on a particular trial point.
- Author:
- ky6, t6p
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Constraintprotected final Stringprotected final Trialprotected final Object -
Constructor Summary
ConstructorsConstructorDescriptionTrialVeto(Trial trial, Constraint constraint) Constructor.TrialVeto(Trial trial, Constraint constraint, String reason) Primary Constructor.TrialVeto(Trial trial, Constraint constraint, String reason, Object userInfo) Primary Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the constraint.Get the reason for the vetogetTrial()Get the trial.Get the trial point to be tested.Get the user info
-
Field Details
-
reason
-
userInfo
-
trial
-
constraint
-
-
Constructor Details
-
TrialVeto
Primary Constructor.- Parameters:
trial- The trial to veto.constraint- The constraint to base the veto on.reason- describing why the veto was madeuserInfo- supplying additional user information to associate with the veto
-
TrialVeto
Primary Constructor.- Parameters:
trial- The trial to veto.constraint- The constraint to base the veto on.reason- describing why the veto was made
-
TrialVeto
Constructor.- Parameters:
trial- The trial to veto.constraint- The constraint to base the veto on.
-
-
Method Details
-
getTrialPoint
Get the trial point to be tested.- Returns:
- trialPoint.
-
getTrial
Get the trial.- Returns:
- trial.
-
getConstraint
Get the constraint.- Returns:
- constraint.
-
getReason
Get the reason for the veto- Returns:
- the reason for the veto
-
getUserInfo
Get the user info- Returns:
- the user info
-