#include <linguisticProcessing/core/Automaton/andTransition.h>
|
| | AndTransition () |
| |
| | AndTransition (const std::vector< TransitionUnit * > &, bool keep=true) |
| | constructor of andTransition based on a vector of TransitionUnit* BE CAREFUL with this constructor : the pointers in the vectors are copied without reallocation : deleting pointers after calling this constructor will cause segmentation faults
|
| |
| | AndTransition (const Tpos &, bool keep=true) |
| |
| | AndTransition (const AndTransition &) |
| |
| virtual | ~AndTransition () |
| |
| AndTransition & | operator= (const AndTransition &) |
| |
| AndTransition * | clone () const override |
| |
| AndTransition * | create () const override |
| |
| std::string | printValue () const override |
| |
| bool | operator== (const TransitionUnit &) const override |
| |
| std::vector< TransitionUnit * > & | getTransitions () |
| |
| bool | compare (const LinguisticAnalysisStructure::AnalysisGraph &graph, const LinguisticGraphVertex &vertex, AnalysisContent &analysis, const LinguisticAnalysisStructure::Token *token, const LinguisticAnalysisStructure::MorphoSyntacticData *data) const override |
| | comparison of the transition with a token : can use the graph and vertex info, associated with general analysis content.
|
| |
| TypeTransition | type () const override |
| |
| const std::vector< TransitionUnit * > & | getTransitions () const |
| |
| | TransitionUnit () |
| |
| | TransitionUnit (const bool keep, const bool negative=false) |
| |
| | TransitionUnit (const TransitionUnit &transition) |
| |
| virtual | ~TransitionUnit () |
| |
| TransitionUnit & | operator= (const TransitionUnit &transition) |
| |
| bool | keep () const |
| |
| void | setKeep (const bool) |
| |
| bool | negative () const |
| |
| void | setNegative (const bool) |
| |
| bool | head () const |
| |
| bool | isHead () const |
| |
| void | setHead (const bool) |
| |
| const std::string & | getId () const |
| |
| void | setId (const std::string &id) |
| |
| const std::string & | getActionHash () const |
| |
| void | setActionHash (const std::string &actionHash) |
| |
| const Constraint & | constraint (const uint64_t) const |
| |
| uint64_t | numberOfConstraints () const |
| |
| void | addConstraint (const Constraint &) |
| |
| void | copyProperties (const TransitionUnit &t) |
| |
| bool | compareProperties (const TransitionUnit &t) const |
| |
| bool | checkConstraints (const LinguisticAnalysisStructure::AnalysisGraph &graph, const LinguisticGraphVertex &vertex, AnalysisContent &analysis, ConstraintCheckList &) const |
| |
| void | popConstraints (ConstraintCheckList &) const |
| |
| virtual bool | isEpsilonTransition () const |
| |
Definition at line 32 of file andTransition.h.
◆ AndTransition() [1/4]
| Lima::LinguisticProcessing::Automaton::AndTransition::AndTransition |
( |
| ) |
|
◆ AndTransition() [2/4]
| Lima::LinguisticProcessing::Automaton::AndTransition::AndTransition |
( |
const std::vector< TransitionUnit * > & |
transitions, |
|
|
bool |
keep = true |
|
) |
| |
constructor of andTransition based on a vector of TransitionUnit* BE CAREFUL with this constructor : the pointers in the vectors are copied without reallocation : deleting pointers after calling this constructor will cause segmentation faults
- Returns
Definition at line 36 of file andTransition.cpp.
◆ AndTransition() [3/4]
| Lima::LinguisticProcessing::Automaton::AndTransition::AndTransition |
( |
const Tpos & |
, |
|
|
bool |
keep = true |
|
) |
| |
◆ AndTransition() [4/4]
| Lima::LinguisticProcessing::Automaton::AndTransition::AndTransition |
( |
const AndTransition & |
t | ) |
|
◆ ~AndTransition()
| Lima::LinguisticProcessing::Automaton::AndTransition::~AndTransition |
( |
| ) |
|
|
virtual |
◆ clone()
| AndTransition * Lima::LinguisticProcessing::Automaton::AndTransition::clone |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ compare()
comparison of the transition with a token : can use the graph and vertex info, associated with general analysis content.
Takes also the token and morphosyntacticData associated to the vertex so that this access is not done for each transition when testing a vertex
- Parameters
-
| graph | the graph |
| vertex | the vertex to compare |
| token | the token associated to the vertex |
| data | the data associated to the vertex |
- Returns
Implements Lima::LinguisticProcessing::Automaton::TransitionUnit.
Definition at line 125 of file andTransition.cpp.
◆ create()
| AndTransition * Lima::LinguisticProcessing::Automaton::AndTransition::create |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getTransitions() [1/2]
| std::vector< TransitionUnit * > & Lima::LinguisticProcessing::Automaton::AndTransition::getTransitions |
( |
| ) |
|
|
inline |
◆ getTransitions() [2/2]
| const std::vector< TransitionUnit * > & Lima::LinguisticProcessing::Automaton::AndTransition::getTransitions |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ operator==()
| bool Lima::LinguisticProcessing::Automaton::AndTransition::operator== |
( |
const TransitionUnit & |
tright | ) |
const |
|
overridevirtual |
◆ printValue()
| std::string Lima::LinguisticProcessing::Automaton::AndTransition::printValue |
( |
| ) |
const |
|
overridevirtual |
◆ type()
| TypeTransition Lima::LinguisticProcessing::Automaton::AndTransition::type |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files:
- lima_linguisticprocessing/src/linguisticProcessing/core/Automaton/andTransition.h
- lima_linguisticprocessing/src/linguisticProcessing/core/Automaton/andTransition.cpp