Awali
Another Weighted Automata library
Public Member Functions | Static Public Attributes
awali::dyn::context::cyclic_weightset Struct Reference

#include <cyclic_weightset.hh>

Inheritance diagram for awali::dyn::context::cyclic_weightset:
awali::dyn::context::abstract_weightset

Public Member Functions

weightset_description fromstring (const std::string &k) const override
 
virtual bool is_promotable_to (weightset_description ws) const override
 
weightset_description parse_weightset (json::object_t const *p) const override
 
const std::string & static_desc () const override
 
const std::string & static_public_name () const override
 
const std::string & tostring (weightset_description ws, bool dynamic) const override
 
- Public Member Functions inherited from awali::dyn::context::abstract_weightset
 abstract_weightset ()
 
virtual ~abstract_weightset ()
 
int getIndex () const
 
virtual std::vector< std::string > const & possible_promotions () const
 

Static Public Attributes

static std::string static_pub_description
 
static std::string static_pub_name
 
- Static Public Attributes inherited from awali::dyn::context::abstract_weightset
static int counter
 

Additional Inherited Members

- Data Fields inherited from awali::dyn::context::abstract_weightset
const int index
 

Member Function Documentation

◆ fromstring()

weightset_description awali::dyn::context::cyclic_weightset::fromstring ( const std::string &  k) const
overridevirtual

◆ is_promotable_to()

virtual bool awali::dyn::context::cyclic_weightset::is_promotable_to ( weightset_description  ws) const
overridevirtual

◆ parse_weightset()

weightset_description awali::dyn::context::cyclic_weightset::parse_weightset ( json::object_t const *  p) const
overridevirtual

◆ static_desc()

const std::string& awali::dyn::context::cyclic_weightset::static_desc ( ) const
overridevirtual

◆ static_public_name()

const std::string& awali::dyn::context::cyclic_weightset::static_public_name ( ) const
overridevirtual

◆ tostring()

const std::string& awali::dyn::context::cyclic_weightset::tostring ( weightset_description  ws,
bool  dynamic 
) const
overridevirtual

Field Documentation

◆ static_pub_description

std::string awali::dyn::context::cyclic_weightset::static_pub_description
static

◆ static_pub_name

std::string awali::dyn::context::cyclic_weightset::static_pub_name
static

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