| // Copyright 2021 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COBALT_SRC_ALGORITHMS_RAPPOR_STRONG_TYPES_H_ |
| #define COBALT_SRC_ALGORITHMS_RAPPOR_STRONG_TYPES_H_ |
| |
| #include "src/lib/util/named_type.h" |
| |
| namespace cobalt { |
| |
| using Prob0Becomes1 = util::NamedType<double, struct Prob0Becomes1Tag>; |
| using Prob1Stays1 = util::NamedType<double, struct Prob1Stays1Tag>; |
| using ProbRR = util::NamedType<double, struct ProbRRTag>; |
| |
| } // namespace cobalt |
| |
| #endif // COBALT_SRC_ALGORITHMS_RAPPOR_STRONG_TYPES_H_ |