23 #ifndef _OPENCOG_ARITHMETIC_LINK_H
24 #define _OPENCOG_ARITHMETIC_LINK_H
43 virtual double konsd(
double,
double)
const = 0;
71 #define createArithmeticLink std::make_shared<ArithmeticLink>
76 #endif // _OPENCOG_ARITHMETIC_LINK_H
ArithmeticLink(Type, const HandleSeq &oset, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV())
std::vector< Handle > HandleSeq
a list of handles
std::shared_ptr< Atom > AtomPtr
std::shared_ptr< TruthValue > TruthValuePtr
virtual Handle execute(AtomSpace *as) const
std::shared_ptr< AttentionValue > AttentionValuePtr
std::shared_ptr< ArithmeticLink > ArithmeticLinkPtr
static TruthValuePtr NULL_TV()
virtual Handle reorder(void)
virtual double konsd(double, double) const =0
virtual Handle reduce(void)
static AttentionValuePtr DEFAULT_AV()
to be used as default attention value
unsigned short Type
type of Atoms, represented as short integer (16 bits)
static ArithmeticLinkPtr ArithmeticLinkCast(const Handle &h)