sokobo
Loading...
Searching...
No Matches
Expression Class Referenceabstract
Inheritance diagram for Expression:
BinaryOp Constant Function UnaryOpExpression Variable

Public Types

enum  Type {
  CONSTANT , VARIABLE , BINARY_OP , UNARY_OP ,
  FUNCTION
}
 

Public Member Functions

virtual std::string toString () const =0
 
virtual std::shared_ptr< Expressionderivative (const std::string &var) const =0
 
virtual std::shared_ptr< Expressionsimplify () const =0
 
virtual double evaluate (const std::map< std::string, double > &vars={}) const =0
 
virtual Type getType () const =0
 
virtual std::shared_ptr< Expressionclone () const =0
 

Detailed Description

Definition at line 6 of file expression.h.

Member Enumeration Documentation

◆ Type

enum Expression::Type

Definition at line 9 of file expression.h.


The documentation for this class was generated from the following file: