def __init__(self,instance,numAnts,max_evals,max_gens,rho,ph_max=1,ph_min=0,alpha=1,beta=1,ax=None): """ Initialise base Ant Colony Optimization for Max-Cut Doing Gray Box Optimalization with weights and problem structure known we additionally have: :param beta : local heuristic information factor for weights (how much do we use the heuristic 'just take edges with large weight') """ ACO.__init__(self,instance,numAnts,max_evals,max_gens,rho,ph_max,ph_min,alpha,ax) self.beta = beta
def __init__(self,instance,numAnts,max_evals,max_gens,rho,ph_max=1,ph_min=0,alpha=1,ax=None): ACO.__init__(self,instance,numAnts,max_evals,max_gens,rho,ph_max,ph_min,alpha,ax)