class CompositeExpression : public Expression

The ancestor class of all composite expression (for example arithmetic operators or standard distribution functions)

Inheritance:


Public Methods

CompositeExpression(const ExpressionList &newArgs, Operator op) throw(HAPI::ExceptionHugin)
Create a composite expression from a list of expressions
CompositeExpression(const CompositeExpression& src) throw( ExceptionHugin )
Copy construct a composite expression
CompositeExpression(Expression *newArg, Operator op) throw( ExceptionHugin )
Construct a composite expression from a single expression
CompositeExpression(Expression *newArg1, Expression *newArg2, Operator op) throw( ExceptionHugin )
Construct a composite expression from two expressions
CompositeExpression(Expression *newArg1, Expression *newArg2, Expression *newArg3, Operator op) throw( ExceptionHugin )
Construct a composite expression from three expressions
CompositeExpression(Expression *newArg1, Expression *newArg2, Expression *newArg3, Expression *newArg4, Operator op) throw( ExceptionHugin )
Construct a composite expression from four expressions
virtual ~CompositeExpression()
Destruct CompositeExpression
virtual Expression* clone()
Clone the expression
virtual ExpressionList getOperands() throw()
Return an ExpressionList containing the Expressions in the CompositeExpression
virtual bool isCompositeExpression() throw()
Test if the the expression is a CompositeExpression
virtual bool isConstantExpression() throw()
Test if the the expression is a ConstantExpression
virtual bool isNodeExpression() throw()
Test if the the expression is a NodeExpression

Inherited from Expression:

Public Methods

static Expression* stringToExpression(const std::string& str, Domain dom) throw( ExceptionHugin )
static Expression* stringToExpression(const std::string& str, NetworkModel* dom) throw( ExceptionHugin )

Documentation

The ancestor class of all composite expression (for example arithmetic operators or standard distribution functions)
CompositeExpression(const ExpressionList &newArgs, Operator op) throw(HAPI::ExceptionHugin)
Create a composite expression from a list of expressions

CompositeExpression(const CompositeExpression& src) throw( ExceptionHugin )
Copy construct a composite expression

CompositeExpression(Expression *newArg, Operator op) throw( ExceptionHugin )
Construct a composite expression from a single expression

CompositeExpression(Expression *newArg1, Expression *newArg2, Operator op) throw( ExceptionHugin )
Construct a composite expression from two expressions

CompositeExpression(Expression *newArg1, Expression *newArg2, Expression *newArg3, Operator op) throw( ExceptionHugin )
Construct a composite expression from three expressions

CompositeExpression(Expression *newArg1, Expression *newArg2, Expression *newArg3, Expression *newArg4, Operator op) throw( ExceptionHugin )
Construct a composite expression from four expressions

virtual ~CompositeExpression()
Destruct CompositeExpression

virtual Expression* clone()
Clone the expression.
Returns:
Pointer to Expression

virtual ExpressionList getOperands() throw()
Return an ExpressionList containing the Expressions in the CompositeExpression

virtual bool isCompositeExpression() throw()
Test if the the expression is a CompositeExpression
Returns:
boolean

virtual bool isConstantExpression() throw()
Test if the the expression is a ConstantExpression
Returns:
boolean

virtual bool isNodeExpression() throw()
Test if the the expression is a NodeExpression
Returns:
boolean


Direct child classes:
WeibullDistribution
UniformDistribution
TanhExpression
TanExpression
SubtractExpression
SqrtExpression
SinhExpression
SinExpression
PowerExpression
PoissonDistribution
OrExpression
NotExpression
NotEqualsExpression
NormalDistribution
NoisyOrExpression
NegativeBinomialDistribution
NegateExpression
MultiplyExpression
ModExpression
MinExpression
MaxExpression
LogExpression
Log2Expression
Log10Expression
LessThanOrEqualsExpression
LessThanExpression
IfExpression
GreaterThanOrEqualsExpression
GreaterThanExpression
GeometricDistribution
GammaDistribution
FloorExpression
ExponentialDistribution
ExpExpression
EqualsExpression
DivideExpression
DistributionDistribution
CoshExpression
CosExpression
CeilExpression
BinomialDistribution
BetaDistribution
AndExpression
AddExpression
AbsExpression

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de