Minsky
flowCoef.h
Go to the documentation of this file.
1
/*
2
@copyright Steve Keen 2013
3
@author Russell Standish
4
This file is part of Minsky.
5
6
Minsky is free software: you can redistribute it and/or modify it
7
under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
Minsky is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with Minsky. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
#ifndef FLOWCOEF_H
20
#define FLOWCOEF_H
21
#include <string>
22
23
namespace
minsky
24
{
25
27
struct
FlowCoef
28
{
29
double
coef
;
30
std::string
name
;
31
FlowCoef
():
coef
(0) {}
32
FlowCoef
(
double
coef
,
const
std::string&
name
):
coef
(
coef
),
name
(
name
) {}
33
FlowCoef
(
const
std::string& formula);
34
// string form of this entry
35
std::string
str
()
const
;
36
};
37
38
}
39
40
#endif
minsky::FlowCoef::FlowCoef
FlowCoef(double coef, const std::string &name)
Definition:
flowCoef.h:32
minsky::FlowCoef::name
std::string name
Definition:
flowCoef.h:30
minsky::FlowCoef::str
std::string str() const
Definition:
flowCoef.cc:81
minsky
Creation and access to the minskyTCL_obj object, which has code to record whenever Minsky's state cha...
Definition:
constMap.h:22
minsky::FlowCoef::coef
double coef
Definition:
flowCoef.h:29
minsky::FlowCoef
represents a numerical coefficient times a variable (a "flow")
Definition:
flowCoef.h:27
minsky::FlowCoef::FlowCoef
FlowCoef()
Definition:
flowCoef.h:31
engine
flowCoef.h
Generated on Tue Mar 18 2025 13:00:33 for Minsky by
1.8.14