|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.indiana.iucbrf.performancemonitor.SolutionQuality
public class SolutionQuality
This class is a container for the relevant data regarding a Solution object's quality, as determined by the domain-dependent implementation of PerformanceMonitor.determineSolutionQuality().
| Field Summary | |
|---|---|
protected double |
solutionQualityRating
A numerical quality rating for these solutions. |
protected boolean |
solvedWell
If the Solution is "good enough" (according to determineSolutionQuality()), then this is true. |
| Fields inherited from interface edu.indiana.util.swing.SwingRepresentable |
|---|
TITLE_FONT |
| Constructor Summary | |
|---|---|
protected |
SolutionQuality()
|
|
SolutionQuality(boolean solvedWell,
double solutionQualityRating)
Creates new SolutionQuality |
| Method Summary | |
|---|---|
double |
getSolutionQualityRating()
Returns the judged solution quality rating. |
boolean |
problemSolvedWell()
Returns true if the quality indicates that this problem was solved well; false otherwise. |
java.lang.String |
toString()
Get a string representation of this SolutionQuality. |
javax.swing.JComponent |
toSwing(int detailLevel)
Detail level may be ignored by implementations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected boolean solvedWell
protected double solutionQualityRating
| Constructor Detail |
|---|
protected SolutionQuality()
public SolutionQuality(boolean solvedWell,
double solutionQualityRating)
| Method Detail |
|---|
public boolean problemSolvedWell()
public double getSolutionQualityRating()
public java.lang.String toString()
toString in class java.lang.Objectpublic javax.swing.JComponent toSwing(int detailLevel)
toSwing in interface SwingRepresentable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||