replicode
|
#include <factory.h>
Public Member Functions | |
Pred () | |
Pred (SysObject *source) | |
Pred (_Fact *target, double psln_thr) | |
bool | is_invalidated () |
bool | grounds_invalidated (_Fact *evidence) |
_Fact * | get_target () const |
bool | is_simulation () const |
Sim * | get_simulation (Controller *root) const |
![]() | |
LObject (r_code::Mem *mem=NULL) | |
LObject (r_code::SysObject *source) | |
virtual | ~LObject () |
![]() | |
virtual | ~Object () |
r_code::View * | build_view (SysView *source) |
virtual bool | invalidate () |
void | compute_hash_value () |
double | get_psln_thr () |
void | acq_views () |
void | rel_views () |
void | acq_markers () |
void | rel_markers () |
void | set (uint16_t member_index, double value) |
void | mod (uint16_t member_index, double value) |
View * | get_view (Code *group, bool lock) |
void | kill () |
![]() | |
LObject () | |
LObject (SysObject *source) | |
View * | build_view (SysView *source) |
uint64_t | get_oid () const |
void | set_oid (uint64_t oid) |
Atom & | code (uint16_t i) |
Atom & | code (uint16_t i) const |
uint16_t | code_size () const |
void | resize_code (uint16_t new_size) |
void | set_reference (uint16_t i, Code *object) |
Code * | get_reference (uint16_t i) const |
uint16_t | references_size () const |
void | clear_references () |
void | set_references (std::vector< P< Code > > &new_references) |
void | add_reference (Code *object) const |
![]() | |
void | set_stroage_index (int64_t i) |
bool | is_registered () const |
int64_t | get_storage_index () const |
virtual bool | is_compact () const |
Code () | |
virtual | ~Code () |
virtual View * | get_view (Code *group, bool lock) |
void | remove_marker (Code *m) |
void | trace () const |
![]() | |
virtual | ~_Object () |
void | incRef () |
virtual void | decRef () |
Public Attributes | |
std::vector< P< _Fact > > | grounds |
std::vector< P< Sim > > | simulations |
![]() | |
r_code::list< Code * > | markers |
std::unordered_set< View *, View::Hash, View::Equal > | views |
Additional Inherited Members | |
![]() | |
static bool | RequiresPacking () |
static LObject * | Pack (Code *object, r_code::Mem *mem) |
![]() | |
static const int64_t | null_storage_index = -1 |
static const uint64_t | CodeMarkersInitialSize = 8 |
![]() | |
Object () | |
Object (r_code::Mem *mem) | |
![]() | |
void | load (SysObject *source) |
template<class V > | |
View * | build_view (SysView *source) |
![]() | |
_Object () | |
![]() | |
uint64_t | _oid |
r_code::vector< Atom > | _code |
r_code::vector< P< Code > > | _references |
![]() | |
int64_t | storage_index |
![]() | |
std::atomic_int_fast64_t | refCount |
r_exec::Pred::Pred | ( | ) |
r_exec::Pred::Pred | ( | SysObject * | source | ) |
r_exec::Pred::Pred | ( | _Fact * | target, |
double | psln_thr | ||
) |
Sim * r_exec::Pred::get_simulation | ( | Controller * | root | ) | const |
_Fact * r_exec::Pred::get_target | ( | ) | const |
bool r_exec::Pred::grounds_invalidated | ( | _Fact * | evidence | ) |
|
virtual |
Reimplemented from r_exec::Object< r_code::LObject, LObject >.
bool r_exec::Pred::is_simulation | ( | ) | const |