|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.torstennahm.integrate.sparse.visualize.ContributionVisualizer
public class ContributionVisualizer
This visualizer displays two sets of indices. The head set is displayed in the upper panel and shows the integral contributions for all indices that have been evaluated by the integrator. The tail set consists of all those indices that have not been evaluated, and is displayed in the lower panel. It is generated by a background thread after integration finishes. The logarithms of the absolute values are displayed, with black marking positive and red marking negative values.
Nested Class Summary | |
---|---|
static class |
ContributionVisualizer.IndexEntry
|
Constructor Summary | |
---|---|
ContributionVisualizer(javax.swing.JFrame frame)
|
Method Summary | |
---|---|
void |
destroy()
Fully turn off the visualizer. |
double[] |
getRatings(long numPoints)
|
void |
init()
Initializes the visualizer for use. |
void |
start()
Signals the visualizer that integration is now being started. |
void |
stop()
Signals the visualizer that integration has now ended and no further VisualizerData will be sent. |
void |
submit(VisualizerData data)
Send a data object to the visualizer. |
void |
updateDisplay()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContributionVisualizer(javax.swing.JFrame frame)
Method Detail |
---|
public void init()
Visualizer
init
in interface Visualizer
public void start()
Visualizer
start
in interface Visualizer
public void submit(VisualizerData data)
Visualizer
submit
in interface Visualizer
data
- object containing data about the current state of the integration processpublic void stop()
Visualizer
VisualizerData
will be sent. The Visualizer
may use this signal to present a final display for this integration process.
stop
in interface Visualizer
public void destroy()
Visualizer
destroy
in interface Visualizer
public void updateDisplay()
public double[] getRatings(long numPoints)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |