Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
numeric::RocPoint Class Reference

#include <roc_curve.hh>

Inheritance diagram for numeric::RocPoint:
Inheritance graph
[legend]

Public Member Functions

 ~RocPoint () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 
 RocPoint (bool predicted, bool actual, std::string const &tag, platform::Real const &score)
 
 RocPoint (RocStatus const &status, std::string const &tag, platform::Real const &score)
 
RocStatus status () const
 
void status (RocStatus const &status)
 
std::string tag () const
 
void tag (std::string const &tag)
 
platform::Real score () const
 
void score (platform::Real const &score)
 
bool operator< (RocPoint const &that) const
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

RocStatus status_
 
std::string tag_
 
platform::Real score_
 

Constructor & Destructor Documentation

numeric::RocPoint::~RocPoint ( )
overridedefault

Automatically generated virtual destructor for class deriving directly from VirtualBase.

Auto-generated virtual destructor

numeric::RocPoint::RocPoint ( bool  predicted,
bool  actual,
std::string const &  tag,
platform::Real const &  score 
)
numeric::RocPoint::RocPoint ( RocStatus const &  status,
std::string const &  tag,
platform::Real const &  score 
)

Member Function Documentation

bool numeric::RocPoint::operator< ( RocPoint const &  that) const

References score_.

platform::Real numeric::RocPoint::score ( ) const

References score_.

Referenced by score().

void numeric::RocPoint::score ( platform::Real const &  score)

References score(), and score_.

RocStatus numeric::RocPoint::status ( ) const

References status_.

Referenced by numeric::RocCurve::insert_point(), and status().

void numeric::RocPoint::status ( RocStatus const &  status)

References status(), and status_.

std::string numeric::RocPoint::tag ( ) const

References tag_.

Referenced by tag().

void numeric::RocPoint::tag ( std::string const &  tag)

References tag(), and tag_.

Member Data Documentation

platform::Real numeric::RocPoint::score_
private

Referenced by operator<(), and score().

RocStatus numeric::RocPoint::status_
private

Referenced by RocPoint(), and status().

std::string numeric::RocPoint::tag_
private

Referenced by tag().


The documentation for this class was generated from the following files: