HyperVolume function not working in Python 3
<p>Based on a HyperVolume function found <a href="https://ls11-www.cs.uni-dortmund.de/rudolph/hypervolume/start" rel="nofollow"><strong>here</strong></a> (direct download <a href="https://ls11-www.cs.uni-dortmund.de/_media/rudolph/hypervolume/hv_python.zip" rel="nofollow">link</a>), I am trying to return hypervolume metrics for my algorithm. However, not even the test code works:</p>

<pre><code>from hv import HyperVolume
referencePoint = [2, 2, 2]
hyperVolume = HyperVolume(referencePoint)
front = [[1, 0, 1], [0, 1, 0]]
result = hyperVolume.compute(front)
</code></pre>

<p>I'm getting errors which seem to be related to the fact that I'm using Python 3, and the function itself is using Python 2. Is there a way around that? Is there a similar function implemented in Python 3? </p>

<p>I've also looked at <a href="https://github.com/DEAP/deap/blob/master/deap/tools/_hypervolume/pyhv.py" rel="nofollow">this one in deap</a>, but it seems the have the same issue.</p>

<p>LE: I've been asked for specific errors, so I'll keep a log of them as they're being solved</p>

<ol>
<li>name xrange is not defined - fixed by replacing with range</li>
<li><a href="https://gyazo.com/4201992829b71904bf6467a73129d7b4" rel="nofollow">TypeError: unorderable types: Node() &lt; Node()</a></li>
</ol>