RepetitionFinder


Abstract

class for parsing a string for repetitions and calculating repetition regions and matching pairs.

Methods

-essentialMatchingPairsWithMinimalRepetitionLength:
call only if prepared. calculates the essential mathing pairs in the string with a minimal repetitionlength.
-initWithString:
initialises a new repetition finder with a string to be parsed.
-prepare
prepares datastructure for calculation.
-prepareWithString:
sets string to be parsed and prepares datastructure for calculation.
-printToLog
prints the repetition finder to NSLog().
-setString:
sets the string to be parsed.

essentialMatchingPairsWithMinimalRepetitionLength:


call only if prepared. calculates the essential mathing pairs in the string with a minimal repetitionlength.

- (NSArray *)
        essentialMatchingPairsWithMinimalRepetitionLength:(int)minimalLength;
method result
NSArray that contains all essential matching pairs.

initWithString:


initialises a new repetition finder with a string to be parsed.

- (id)initWithString:(NSString *)aString;

prepare


prepares datastructure for calculation.

- (void)prepare;

prepareWithString:


sets string to be parsed and prepares datastructure for calculation.

- (void)prepareWithString:(NSString *)aString;

printToLog


prints the repetition finder to NSLog().

- (void)printToLog;

setString:


sets the string to be parsed.

- (void)setString:(NSString *)aString;

(Last Updated M/D/Y)