traveling.salesman: Example strategy (Hotelling Game): traveling.salesman

Description Usage Arguments

Description

A strategy which "walks" through over the "beach" with a fixed price

Usage

1
traveling.salesman(obs, i, t, price = 0.5, speed = 0.05, ...)

Arguments

obs

Observations of position and price of both players in the last round as specified in the function hotelling.profits

i

Number of current player

t

Current period

price

Fixed price of the strategy

speed

The strategy starts at 0 and moves each period by speed, afterwards it starts at the beginning.


skranz/StratTourn documentation built on May 30, 2019, 2:02 a.m.