@Override
    public String toString(){
        String res = null;
        if(this.aceptacion && !this.inicial){
            res = "F";
            Iterator<Transicion> it = this.trans.iterator();
            while(it.hasNext()){
                res += it.next().toString();
            }
        }else{
            if(this.inicial){
                res = "I";
                Iterator<Transicion> it = this.trans.iterator();
                while(it.hasNext()){
                    res += it.next().toString();
                }
            }else{
                res = "N";
                Iterator<Transicion> it = this.trans.iterator();
                while(it.hasNext()){
                    res += it.next().toString();
                }
            }
        }
        return res;
    }