public class RandomSequenceGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static Alphabet |
DEFAULTALPHABET |
static int |
DEFAULTSTRINGLENGTH |
static int |
DEFAULTVECTORIALLENGTH |
Constructor and Description |
---|
RandomSequenceGenerator() |
Modifier and Type | Method and Description |
---|---|
static Sequence[] |
generateSequences(int N,
int L,
int K)
This generates N random sequences of length L each with K keywords.
|
static Sequence[] |
generateSequences(int N,
int L,
NodeSpecification nodeSpec)
This generates N random sequences of length L each according to
the given NodeSpecification.
|
static AlignmentSpecification |
generateSpecification(int K)
This generates an AlignmentSpecification and implicitly a
NodeSpecification for K keywords.
|
public static final Alphabet DEFAULTALPHABET
public static final int DEFAULTVECTORIALLENGTH
public static final int DEFAULTSTRINGLENGTH
public static AlignmentSpecification generateSpecification(int K)
K
- the number of keywordspublic static Sequence[] generateSequences(int N, int L, int K)
N
- the number of sequences to be generated.L
- the length of each sequence.K
- the number of keywords on each sequence.public static Sequence[] generateSequences(int N, int L, NodeSpecification nodeSpec)
N
- the number of sequences to be generated.L
- the length of each sequence.nodeSpec
- the node specification for all sequences.Copyright (C) 2013, 2014 Benjamin Paaßen, Charlie Krüger, Georg Zentgraf, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs