Changeset b97a556 for src/dgp/sgraph.cc
- Timestamp:
- 11/19/13 10:07:16 (11 years ago)
- Branches:
- master
- Children:
- b30c30d
- Parents:
- e0cd003
- git-author:
- Tomasz Obrebski <to@…> (11/19/13 09:55:00)
- git-committer:
- Tomasz Obrebski <obrebski@…> (11/19/13 10:07:16)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/dgp/sgraph.cc
r3b02b04 rb97a556 113 113 for(vector<Arc>::iterator h=node.heads.begin(); h!=node.heads.end(); ++h) 114 114 { 115 if(cont) buf+=sprintf(buf,","); else cont=true; 116 buf+=sprintf(buf,"++%s-%d(%d~%d)",h->role.str(),h->dst,h->headanc,h->depanc); 115 // if(cont) buf+=sprintf(buf,","); else cont=true; 116 buf+=sprintf(buf,"(++%s:%d)",h->role.str(),h->dst); 117 // buf+=sprintf(buf,"++%s-%d(%d~%d)",h->role.str(),h->dst,h->headanc,h->depanc); 118 // buf+=sprintf(buf,"(<-%s-%d)",h->role.str(),h->dst); 117 119 } 118 120 … … 121 123 { 122 124 // if(! nodes[d->dst].saturated()) continue; // NIE DRUKUJ NIENASYCONYCH PODRZEDNIKOW 123 if(cont) buf+=sprintf(buf,","); else cont=true; 124 buf+=sprintf(buf,"--%s-%d(%d~%d)",d->role.str(),d->dst,d->headanc,d->depanc); 125 // if(cont) buf+=sprintf(buf,","); else cont=true; 126 buf+=sprintf(buf,"(--%s:%d)",d->role.str(),d->dst); 127 // buf+=sprintf(buf,"--%s-%d(%d~%d)",d->role.str(),d->dst,d->headanc,d->depanc); 128 // buf+=sprintf(buf,"(-%s->%d)",d->role.str(),d->dst); 125 129 } 126 130
Note: See TracChangeset
for help on using the changeset viewer.