Class TransientSolutionViewer

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class TransientSolutionViewer extends JFrame
Swing plot visualizer.
See Also:
  • Constructor Details

    • TransientSolutionViewer

      public TransientSolutionViewer(TransientSolution<R,S> transientSolution)
      Displays a Swing visualization of the given transient solution.
      Type Parameters:
      R - regeneration type
      S - state type
      Parameters:
      transientSolution - transient solution
    • TransientSolutionViewer

      @SafeVarargs public TransientSolutionViewer(TransientSolution<R,S>... transientSolutions)
      Displays a Swing visualization of the given transient solutions.
      Type Parameters:
      R - regeneration type
      S - state type
      Parameters:
      transientSolutions - transient solutions
    • TransientSolutionViewer

      @SafeVarargs public TransientSolutionViewer(List<String> stringList, TransientSolution<R,S>... transientSolutions)
      Displays a Swing visualization of the given transient solution, using a set of labels.
      Type Parameters:
      R - regeneration type
      S - state type
      Parameters:
      stringList - labels
      transientSolutions - transient solutions
  • Method Details

    • solutionChart

      public static <R, S> org.jfree.chart.ChartPanel solutionChart(TransientSolution<R,S> s)
      Builds a Swing visualization of the given transient solution.
      Type Parameters:
      R - regeneration type
      S - state type
      Parameters:
      s - transient solution
      Returns:
      a Swing JPanel instance