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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

if (p.y > q.y) return 1;<br />

return 0;<br />

}<br />

};<br />

10. namespace leda {<br />

int Hash(const pair& p)<br />

{<br />

return p.x ^ p.y;<br />

}<br />

};<br />

bool operator == (const pair& p, const pair& q)<br />

{<br />

return (p.x == q.x && p.y == q.y) ? true : false;<br />

}

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

Saved successfully!

Ooh no, something went wrong!