mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
m::Spn::DiscreteLeaf::Bin Struct Reference

#include <Spn.hpp>

Collaboration diagram for m::Spn::DiscreteLeaf::Bin:
[legend]

Public Member Functions

 Bin (float value, float cumulative_probability)
 
bool operator< (Bin &other) const
 
bool operator< (float other) const
 

Data Fields

float value
 the value of this bin
 
float cumulative_probability
 

‍the cumulative probability of this and all predecessor bins; in the range [0;1]


 

Detailed Description

Definition at line 216 of file Spn.hpp.

Constructor & Destructor Documentation

◆ Bin()

m::Spn::DiscreteLeaf::Bin::Bin ( float  value,
float  cumulative_probability 
)
inline

Definition at line 222 of file Spn.hpp.

Member Function Documentation

◆ operator<() [1/2]

bool m::Spn::DiscreteLeaf::Bin::operator< ( Bin other) const
inline

Definition at line 227 of file Spn.hpp.

References value.

◆ operator<() [2/2]

bool m::Spn::DiscreteLeaf::Bin::operator< ( float  other) const
inline

Definition at line 228 of file Spn.hpp.

Field Documentation

◆ cumulative_probability

float m::Spn::DiscreteLeaf::Bin::cumulative_probability

‍the cumulative probability of this and all predecessor bins; in the range [0;1]

Definition at line 220 of file Spn.hpp.

◆ value

float m::Spn::DiscreteLeaf::Bin::value

the value of this bin

Definition at line 218 of file Spn.hpp.

Referenced by operator<().


The documentation for this struct was generated from the following file: