def __init__(self):
     self.moveFirst = False
     self.firstOffer = False
     self.currIter = 0
     self.otherNegoWants = {}
     self.visited = []
     self.threshold = 0
     BaseNegotiator.__init__(self)
Esempio n. 2
0
 def __init__(self):
     BaseNegotiator.__init__(self)
     self.given_results = []
     self.going_first = False
     self.aggressiveness = randint(40,60)
     self.currentPts = 0
     self.currentPtsOpponent = 0
     self.is_opponent_jerk = False
     self.stubborn_opponent = False
     self.stubborn_count = 0
     self.numRounds = 0
Esempio n. 3
0
 def __init__(self):
     BaseNegotiator.__init__(self)
     self.round_count=0
     self.first=False
     self.their_offers=[]
     self.their_utilities=[]
     self.our_score=0
     self.their_score=0
     self.last_offer=None
     self.encounter=0
     self.agreed=False
Esempio n. 4
0
 def __init__(self):
     ##set up window here
     self.window = Tk()
     self.window.geometry("500x500+300+100")
     self.window.title("Human Negotiator")
     self.buttonlist = []
     self.madeoffer = False
     BaseNegotiator.__init__(self)
     self.checkstate = []
     self.currUtility = StringVar()
     self.lastOffer = StringVar()
     self.theirUtility = "0"
Esempio n. 5
0
 def __init__(self):
     ##set up window here
     self.window = Tk()
     self.window.geometry("500x500+300+100")
     self.window.title("Human Negotiator")
     self.buttonlist = []
     self.madeoffer = False
     BaseNegotiator.__init__(self)
     self.checkstate = []
     self.currUtility = StringVar()
     self.lastOffer = StringVar()
     self.theirUtility = "0"
Esempio n. 6
0
 def __init__(self):
     BaseNegotiator.__init__(self)
     self.turn_counter = 0
     self.their_last_offer_utility = 0
     self.results = 0
     self.is_first = False
     # time at which we think we have a reasonable grasp on their offer
     self.turn_model_becomes_accurate = self.iter_limit * .20
     # container of probabilities
     self.mastermind_probabilities = []
     self.their_previous_offer_utility = 0
     self.current_guess = []
     self.optimal_solution_guess = []
     self.last_guess = []
Esempio n. 7
0
 def __init__(self):
     BaseNegotiator.__init__(self)
     self.results = {}
     self.successful_results = []
     self.best_threshold = 0.5
     self.enemy_first_offer = []
     self.enemy_avg_slope = 0
     self.enemy_greed_slope = 0
     self.last_enemy_util = 0
     self.our_last_offer = []
     self.first = False
     self.enemy_util_slope = []
     self.init_enemy_util = 0
     self.enemy_util = []
     self.last_util = 0
     self.THRESHOLD = 0.9
     self.max_utility = 0
     self.threshold_increment = 0.1
     self.offers_made = []
     self.round = 1
Esempio n. 8
0
 def __init__(self):
     BaseNegotiator.__init__(self)
     self.results = {}
     self.successful_results = []
     self.best_threshold = 0.5
     self.enemy_first_offer = []
     self.enemy_avg_slope = 0
     self.enemy_greed_slope = 0
     self.last_enemy_util = 0
     self.our_last_offer = []
     self.first = False
     self.enemy_util_slope = []
     self.init_enemy_util = 0
     self.enemy_util = []
     self.last_util = 0
     self.THRESHOLD = 0.9
     self.max_utility = 0
     self.threshold_increment = 0.1
     self.offers_made = []
     self.round = 1
Esempio n. 9
0
 def __init__(self):
     BaseNegotiator.__init__(self)
     self.going_first = False
Esempio n. 10
0
 def __init__(self):
     self.moveFirst = False
     self.currIter = 0
     BaseNegotiator.__init__(self)