Package xal.extension.jels.matcher
Class Matcher
java.lang.Object
xal.extension.jels.matcher.Matcher
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()voiddispose()xal.extension.jels.matcher.ModelEvaluatorEnumdoubledoublebooleanstatic Acceleratorstatic voidvoidrun()voidsetCriteria(xal.extension.jels.matcher.ModelEvaluatorEnum criteria) voidsetShowScore(boolean showScore) voidsetTimeLimit(double timeLimit) booleanshouldStop(Solver solver) Signal whether the solver should stop.voidshowScorePlot(boolean show) voidvoid
-
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:StopperSignal whether the solver should stop.- Specified by:
shouldStopin 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()
-