tools.tree.trie.pattern
Class PatternGenerator

java.lang.Object
  extended by tools.tree.trie.pattern.PatternGenerator

public class PatternGenerator
extends java.lang.Object


Constructor Summary
PatternGenerator()
           
 
Method Summary
static PatternContainer getPattern4String(java.lang.String pattern, int blocksize)
          creates a simple pattern by decomposing a string to its characters
static PatternContainer getPatternsBondSeparated(java.lang.String pattern)
          creates a simple pattern by decomposing a string to its characters, this function weights the position in the string
static PatternContainer getPatternsBondSeparatedWeighted(java.lang.String pattern)
          creates a simple pattern by decomposing a string to its characters, this function weights the position in the string
static PatternContainer getPatternsBondSeparatedWeightedByProbability(java.lang.String pattern)
          creates a simple pattern by decomposing a string to its characters, this function weights the symbols by their probability
static PatternContainer getWeightedPattern4String(java.lang.String pattern, int blocksize)
          creates a simple pattern by decomposing a string to its characters, this function weights the position in the string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternGenerator

public PatternGenerator()
Method Detail

getPattern4String

public static PatternContainer getPattern4String(java.lang.String pattern,
                                                 int blocksize)
creates a simple pattern by decomposing a string to its characters

Parameters:
pattern -
Returns:

getPatternsBondSeparated

public static PatternContainer getPatternsBondSeparated(java.lang.String pattern)
creates a simple pattern by decomposing a string to its characters, this function weights the position in the string

Parameters:
pattern -
Returns:

getPatternsBondSeparatedWeighted

public static PatternContainer getPatternsBondSeparatedWeighted(java.lang.String pattern)
creates a simple pattern by decomposing a string to its characters, this function weights the position in the string

Parameters:
pattern -
Returns:

getPatternsBondSeparatedWeightedByProbability

public static PatternContainer getPatternsBondSeparatedWeightedByProbability(java.lang.String pattern)
creates a simple pattern by decomposing a string to its characters, this function weights the symbols by their probability

Parameters:
pattern -
Returns:

getWeightedPattern4String

public static PatternContainer getWeightedPattern4String(java.lang.String pattern,
                                                         int blocksize)
creates a simple pattern by decomposing a string to its characters, this function weights the position in the string

Parameters:
pattern -
Returns: