Package xal.extension.jels.matcher
Class Matcher
java.lang.Object
xal.extension.jels.matcher.Matcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
void
dispose()
xal.extension.jels.matcher.ModelEvaluatorEnum
double
double
boolean
static Accelerator
static void
void
run()
void
setCriteria
(xal.extension.jels.matcher.ModelEvaluatorEnum criteria) void
setShowScore
(boolean showScore) void
setTimeLimit
(double timeLimit) boolean
shouldStop
(Solver solver) Signal whether the solver should stop.void
showScorePlot
(boolean show) void
void
-
Constructor Details
-
Matcher
-
-
Method Details
-
getCriteria
public xal.extension.jels.matcher.ModelEvaluatorEnum getCriteria() -
setCriteria
public void setCriteria(xal.extension.jels.matcher.ModelEvaluatorEnum criteria) -
getTimeLimit
public double getTimeLimit() -
setTimeLimit
public void setTimeLimit(double timeLimit) -
getInitialBeamParameters
-
isShowScore
public boolean isShowScore() -
setShowScore
public void setShowScore(boolean showScore) -
getAccelerator
-
loadAccelerator
-
showSimulationPlot
public void showSimulationPlot() -
updateSimulationPlot
-
showScorePlot
public void showScorePlot(boolean show) -
getProgress
public double getProgress() -
run
public void run() -
main
- Throws:
InstantiationException
-
abort
public void abort() -
shouldStop
Description copied from interface:Stopper
Signal whether the solver should stop.- Specified by:
shouldStop
in interfaceStopper
- Parameters:
solver
- The solver the stopper was generated for.- Returns:
- true to stop the solver and false to continue solving.
-
dispose
public void dispose()
-