Changeset a15e59b for src/dgp/sgraph.cc
- Timestamp:
- 03/13/12 17:07:34 (13 years ago)
- Branches:
- master
- Children:
- f4bf33e
- Parents:
- abd28d1
- git-author:
- Tomasz Obrebski <to@…> (03/13/12 17:07:34)
- git-committer:
- Tomasz Obrebski <to@…> (03/13/12 17:07:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/dgp/sgraph.cc
re7de6cc ra15e59b 148 148 if(node.prop.forbidden[i]) buf+=sprintf(buf,"%s!%s",(cont++)?",":"",i.str()); 149 149 for(Role i=1; i<=Role::count(); ++i) 150 if(node.prop.required[i]) buf+=sprintf(buf,"%s &%s",(cont++)?",":"",i.str());150 if(node.prop.required[i]) buf+=sprintf(buf,"%s-%s",(cont++)?",":"",i.str()); 151 151 for(Role i=1; i<=Role::count(); ++i) 152 152 if(node.prop.attached[i]) buf+=sprintf(buf,"%s+%s",(cont++)?",":"",i.str());
Note: See TracChangeset
for help on using the changeset viewer.