public class CompFVAResult extends AnalysisResult
Modifier and Type | Class and Description |
---|---|
(package private) class |
CompFVAResult.MyDocumentListener |
(package private) class |
CompFVAResult.MyTableCellRenderer
Class to set the right colors foe the two last columns of the FVA
comparison plot.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,double[]> |
map
Map containing each entity and the results ofr both FVA's.
|
private javax.swing.JTextField |
maxField
Field to search for entities in the plot.
|
private javax.swing.JTextField |
minField
Field to search for entities in the plot.
|
private double |
obj1
First initial objective value.
|
private double |
obj2
Second initial objective value.
|
private javax.swing.JTable |
resultTable
Table containing all results.
|
private javax.swing.JTextField |
searchField
Field to search for entities in the plot.
|
(package private) javax.swing.table.TableRowSorter<javax.swing.table.TableModel> |
sorter |
Constructor and Description |
---|
CompFVAResult(java.util.Map<java.lang.String,double[]> map,
double obj1,
double obj2) |
Modifier and Type | Method and Description |
---|---|
void |
plot()
Plots the results.
|
private void |
updateTable(javax.swing.table.TableRowSorter<javax.swing.table.TableModel> sorter,
javax.swing.event.DocumentEvent arg0)
Updates the table when a search is made in the plot.
|
void |
writeToFile(java.lang.String path)
Writes the results to a file.
|
private java.util.Map<java.lang.String,double[]> map
private double obj1
private double obj2
javax.swing.table.TableRowSorter<javax.swing.table.TableModel> sorter
private javax.swing.JTextField searchField
private javax.swing.JTextField minField
private javax.swing.JTextField maxField
private javax.swing.JTable resultTable
public CompFVAResult(java.util.Map<java.lang.String,double[]> map, double obj1, double obj2)
public void writeToFile(java.lang.String path)
AnalysisResult
writeToFile
in class AnalysisResult
path
- Path to the file to write the results.public void plot()
AnalysisResult
plot
in class AnalysisResult
private void updateTable(javax.swing.table.TableRowSorter<javax.swing.table.TableModel> sorter, javax.swing.event.DocumentEvent arg0)