public class OptimizationResult extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
cachedPlaintextResponse |
protected static String |
FIXED |
protected static String |
GOAL |
protected static String |
NO_ACTION |
protected OptimizerResult |
optimizerResult |
protected static String |
VIOLATED |
Constructor and Description |
---|
OptimizationResult(OptimizerResult optimizerResult) |
Modifier and Type | Method and Description |
---|---|
String |
cachedPlaintextResponse() |
void |
discardIrrelevantAndCacheText()
Update plaintext response and discards the optimizer result.
|
protected String |
getPlaintext(boolean isVerbose,
String pretext) |
protected String |
getPlaintextPretext() |
protected String |
goalResultDescription(String goalName) |
OptimizerResult |
optimizerResult() |
String |
proposalSummary(String operation) |
protected void |
writeProposalSummary(StringBuilder sb) |
protected static final String GOAL
protected static final String VIOLATED
protected static final String FIXED
protected static final String NO_ACTION
protected OptimizerResult optimizerResult
protected String cachedPlaintextResponse
public OptimizationResult(OptimizerResult optimizerResult)
public OptimizerResult optimizerResult()
public String cachedPlaintextResponse()
protected String getPlaintextPretext()
public void discardIrrelevantAndCacheText()
protected void writeProposalSummary(StringBuilder sb)