76f3ec1b535feda313d84ac76e68fa886c09ebae,gym/envs/toy_text/kellycoinflip.py,KellyCoinflipGeneralizedEnv,__init__,#KellyCoinflipGeneralizedEnv#Any#Any#Any#Any#Any#Any#Any#Any#,70
Before Change
// the rest proceeds as before:
self.action_space = spaces.Discrete(maxWealth*100)
self.observation_space = spaces.Tuple((
spaces.Discrete(maxWealth*100+1), // current wealth
spaces.Discrete(maxRounds+1), // rounds elapsed
spaces.Discrete(maxRounds+1), // wins
spaces.Discrete(maxRounds+1), // losses
After Change
spaces.Discrete(maxRounds+1), // rounds elapsed
spaces.Discrete(maxRounds+1), // wins
spaces.Discrete(maxRounds+1), // losses
spaces.Box(0, maxWealth, [1]))) // maximum observed wealth
self.reward_range = (0, maxWealth)
self.edge = edge
self.wealth = initialWealth
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: openai/gym
Commit Name: 76f3ec1b535feda313d84ac76e68fa886c09ebae
Time: 2017-03-28
Author: tlb@tlb.org
File Name: gym/envs/toy_text/kellycoinflip.py
Class Name: KellyCoinflipGeneralizedEnv
Method Name: __init__
Project Name: flow-project/flow
Commit Name: 93a7f518a7eefd0d5492f8c77b253d7f40af3b4f
Time: 2017-06-10
Author: akreidieh@gmail.com
File Name: cistar-dev/cistar/envs/lane_changing.py
Class Name: SimpleLaneChangingAccelerationEnvironment
Method Name: action_space
Project Name: openai/gym
Commit Name: febd30297ed83d1131f1b347db846004f72e250d
Time: 2017-03-28
Author: tlb@tlb.org
File Name: gym/envs/toy_text/kellycoinflip.py
Class Name: KellyCoinflipEnv
Method Name: __init__