KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
Basic

Paramizer

The Paramizer is the container for parameter input, natively in JSON. The JSON library has good implementations in C++, and we can simply encapsulate its usage. For Python/RUST, there are also libraries available for direct encapsulation.

class Param;
using kids_param = Param;

There are two way for Param to load parameter list. One is from the string:

auto PM = Param("{\"key\": value}", Param::fromString);

ans the other is loading from file:

auto pathtofile = "param_custom.json"
auto PM = Param(pathtofile, Param::fromFile);

1) Other kind of formats