lemon/concepts/graph_components.h
changeset 1088 4000b7ef4e01
parent 1086 97f1760dcd13
child 1092 dceba191c00d
equal deleted inserted replaced
37:3a847e32dc34 38:a98e8832d758
   454             bn = bpgraph.blueNode(e);
   454             bn = bpgraph.blueNode(e);
   455             rn = bpgraph.asRedNodeUnsafe(rnan);
   455             rn = bpgraph.asRedNodeUnsafe(rnan);
   456             bn = bpgraph.asBlueNodeUnsafe(bnan);
   456             bn = bpgraph.asBlueNodeUnsafe(bnan);
   457             rn = bpgraph.asRedNode(rnan);
   457             rn = bpgraph.asRedNode(rnan);
   458             bn = bpgraph.asBlueNode(bnan);
   458             bn = bpgraph.asBlueNode(bnan);
   459             ignore_unused_variable_warning(b);
   459             ::lemon::ignore_unused_variable_warning(b);
   460           }
   460           }
   461         }
   461         }
   462 
   462 
   463         const _BpGraph& bpgraph;
   463         const _BpGraph& bpgraph;
   464       };
   464       };
   651           typename _BpGraph::BlueNode blue;
   651           typename _BpGraph::BlueNode blue;
   652           int rid = bpgraph.id(red);
   652           int rid = bpgraph.id(red);
   653           int bid = bpgraph.id(blue);
   653           int bid = bpgraph.id(blue);
   654           rid = bpgraph.maxRedId();
   654           rid = bpgraph.maxRedId();
   655           bid = bpgraph.maxBlueId();
   655           bid = bpgraph.maxBlueId();
   656           ignore_unused_variable_warning(rid);
   656           ::lemon::ignore_unused_variable_warning(rid);
   657           ignore_unused_variable_warning(bid);
   657           ::lemon::ignore_unused_variable_warning(bid);
   658         }
   658         }
   659 
   659 
   660         const _BpGraph& bpgraph;
   660         const _BpGraph& bpgraph;
   661       };
   661       };
   662     };
   662     };
  1385           checkConcept<AlterableGraphComponent<Base>, _BpGraph>();
  1385           checkConcept<AlterableGraphComponent<Base>, _BpGraph>();
  1386           typename _BpGraph::RedNodeNotifier& rnn
  1386           typename _BpGraph::RedNodeNotifier& rnn
  1387             = bpgraph.notifier(typename _BpGraph::RedNode());
  1387             = bpgraph.notifier(typename _BpGraph::RedNode());
  1388           typename _BpGraph::BlueNodeNotifier& bnn
  1388           typename _BpGraph::BlueNodeNotifier& bnn
  1389             = bpgraph.notifier(typename _BpGraph::BlueNode());
  1389             = bpgraph.notifier(typename _BpGraph::BlueNode());
  1390           ignore_unused_variable_warning(rnn);
  1390           ::lemon::ignore_unused_variable_warning(rnn);
  1391           ignore_unused_variable_warning(bnn);
  1391           ::lemon::ignore_unused_variable_warning(bnn);
  1392         }
  1392         }
  1393 
  1393 
  1394         const _BpGraph& bpgraph;
  1394         const _BpGraph& bpgraph;
  1395       };
  1395       };
  1396     };
  1396     };