AERA
|
#include <overlay.h>
Public Member Functions | |
DefeasibleValidity () | |
bool | is_invalidated () |
void | invalidate () |
![]() | |
void | incRef () |
virtual void | decRef () |
Additional Inherited Members | |
![]() | |
std::atomic_int32_t | refCount_ |
A DefeasibleValidity is an object this is attached to a defeasible prediction and copied to each later prediction in forward chaining. If a new fact defeats the grounds of the original prediction, then call invalidate() to invalidate the defeasible prediction and all predictions which followed from it. (The is_invalidate() method of Pred checks its set of DefeasibleValidity and invalidates the Pred if a DefeasibleValidity is invalidated.)
|
inline |
Create a DefeasibleValidity that is not invalidated.
|
inline |
Set this to invalidated so that is_invalidated() returns true.
|
inline |