Closed GoogleCodeExporter closed 9 years ago
This is not an issue, this is expected behavior as the exception says that the
initial vector has duplicates: CombinatoricsVector=([apple, orange, apple,
orange], size=4).
The method getNumberOfGeneratedObjects() can't calculate a number of the
generated objects if the initial vector has duplicates and the generator should
treat the vector as identical. In this case it throws a Runtime exception
notifying the caller that number of the generated objects has to be calculated
by another way. The permutation generator works correctly as it generates the
correct objects.
Original comment by d.pau...@gmail.com
on 10 Mar 2014 at 12:08
Original comment by d.pau...@gmail.com
on 10 Mar 2014 at 12:09
Original comment by d.pau...@gmail.com
on 18 Mar 2014 at 9:51
Works per design
Original comment by d.pau...@gmail.com
on 19 Jun 2014 at 12:18
Original issue reported on code.google.com by
ferenc.l...@gmail.com
on 8 Mar 2014 at 9:17