Decision dec = mSolver.getSearchLoop().getLastDecision();
while ((dec != RootDecision.ROOT) && (!dec.hasNext())) {
dec = dec.getPrevious();
}
if (dec != RootDecision.ROOT) {
Explanation explanation = new Explanation();
Decision d = dec.getPrevious();
while ((d != RootDecision.ROOT)) {
if (d.hasNext()) {
explanation.add(d.getPositiveDeduction());
}
d = d.getPrevious();
}
mExplanationEngine.store(dec.getNegativeDeduction(), explanation);
}