8#ifndef FMTEXPRESSION_H_INCLUDED
9#define FMTEXPRESSION_H_INCLUDED
20 std::vector<std::string>infix;
21 std::vector<std::string> getpostfix(
const std::vector<std::string>& localinfix)
const;
22 std::vector<std::string> replacevariables(
const std::map<std::string, double>& mapping)
const;
23 double evaluatepostfix(
const std::vector<std::string>& postfix)
const;
24 bool is_number(
const std::string& s)
const;
31 double shuntingyard(
const std::map<std::string, double>& mapping)
const;
33 operator std::string()
const;
Definition: FMTexpression.hpp:19
FMTexpression(const std::vector< std::string > &lsources)
FMTexpression & operator=(const FMTexpression &rhs)
std::vector< std::string > getvariables() const
std::vector< std::string > getinfix() const
FMTexpression(const FMTexpression &rhs)
FMTexpression simplify(std::map< std::string, double > &values) const
double shuntingyard(const std::map< std::string, double > &mapping) const
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTaction.hpp:31