31 using namespace opencog;
63 throw InvalidParamException(TRACE_INFO,
64 "Expecting a BindLink, got %s", tname.c_str());
80 size_t sz = oset.size();
82 throw InvalidParamException(TRACE_INFO,
83 "Expecting an outgoing set size of at most two, got %d", sz);
void extract_variables(const HandleSeq &oset)
BindLink(Type, const HandleSeq &, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV())
std::vector< Handle > HandleSeq
a list of handles
const HandleSeq & get_vars(void)
std::shared_ptr< TruthValue > TruthValuePtr
std::shared_ptr< AttentionValue > AttentionValuePtr
ClassServer & classserver(ClassServerFactory *=ClassServer::createInstance)
void setup_components(void)
The second half of the common initialization sequence.
void unbundle_clauses(const Handle &body)
const std::string & getTypeName(Type type)
void init_scoped_variables(const Handle &hvar)
unsigned short Type
type of Atoms, represented as short integer (16 bits)
Handle _implicand
The rewrite term.