Question : In the below code snippet I want to assign the type to source_sol and target_sol args in the function move. What type should I assign it to be ?
class Solution:
def __init__(self):
self.hamming_loss = 0
self.active_features = []
self.rank = None
self.pareto_solution = True
def move(self, source_sol, target_sol) -> None:
return None
def __str__(self) -> str:
return None
source_sol = Solution()
target_sol = Soltuion()
new_sol = Solution()
new_sol.move(source_sol, target_sol)