public class InferenceNotOptimalException extends Exception
ILPInference class when the selected
ILPSolver did not successfully find the optimal solution to the inference problem.
Instances of this class contain a reference to the ILPSolver instance so that the user
can, for instance, call the ILPSolver.write(java.lang.StringBuffer) method.| Constructor and Description |
|---|
InferenceNotOptimalException(edu.illinois.cs.cogcomp.infer.ilp.ILPSolver solver,
Object head)
Initializing constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getHead()
Retrieves the head object,
head. |
edu.illinois.cs.cogcomp.infer.ilp.ILPSolver |
getSolver()
Retrieves the ILP problem instance,
solver. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InferenceNotOptimalException(edu.illinois.cs.cogcomp.infer.ilp.ILPSolver solver,
Object head)
solver - The ILP algorithm and problem representation that failed.head - The head object of the inference problem.Copyright © 2016. All rights reserved.