23 #include <opencog/atomspace/atom_types.h>
28 using namespace opencog;
44 throw InvalidParamException(TRACE_INFO,
"Expecting a TimesLink");
54 throw InvalidParamException(TRACE_INFO,
"Expecting a TimesLink");
71 throw InvalidParamException(TRACE_INFO,
"Expecting a TimesLink");
91 return nnn->get_value();
100 if (NUMBER_NODE == fi->
getType() and
double konsd(double, double) const
std::vector< Handle > HandleSeq
a list of handles
TimesLink(Type, const HandleSeq &oset, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV())
std::shared_ptr< TruthValue > TruthValuePtr
std::shared_ptr< AttentionValue > AttentionValuePtr
ClassServer & classserver(ClassServerFactory *=ClassServer::createInstance)
static NodePtr NodeCast(const Handle &h)
std::shared_ptr< NumberNode > NumberNodePtr
Handle kons(const Handle &, const Handle &)
virtual Handle reorder(void)
static NumberNodePtr NumberNodeCast(const Handle &h)
static double get_double(const Handle &h)
unsigned short Type
type of Atoms, represented as short integer (16 bits)