Package com.hexaly.optimizer
Class HxInconsistency
java.lang.Object
com.hexaly.optimizer.HxInconsistency
Inconsistency core of the optimization model.
Also known as Irreductible Inconsistent Subproblem.
- Since:
- 6.0
- See Also:
-
Method Summary
-
Method Details
-
getNbCauses
public int getNbCauses()Gets the number of expressions responsible for the inconsistency of this model. The sub problem reduced to these expressions and their operands (recursively) is inconsistent. This method returns 0 if the inconsistency of the problem could not be proven.- Returns:
- Number of expressions.
-
getCause
Gets the cause with the given index in this model. Only allowed in stateHxState.Stopped.- Parameters:
causeIndex- A non negative integer strictly smaller than getNbCauses().- Returns:
- The requested cause (HxExpression).
-
toString
Returns a string representation of this inconsistency core. -
hashCode
public int hashCode() -
equals
-