Skip to content

implementation of parameter configuration file and the JsonReader class

Hiemori Yuta requested to merge devel-yutahie into devel
  • To eliminate hard-coded parts as much as possible, I implemented a JsonReader class that creates a json file giving necessary parameters to each class from the outside and actually reads them and gives them to each class. I also added a member function for each class to receive and save the parameter configuration list as a type of map<std::string, double> or nlohmann::json. However, nlohmann::json is slow, so it is recommended to use the STL container.
  • Also, to improve readability at runtime, I changed the main function that options (-r, -d, -c) are needed when executing analysis. If any one of these options is missing, the program cannot be executed. Usage instructions have been added to readme.md.

Please delete my devel-yutahie branch to perform joint-development after merging.

Merge request reports