27 template <
class SymbolType >
44 template <
class SymbolType >
48template <
class SymbolType >
65 processState ( x, k, firstState,
result, h );
72template <
class SymbolType >
76 bool isFactor =
false;
78 for (
const Element & element : currState.elements )
79 if ( element.level == 0 ) {
84 if ( ( currState.elements.size ( ) > 1 ) && ( ( currState.elements[0].depth == currState.depth ) && isFactor ) ) {
85 if ( ( currState.elements[currState.elements.size ( ) - 1].depth == x.
getContent ( ).size ( ) ) && ( currState.depth > k ) )
88 processState ( x, k, currState, covers, h );
Class extending the pair class from the standard library. Original reason is to allow printing of the...
Definition: pair.hpp:43
Linear string.
Definition: LinearString.h:57
const ext::set< SymbolType > & getAlphabet() const &
Definition: LinearString.h:103
const ext::vector< SymbolType > & getContent() const &
Definition: LinearString.h:238
Definition: ApproximateEnhancedCoversCommon.h:20
static bool isBorder(const State &state, const string::LinearString< SymbolType > &x, unsigned k)
Definition: ApproximateEnhancedCoversCommon.h:171
static State constrNextState(const string::LinearString< SymbolType > &x, const State &previousState, unsigned k, const SymbolType &symbol)
Definition: ApproximateEnhancedCoversCommon.h:142
static ext::set< string::LinearString< SymbolType > > getFactors(const string::LinearString< SymbolType > &x, ext::set< ext::pair< unsigned int, unsigned int > > &enhCovers)
Definition: ApproximateEnhancedCoversCommon.h:189
static State constrFirstState(const string::LinearString< SymbolType > &x, unsigned k, const SymbolType &symbol)
Definition: ApproximateEnhancedCoversCommon.h:115
static void updateEnhCov(const State &state, ext::set< ext::pair< unsigned, unsigned > > &enhCovers, unsigned &h)
Definition: ApproximateEnhancedCoversCommon.h:92
Definition: RelaxedApproximateEnhancedCoversComputation.h:16
static ext::set< string::LinearString< SymbolType > > compute(const string::LinearString< SymbolType > &x, unsigned k)
Definition: RelaxedApproximateEnhancedCoversComputation.h:49
for(const StateType &state :fsm.getStates()) renamingData.insert(std Rename::RenamedAutomaton< T > result(renamingData.at(fsm.getInitialState()))
Definition: Rename.h:253
State
Definition: FordFulkerson.cpp:16
Definition: ApproximateCoversComputation.cpp:9
Definition: ApproximateEnhancedCoversCommon.h:41