@Test
public void test_generateRandomWalk7d()
{
LearnerGraph graph = buildLearnerGraph("A-a->B\nB-b->D-a->D-c->E-a->E","test_generateRandomWalk7",config,converter);
RandomPathGenerator generator = new RandomPathGenerator(graph,new Random(0),0,graph.findVertex("D"));
generateSeq(2,2,3,generator,Arrays.asList(new Label[]{new StringLabel("p"),new StringLabel("q")}),
ArrayOperations.flatten(new Object[]{new Object[]{// the first Object[] means we are talking
// of a sequence, the second Object[] means that the first sequence contains alternatives,
// defined in the second Object, the two sequences below denote these alternatives.
new Object[]{"p","q","a","b"},
new Object[]{"p","q","c",new String[]{"b","c"}}