renaming SimCAD to cadCAD
This commit is contained in:
parent
eaf2f4d291
commit
2d4b7b612c
|
|
@ -11,4 +11,5 @@ results
|
||||||
simulations/.ipynb_checkpoints
|
simulations/.ipynb_checkpoints
|
||||||
|
|
||||||
build
|
build
|
||||||
SimCAD.egg-info
|
cadCAD.egg-info
|
||||||
|
SimCAD.egg-info
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ Aided Design of economic systems. An economic system is treated as a state based
|
||||||
set of endogenous and exogenous state variables which are updated through mechanisms and environmental \
|
set of endogenous and exogenous state variables which are updated through mechanisms and environmental \
|
||||||
processes, respectively. Behavioral models, which may be deterministic or stochastic, provide the evolution of \
|
processes, respectively. Behavioral models, which may be deterministic or stochastic, provide the evolution of \
|
||||||
the system within the action space of the mechanisms. Mathematical formulations of these economic games \
|
the system within the action space of the mechanisms. Mathematical formulations of these economic games \
|
||||||
treat agent utility as derived from state rather than direct from action, creating a rich dynamic modeling framework.
|
treat agent utility as derived from state rather than direct from action, creating a rich dynamic modeling framework.
|
||||||
|
|
||||||
Simulations may be run with a range of initial conditions and parameters for states, behaviors, mechanisms, \
|
Simulations may be run with a range of initial conditions and parameters for states, behaviors, mechanisms, \
|
||||||
and environmental processes to understand and visualize network behavior under various conditions. Support for \
|
and environmental processes to understand and visualize network behavior under various conditions. Support for \
|
||||||
|
|
@ -21,7 +21,7 @@ SimCAD is written in Python 3.
|
||||||
```bash
|
```bash
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
python3 setup.py sdist bdist_wheel
|
python3 setup.py sdist bdist_wheel
|
||||||
pip install dist/SimCAD-0.1-py3-none-any.whl
|
pip install dist/cadCAD-0.2-py3-none-any.whl
|
||||||
```
|
```
|
||||||
|
|
||||||
**2. Configure Simulation:**
|
**2. Configure Simulation:**
|
||||||
|
|
@ -76,7 +76,7 @@ for raw_result, tensor_field in run2.main():
|
||||||
print()
|
print()
|
||||||
```
|
```
|
||||||
|
|
||||||
The above can be run in Jupyter.
|
The above can be run in Jupyter.
|
||||||
```bash
|
```bash
|
||||||
jupyter notebook
|
jupyter notebook
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
name = "SimCAD"
|
|
||||||
configs = []
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
name = "cadCAD"
|
||||||
|
configs = []
|
||||||
|
|
@ -2,8 +2,8 @@ from functools import reduce
|
||||||
from fn.op import foldr
|
from fn.op import foldr
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
from SimCAD.utils import key_filter
|
from cadCAD.utils import key_filter
|
||||||
from SimCAD.configuration.utils.behaviorAggregation import dict_elemwise_sum
|
from cadCAD.configuration.utils.behaviorAggregation import dict_elemwise_sum
|
||||||
|
|
||||||
|
|
||||||
class Configuration:
|
class Configuration:
|
||||||
|
|
@ -122,7 +122,7 @@ class Processor:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# Also for backwards compatibility, we accept partial state update blocks both as list or dict
|
# Also for backwards compatibility, we accept partial state update blocks both as list or dict
|
||||||
# No need for a deprecation warning as it's already raised by SimCAD.utils.key_filter
|
# No need for a deprecation warning as it's already raised by cadCAD.utils.key_filter
|
||||||
if (type(m)==list):
|
if (type(m)==list):
|
||||||
for v in m:
|
for v in m:
|
||||||
rename_keys(v)
|
rename_keys(v)
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
from pathos.multiprocessing import ProcessingPool as Pool
|
from pathos.multiprocessing import ProcessingPool as Pool
|
||||||
|
|
||||||
from SimCAD.utils import flatten
|
from cadCAD.utils import flatten
|
||||||
from SimCAD.configuration import Processor
|
from cadCAD.configuration import Processor
|
||||||
from SimCAD.configuration.utils import TensorFieldReport
|
from cadCAD.configuration.utils import TensorFieldReport
|
||||||
from SimCAD.engine.simulation import Executor as SimExecutor
|
from cadCAD.engine.simulation import Executor as SimExecutor
|
||||||
|
|
||||||
|
|
||||||
class ExecutionMode:
|
class ExecutionMode:
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
from fn.op import foldr, call
|
from fn.op import foldr, call
|
||||||
from SimCAD.engine.utils import engine_exception
|
from cadCAD.engine.utils import engine_exception
|
||||||
|
|
||||||
id_exception = engine_exception(KeyError, KeyError, None)
|
id_exception = engine_exception(KeyError, KeyError, None)
|
||||||
|
|
||||||
Binary file not shown.
Binary file not shown.
8
setup.py
8
setup.py
|
|
@ -1,6 +1,6 @@
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
long_description = "SimCAD is a differential games based simulation software package for research, validation, and \
|
long_description = "cadCAD is a differential games based simulation software package for research, validation, and \
|
||||||
Computer Aided Design of economic systems. An economic system is treated as a state based model and defined through \
|
Computer Aided Design of economic systems. An economic system is treated as a state based model and defined through \
|
||||||
a set of endogenous and exogenous state variables which are updated through mechanisms and environmental processes, \
|
a set of endogenous and exogenous state variables which are updated through mechanisms and environmental processes, \
|
||||||
respectively. Behavioral models, which may be deterministic or stochastic, provide the evolution of the system \
|
respectively. Behavioral models, which may be deterministic or stochastic, provide the evolution of the system \
|
||||||
|
|
@ -10,9 +10,9 @@ long_description = "SimCAD is a differential games based simulation software pac
|
||||||
processes to understand and visualize network behavior under various conditions. Support for A/B testing policies, \
|
processes to understand and visualize network behavior under various conditions. Support for A/B testing policies, \
|
||||||
monte carlo analysis and other common numerical methods is provided."
|
monte carlo analysis and other common numerical methods is provided."
|
||||||
|
|
||||||
setup(name='SimCAD',
|
setup(name='cadCAD',
|
||||||
version='0.1',
|
version='0.2',
|
||||||
description="SimCAD: a differential games based simulation software package for research, validation, and \
|
description="cadCAD: a differential games based simulation software package for research, validation, and \
|
||||||
Computer Aided Design of economic systems",
|
Computer Aided Design of economic systems",
|
||||||
long_description = long_description,
|
long_description = long_description,
|
||||||
url='https://github.com/BlockScience/DiffyQ-SimCAD',
|
url='https://github.com/BlockScience/DiffyQ-SimCAD',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue