LearnerGraph machine = null;
boolean found = false;
while(!found){
for(int i = 0; i< phaseSize; i++){
//ForestFireNDStateMachineGenerator gen = new ForestFireNDStateMachineGenerator(0.365,0.3,0.2,seed,alphabet);
ForestFireLabelledStateMachineGenerator gen = new ForestFireLabelledStateMachineGenerator(0.365,0.3,0.2,0.2,alphabet,counter,config);
machine = gen.buildMachine(artificialTargetSize);
machine.setName("forestfire_"+counter);
int machineSize = machine.getStateNumber();
sizeSequence.add(machineSize);
if(Math.abs(machineSize - actualTargetSize)<=error){
found = true;