Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Public Member Functions | Public Attributes | List of all members
RANSACParam Struct Reference

A simple struct to carry all the parameters required for a RANSAC run. More...

#include <OpenMS/MATH/MISC/RANSAC.h>

Public Member Functions

 RANSACParam ()
 Default constructor. More...
 
 RANSACParam (size_t p_n, size_t p_k, double p_t, size_t p_d, bool p_relative_d=false, int(*p_rng)(int)=NULL)
 Full constructor. More...
 
std::string toString () const
 

Public Attributes

size_t n
 
size_t k
 
double t
 
size_t d
 
bool relative_d
 
int(* rng )(int)
 

Detailed Description

A simple struct to carry all the parameters required for a RANSAC run.

Constructor & Destructor Documentation

◆ RANSACParam() [1/2]

RANSACParam ( )
inline

Default constructor.

◆ RANSACParam() [2/2]

RANSACParam ( size_t  p_n,
size_t  p_k,
double  p_t,
size_t  p_d,
bool  p_relative_d = false,
int(*)(int)  p_rng = NULL 
)
inline

Full constructor.

References RANSACParam::d, and RANSACParam::relative_d.

Member Function Documentation

◆ toString()

std::string toString ( ) const
inline

Member Data Documentation

◆ d

size_t d

◆ k

size_t k

◆ n

size_t n

◆ relative_d

bool relative_d

◆ rng

int(* rng) (int)

◆ t

double t

OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:15 using doxygen 1.8.13