|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
LBJ2.infer.InferenceNotOptimalException
public class InferenceNotOptimalException
Exceptions of this type are thrown by the 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.
| Field Summary | |
|---|---|
private java.lang.Object |
head
The head object of the inference problem. |
private ILPSolver |
solver
The ILP algorithm and problem representation that failed. |
| Constructor Summary | |
|---|---|
InferenceNotOptimalException(ILPSolver solver,
java.lang.Object head)
Initializing constructor. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getHead()
Retrieves the head object, head. |
ILPSolver |
getSolver()
Retrieves the ILP problem instance, solver. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private ILPSolver solver
private java.lang.Object head
| Constructor Detail |
|---|
public InferenceNotOptimalException(ILPSolver solver,
java.lang.Object head)
solver - The ILP algorithm and problem representation that failed.head - The head object of the inference problem.| Method Detail |
|---|
public ILPSolver getSolver()
solver.
public java.lang.Object getHead()
head.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||