1#ifndef CYCLUS_SRC_TOOLKIT_SYMBOLIC_FUNCTIONS_H_
2#define CYCLUS_SRC_TOOLKIT_SYMBOLIC_FUNCTIONS_H_
7#include <boost/shared_ptr.hpp>
14class ExponentialFunction;
15class PiecewiseFunction;
20 typedef boost::shared_ptr<SymFunction>
Ptr;
29 virtual std::string
Print() = 0;
42 virtual double value(
double x);
45 virtual std::string
Print();
69 virtual double value(
double x);
72 virtual std::string
Print();
89 struct PiecewiseFunctionInfo {
92 : function(function_),
97 double xoffset, yoffset;
102 virtual double value(
double x);
105 virtual std::string
Print();
108 std::list<PiecewiseFunctionInfo> functions_;
taken directly from OsiSolverInterface.cpp on 2/17/14 from https://projects.coin-or....
T OptionalQuery(InfileTree *tree, std::string query, T default_val)
a query method for optional parameters