![]() |
aGrUM 3.2.0
a C++ library for (probabilistic) graphical models
|
The O3RuleCPT is part of the AST of the O3PRM language. More...
#include <agrum/PRM/o3prm/O3prm.h>
Public Types | |
| using | O3LabelList = std::vector< O3Label > |
| using | O3FormulaList = std::vector< O3Formula > |
| using | O3Rule = std::pair< O3LabelList, O3FormulaList > |
| using | O3RuleList = std::vector< O3Rule > |
Public Member Functions | |
| O3RuleCPT () | |
| O3RuleCPT (const O3Label &type, const O3Label &name, const O3Attribute::O3LabelList &parents, O3RuleList &&rules) | |
| O3RuleCPT (const O3RuleCPT &src) | |
| O3RuleCPT (O3RuleCPT &&src) | |
| ~O3RuleCPT () override | |
| virtual O3RuleCPT & | operator= (const O3RuleCPT &src) |
| virtual O3RuleCPT & | operator= (O3RuleCPT &&src) |
| virtual O3RuleList & | rules () |
| virtual const O3RuleList & | rules () const |
| std::unique_ptr< O3Attribute > | copy () const override |
| virtual O3Label & | type () |
| virtual const O3Label & | type () const |
| virtual O3Label & | name () |
| virtual const O3Label & | name () const |
| virtual O3LabelList & | parents () |
| virtual const O3LabelList & | parents () const |
Private Member Functions | |
| virtual O3Attribute & | operator= (const O3Attribute &src) |
| virtual O3Attribute & | operator= (O3Attribute &&src) |
Private Attributes | |
| std::unique_ptr< O3RuleList > | _rules_ |
| O3Label | _type_ |
| O3Label | _name_ |
| O3LabelList | _parents_ |
| using gum::prm::o3prm::O3RuleCPT::O3FormulaList = std::vector< O3Formula > |
| using gum::prm::o3prm::O3RuleCPT::O3LabelList = std::vector< O3Label > |
| using gum::prm::o3prm::O3RuleCPT::O3Rule = std::pair< O3LabelList, O3FormulaList > |
| using gum::prm::o3prm::O3RuleCPT::O3RuleList = std::vector< O3Rule > |
| gum::prm::o3prm::O3RuleCPT::O3RuleCPT | ( | ) |
Definition at line 807 of file O3prm.cpp.
References gum::prm::o3prm::O3Attribute::O3Attribute(), O3RuleCPT(), and _rules_.
Referenced by O3RuleCPT(), O3RuleCPT(), O3RuleCPT(), O3RuleCPT(), ~O3RuleCPT(), copy(), operator=(), and operator=().
| gum::prm::o3prm::O3RuleCPT::O3RuleCPT | ( | const O3Label & | type, |
| const O3Label & | name, | ||
| const O3Attribute::O3LabelList & | parents, | ||
| O3RuleList && | rules ) |
Definition at line 811 of file O3prm.cpp.
References gum::prm::o3prm::O3Attribute::O3Attribute(), O3RuleCPT(), _rules_, gum::prm::o3prm::O3Attribute::name(), gum::prm::o3prm::O3Attribute::parents(), rules(), and gum::prm::o3prm::O3Attribute::type().
| gum::prm::o3prm::O3RuleCPT::O3RuleCPT | ( | const O3RuleCPT & | src | ) |
Definition at line 820 of file O3prm.cpp.
References gum::prm::o3prm::O3Attribute::O3Attribute(), O3RuleCPT(), _rules_, and rules().
| gum::prm::o3prm::O3RuleCPT::O3RuleCPT | ( | O3RuleCPT && | src | ) |
Definition at line 825 of file O3prm.cpp.
References gum::prm::o3prm::O3Attribute::O3Attribute(), O3RuleCPT(), and _rules_.
|
override |
Definition at line 829 of file O3prm.cpp.
References O3RuleCPT().
|
overridevirtual |
Implements gum::prm::o3prm::O3Attribute.
Definition at line 854 of file O3prm.cpp.
References O3RuleCPT(), and copy().
Referenced by copy().
|
virtualinherited |
Definition at line 747 of file O3prm.cpp.
References _name_.
Referenced by O3Attribute(), gum::prm::o3prm::O3RawCPT::O3RawCPT(), gum::prm::o3prm::O3RuleCPT::O3RuleCPT(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkAttributeForDeclaration_(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkRawCPT_(), and gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkRuleCPTSumsTo1_().
|
virtualinherited |
|
privatevirtual |
Definition at line 834 of file O3prm.cpp.
References O3RuleCPT(), _rules_, gum::prm::o3prm::O3Attribute::operator=(), and rules().
|
privatevirtual |
Definition at line 842 of file O3prm.cpp.
References O3RuleCPT(), _rules_, and gum::prm::o3prm::O3Attribute::operator=().
|
virtualinherited |
Definition at line 751 of file O3prm.cpp.
References _parents_.
Referenced by O3Attribute(), gum::prm::o3prm::O3RawCPT::O3RawCPT(), gum::prm::o3prm::O3RuleCPT::O3RuleCPT(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkAttributeForCompletion_(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkLabelsNumber_(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkLabelsValues_(), and gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkRawCPT_().
|
virtualinherited |
|
virtual |
Definition at line 850 of file O3prm.cpp.
References _rules_.
Referenced by O3RuleCPT(), O3RuleCPT(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkRuleCPT_(), and operator=().
|
virtual |
|
virtualinherited |
Definition at line 743 of file O3prm.cpp.
References _type_.
Referenced by O3Attribute(), gum::prm::o3prm::O3RawCPT::O3RawCPT(), gum::prm::o3prm::O3RuleCPT::O3RuleCPT(), gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkAttributeForDeclaration_(), and gum::prm::o3prm::O3ClassFactory< GUM_SCALAR >::_checkRawCPT_().
|
virtualinherited |
|
privateinherited |
Definition at line 514 of file O3prm.h.
Referenced by O3Attribute(), O3Attribute(), O3Attribute(), name(), name(), operator=(), and operator=().
|
privateinherited |
Definition at line 515 of file O3prm.h.
Referenced by O3Attribute(), O3Attribute(), O3Attribute(), operator=(), operator=(), parents(), and parents().
|
private |
Definition at line 590 of file O3prm.h.
Referenced by O3RuleCPT(), O3RuleCPT(), O3RuleCPT(), O3RuleCPT(), operator=(), operator=(), rules(), and rules().
|
privateinherited |
Definition at line 513 of file O3prm.h.
Referenced by O3Attribute(), O3Attribute(), O3Attribute(), operator=(), operator=(), type(), and type().