2015-11-13 22:03:43 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
|
|
|
|
Released under Apache 2.0 license as described in the file LICENSE.
|
|
|
|
|
|
|
|
Author: Leonardo de Moura
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "library/blast/hypothesis.h"
|
|
|
|
|
|
|
|
namespace lean {
|
|
|
|
namespace blast {
|
|
|
|
/** \brief Revert the given hypotheses and their dependencies.
|
|
|
|
Return the total number of hypotheses reverted. */
|
2015-11-13 23:21:26 +00:00
|
|
|
unsigned revert_action(buffer<hypothesis_idx> & hidxs);
|
2015-11-14 00:10:25 +00:00
|
|
|
unsigned revert_action(hypothesis_idx_buffer_set & hidxs);
|
2015-11-13 22:03:43 +00:00
|
|
|
}}
|