31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ool<br />

CHECK WEIGHTS T(const graph& G, edge array& w, bool perfect)<br />

returns true, if w is a feasible weight function for G; false otherwise.<br />

perfect must be set to true in the perfect matching case; otherwise it<br />

must be set to false. If the edge weights are not multiplicatives of 4 all<br />

edge weights will be scaled by a factor of 4. <strong>The</strong> modified weight function<br />

is returned in w then. This function is automatically called by each of<br />

the maximum weighted machting algorithms provided in this chapter, the<br />

user does not have to take care of it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!