private void initSunthesizer(){
        Application.mediator.automatonTable.conditions.clear();
        Application.mediator.automatonTable.ids.clear();
        
        List<String> conditions = Application.mediator.automatonTable.conditions;
        List<String> ids = Application.mediator.automatonTable.ids;
        
        posToZid = new int [Application.mediator.matrix.ids.length];
        int i = 0;
        int z = 1;
        numCond = 1;
        for (String id: Application.mediator.matrix.ids){
            if(id.charAt(0) == 'X'){
                posToZid[i] = -numCond;
                conditions.add(id);
                numCond++;
            }else if(id.charAt(0) == 'S' ||id.charAt(0) == 'E' ){
                posToZid[i] = 0;   
                if (id.charAt(0) == 'S'){
                    ids.add(0,id);
                }
            }else{
                ids.add(id);
                posToZid[i] = z;
                z++;
            }
            i++;
        }
        numCond -= 1;
        
    }