| 78 | } |
| 79 | |
| 80 | std::string AliasMethod::ShowData() const { |
| 81 | std::string result = "prob: {\n"; |
| 82 | for (auto& prob : prob_) { |
| 83 | result += std::to_string(prob); |
| 84 | result += "\n"; |
| 85 | } |
| 86 | result += "}\n"; |
| 87 | |
| 88 | result += "alias: {\n"; |
| 89 | for (auto& alias : alias_) { |
| 90 | result += std::to_string(alias); |
| 91 | result += "\n"; |
| 92 | } |
| 93 | result += "}\n"; |
| 94 | |
| 95 | return result; |
| 96 | } |
| 97 | |
| 98 | } // namespace common |
| 99 | } // namespace euler |
nothing calls this directly
no outgoing calls
no test coverage detected