#include <PNFRiskMap.hpp>
Inheritance diagram for pnf::Sigma:
Public Member Functions | |
Sigma (double cutoff, double degree) | |
virtual double | RiskToMeta (double risk) const |
Compute meta value that corresponds to a given collision risk. | |
virtual double | MetaToRisk (double meta) const |
The inverse of RiskToMeta(), with ties (meta = 0) resolved to (risk = cutoff). |
pnf::Sigma::Sigma | ( | double | cutoff, | |
double | degree | |||
) |
double pnf::Sigma::RiskToMeta | ( | double | risk | ) | const [virtual] |
Compute meta value that corresponds to a given collision risk.
Result depends on the PNFRiskMap's name.
Implements pnf::PNFRiskMap.
double pnf::Sigma::MetaToRisk | ( | double | meta | ) | const [virtual] |
The inverse of RiskToMeta(), with ties (meta = 0) resolved to (risk = cutoff).
This is not useful with the PNF anyways, which always goes from risk to meta, never the other way around.
Implements pnf::PNFRiskMap.