Awali
Another Weighted Automata library
|
#include <basic_weightset.hh>
Public Member Functions | |
basic_weightset (const std::string &public_name, const std::string &class_name, std::initializer_list< std::string > pr, const std::string &desc) | |
virtual | ~basic_weightset () |
weightset_description | fromstring (const std::string &k) const override |
bool | is_promotable_to (weightset_description ws) const override |
weightset_description | parse_weightset (json::object_t const *p) const override |
virtual std::vector< std::string > const & | possible_promotions () const override |
std::string const & | tostring (weightset_description, bool) const override |
Public Member Functions inherited from awali::dyn::context::abstract_weightset | |
abstract_weightset (const std::string &public_name, const std::string &desc) | |
virtual | ~abstract_weightset () |
int | getIndex () const |
virtual const std::string & | static_desc () const |
virtual const std::string & | static_public_name () const |
Additional Inherited Members | |
Data Fields inherited from awali::dyn::context::abstract_weightset | |
const int | index |
Static Public Attributes inherited from awali::dyn::context::abstract_weightset | |
static int | counter |
Protected Attributes inherited from awali::dyn::context::abstract_weightset | |
const std::string | desc |
const std::string | public_name |
awali::dyn::context::basic_weightset::basic_weightset | ( | const std::string & | public_name, |
const std::string & | class_name, | ||
std::initializer_list< std::string > | pr, | ||
const std::string & | desc | ||
) |
|
virtual |
|
overridevirtual |
Implements awali::dyn::context::abstract_weightset.
|
overridevirtual |
Implements awali::dyn::context::abstract_weightset.
|
overridevirtual |
Implements awali::dyn::context::abstract_weightset.
|
overridevirtual |
Reimplemented from awali::dyn::context::abstract_weightset.
|
overridevirtual |
Implements awali::dyn::context::abstract_weightset.