MCPcopy Create free account
hub / github.com/alibaba/euler / ShowData

Method ShowData

euler/common/alias_method.cc:80–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80std::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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected