Public Member Functions | |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes | |
data | |
dimensions | |
domain_size | |
exact_value_str | |
exact_value_vec | |
probabilities | |
type | |
values | |
Static Public Attributes | |
int | DISCRETE = 5 |
int | EXACT = 0 |
int | GAUSSIAN = 1 |
int | HYBRID = 6 |
int | MIXTURE = 4 |
int | PARTICLES = 3 |
int | UNIFORM = 2 |
Private Member Functions | |
def | _get_types |
Static Private Attributes | |
list | __slots__ = ['type','dimensions','data','domain_size','values','probabilities','exact_value_str','exact_value_vec'] |
string | _full_text |
_has_header = False | |
string | _md5sum = "75a0d678d0983733e909d6d13b746309" |
list | _slot_types = ['uint8','uint32','float64[]','int32','string[]','float64[]','string','float64[]'] |
string | _type = "problib/PDF" |
def problib.msg._PDF.PDF.__init__ | ( | self, | |
args, | |||
kwds | |||
) |
Constructor. Any message fields that are implicitly/explicitly set to None will be assigned a default value. The recommend use is keyword arguments as this is more robust to future message changes. You cannot mix in-order arguments and keyword arguments. The available fields are: type,dimensions,data,domain_size,values,probabilities,exact_value_str,exact_value_vec :param args: complete set of field values, in .msg order :param kwds: use keyword arguments corresponding to message field names to set specific fields.
def problib.msg._PDF.PDF._get_types | ( | self | ) | [private] |
def problib.msg._PDF.PDF.deserialize | ( | self, | |
str | |||
) |
def problib.msg._PDF.PDF.deserialize_numpy | ( | self, | |
str, | |||
numpy | |||
) |
def problib.msg._PDF.PDF.serialize | ( | self, | |
buff | |||
) |
def problib.msg._PDF.PDF.serialize_numpy | ( | self, | |
buff, | |||
numpy | |||
) |
list problib::msg::_PDF.PDF::__slots__ = ['type','dimensions','data','domain_size','values','probabilities','exact_value_str','exact_value_vec'] [static, private] |
string problib::msg::_PDF.PDF::_full_text [static, private] |
"""uint8 EXACT=0 # Is here for easier msg creation, but is actually a specialized case: # - continuous: is a Gaussian with zero covariance # - discrete: is a Discrete pdf with one entry with P=1 uint8 GAUSSIAN=1 uint8 UNIFORM=2 uint8 PARTICLES=3 uint8 MIXTURE=4 uint8 DISCRETE=5 uint8 HYBRID=6 uint8 type uint32 dimensions # For continuous pdf's float64[] data # For discrete pdf's (pmf) int32 domain_size string[] values float64[] probabilities # For exact values, either a string or a vector string exact_value_str float64[] exact_value_vec """
problib::msg::_PDF.PDF::_has_header = False [static, private] |
string problib::msg::_PDF.PDF::_md5sum = "75a0d678d0983733e909d6d13b746309" [static, private] |
list problib::msg::_PDF.PDF::_slot_types = ['uint8','uint32','float64[]','int32','string[]','float64[]','string','float64[]'] [static, private] |
string problib::msg::_PDF.PDF::_type = "problib/PDF" [static, private] |
int problib::msg::_PDF.PDF::DISCRETE = 5 [static] |
int problib::msg::_PDF.PDF::EXACT = 0 [static] |
int problib::msg::_PDF.PDF::GAUSSIAN = 1 [static] |
int problib::msg::_PDF.PDF::HYBRID = 6 [static] |
int problib::msg::_PDF.PDF::MIXTURE = 4 [static] |
int problib::msg::_PDF.PDF::PARTICLES = 3 [static] |
int problib::msg::_PDF.PDF::UNIFORM = 2 [static] |