5#ifndef PBT_PROGRAM_HPP_
6#define PBT_PROGRAM_HPP_
18class exit_success:
public std::logic_error {
20 exit_success() noexcept: std::logic_error("") {}
29 Program(
const std::vector<std::string>& args);
Program class.
Definition program.hpp:26
Program(const std::vector< std::string > &args)
Initialize with command-line arguments.
Definition program.cpp:83
std::vector< std::string > command_args_
Command-line arguments.
Definition program.hpp:38
void run()
Top level function that should be called once from global main.
Definition program.cpp:125
std::string config_
Written to "config.json".
Definition program.hpp:40
std::unique_ptr< Population > population_
Population instance.
Definition program.hpp:42
void write() const
Output results to files.
Definition program.cpp:143