In shapiq, the main data structure for coalitions and subsets are np.ndarrays (coals. and subs. are arrays). However, internally some objects, especially games, work with tuples of players. Sometimes the array representation is a bit in the way when working with games. It would be nice to allow games to also be called with tuples. Probably a seperate "tuple_call" function is better than allowing different parameter types in the call, which could increase confusion about what types work where.
In
shapiq
, the main data structure for coalitions and subsets arenp.ndarrays
(coals. and subs. are arrays). However, internally some objects, especially games, work with tuples of players. Sometimes the array representation is a bit in the way when working with games. It would be nice to allow games to also be called with tuples. Probably a seperate "tuple_call" function is better than allowing different parameter types in the call, which could increase confusion about what types work where.