Add another unitttest for GuestTupleGenerator

This unittests test that the generated tuples actually contain valid
team ids.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Chnage constness in Guest_tuple_generator

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Change arguments from reference to value in Distance_matrix

The type of Team_id is a unsigned char. This is 8 bit. Theer is no need
to pass them per reference.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Make teamcount unsigned.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Add helper to convert boost::python types

This helpers convert a boost::python::list to a vector or a unordered
set. It should raise some exceoption if the element type cannot be
converted.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Add a wrapper for the Guest_tuple_generator

Boost::python requires operator* to return a reference to the current
element. Since the Guest_tuple_generator generates the elements lazy
and holds no reference to them this will not work and results in
unpredictable behaviout.

To have a python-mapping for testing the iterator this wrapper stores
all elements it generates in a list within the iterator and gibes
references to its elements. This is not perfect since the list and all
elements will be destroyed as soon as the iterator goes out of scope
but its good enough for testing.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Add python mapping for the Guest_tuple_generator

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>