Class Matcher

java.lang.Object
xal.extension.jels.matcher.Matcher
All Implemented Interfaces:
Runnable, Stopper

public class Matcher extends Object implements Runnable, Stopper
  • Constructor Details

  • 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

      public InitialBeamParameters getInitialBeamParameters()
    • isShowScore

      public boolean isShowScore()
    • setShowScore

      public void setShowScore(boolean showScore)
    • getAccelerator

      public AcceleratorSeq getAccelerator()
    • loadAccelerator

      public static Accelerator loadAccelerator()
    • showSimulationPlot

      public void showSimulationPlot()
    • updateSimulationPlot

      public void updateSimulationPlot(Trajectory<EnvelopeProbeState> t)
    • showScorePlot

      public void showScorePlot(boolean show)
    • getProgress

      public double getProgress()
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • main

      public static void main(String[] args) throws InstantiationException
      Throws:
      InstantiationException
    • abort

      public void abort()
    • shouldStop

      public boolean shouldStop(Solver solver)
      Description copied from interface: Stopper
      Signal whether the solver should stop.
      Specified by:
      shouldStop in interface Stopper
      Parameters:
      solver - The solver the stopper was generated for.
      Returns:
      true to stop the solver and false to continue solving.
    • dispose

      public void dispose()