001package algs13.xbacktrack.xframework;
002
003/**
004 * An unsuccessful solution to a backtracking problem.
005 */
006public final class XBacktrackFailure implements XBacktrackResult {
007    @Override
008    public boolean isSuccess() {
009        return false;
010    }
011
012    @Override
013    public String toString() {
014        return "No solution!";
015    }
016}