Return information about the solver */
| 504 | |
| 505 | /** Return information about the solver */ |
| 506 | std::string info() const { |
| 507 | std::stringstream ss; |
| 508 | ss << name() << std::endl; |
| 509 | ss << pretty::header("Resource") << std::endl; |
| 510 | ss << resource_info() << std::endl; |
| 511 | ss << pretty::header("Sampling") << std::endl; |
| 512 | ss << sampling_info() << std::endl; |
| 513 | ss << pretty::header("Training") << std::endl; |
| 514 | ss << training_info(); |
| 515 | return ss.str(); |
| 516 | } |
| 517 | |
| 518 | /** Determine the schedule of partitions */ |
| 519 | virtual std::vector<std::vector<std::pair<int, int>>> get_schedule() const { |