Rosetta Utilities  2014.35
Public Member Functions | Private Attributes | List of all members
numeric::RocPoint Class Reference

#include <roc_curve.hh>

Public Member Functions

virtual ~RocPoint ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. 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::pointer::ReferenceCount
void ctor ()
 
virtual ~ReferenceCount ()
 Destructor. More...
 
Size ref_count () const
 Reference count. More...
 

Private Attributes

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

Additional Inherited Members

- Public Types inherited from utility::pointer::ReferenceCount
typedef platform::Size Size
 
typedef platform::Size size_type
 
- Protected Member Functions inherited from utility::pointer::ReferenceCount
 ReferenceCount ()
 Default constructor. More...
 
 ReferenceCount (ReferenceCount const &)
 Copy constructor. More...
 
ReferenceCountoperator= (ReferenceCount const &)
 Copy assignment. More...
 

Constructor & Destructor Documentation

numeric::RocPoint::~RocPoint ( )
virtual

Automatically generated virtual destructor for class deriving directly from ReferenceCount.

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: