#include <linguisticProcessing/core/Automaton/numericTransition.h>
|
| | NumericTransition () |
| |
| | NumericTransition (uint64_t, uint64_t, uint64_t, bool keep=true) |
| |
| | NumericTransition (const NumericTransition &) |
| |
| virtual | ~NumericTransition () |
| |
| NumericTransition & | operator= (const NumericTransition &) |
| |
| NumericTransition * | clone () const override |
| |
| NumericTransition * | create () const override |
| |
| std::string | printValue () const override |
| |
| bool | operator== (const TransitionUnit &) const override |
| |
| bool | operator== (const uint64_t &) const |
| |
| 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 |
| |
| uint64_t | value () const |
| |
| uint64_t | min () const |
| |
| uint64_t | max () const |
| |
| void | setValue (uint64_t) |
| |
| void | setMin (uint64_t) |
| |
| void | setMax (uint64_t) |
| |
| void | setMinMax (uint64_t, uint64_t) |
| |
| bool | isInterval () 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 |
| |
|
| static const uint64_t | noValue = std::numeric_limits< uint64_t >::max() |
| |
Definition at line 34 of file numericTransition.h.
◆ NumericTransition() [1/3]
| Lima::LinguisticProcessing::Automaton::NumericTransition::NumericTransition |
( |
| ) |
|
◆ NumericTransition() [2/3]
| Lima::LinguisticProcessing::Automaton::NumericTransition::NumericTransition |
( |
uint64_t |
val, |
|
|
uint64_t |
min, |
|
|
uint64_t |
max, |
|
|
bool |
keep = true |
|
) |
| |
◆ NumericTransition() [3/3]
| Lima::LinguisticProcessing::Automaton::NumericTransition::NumericTransition |
( |
const NumericTransition & |
t | ) |
|
◆ ~NumericTransition()
| Lima::LinguisticProcessing::Automaton::NumericTransition::~NumericTransition |
( |
| ) |
|
|
virtual |
◆ clone()
| NumericTransition * Lima::LinguisticProcessing::Automaton::NumericTransition::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 104 of file numericTransition.cpp.
◆ create()
| NumericTransition * Lima::LinguisticProcessing::Automaton::NumericTransition::create |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ isInterval()
| bool Lima::LinguisticProcessing::Automaton::NumericTransition::isInterval |
( |
| ) |
const |
|
inline |
◆ max()
| uint64_t Lima::LinguisticProcessing::Automaton::NumericTransition::max |
( |
| ) |
const |
|
inline |
◆ min()
| uint64_t Lima::LinguisticProcessing::Automaton::NumericTransition::min |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ operator==() [1/2]
| bool Lima::LinguisticProcessing::Automaton::NumericTransition::operator== |
( |
const TransitionUnit & |
tright | ) |
const |
|
overridevirtual |
◆ operator==() [2/2]
| bool Lima::LinguisticProcessing::Automaton::NumericTransition::operator== |
( |
const uint64_t & |
numValue | ) |
const |
◆ printValue()
| std::string Lima::LinguisticProcessing::Automaton::NumericTransition::printValue |
( |
| ) |
const |
|
overridevirtual |
◆ setMax()
| void Lima::LinguisticProcessing::Automaton::NumericTransition::setMax |
( |
uint64_t |
max | ) |
|
|
inline |
◆ setMin()
| void Lima::LinguisticProcessing::Automaton::NumericTransition::setMin |
( |
uint64_t |
min | ) |
|
|
inline |
◆ setMinMax()
| void Lima::LinguisticProcessing::Automaton::NumericTransition::setMinMax |
( |
uint64_t |
min, |
|
|
uint64_t |
max |
|
) |
| |
|
inline |
◆ setValue()
| void Lima::LinguisticProcessing::Automaton::NumericTransition::setValue |
( |
uint64_t |
val | ) |
|
|
inline |
◆ type()
| TypeTransition Lima::LinguisticProcessing::Automaton::NumericTransition::type |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ value()
| uint64_t Lima::LinguisticProcessing::Automaton::NumericTransition::value |
( |
| ) |
const |
|
inline |
◆ noValue
| const uint64_t Lima::LinguisticProcessing::Automaton::NumericTransition::noValue = std::numeric_limits< uint64_t >::max() |
|
static |
The documentation for this class was generated from the following files: