public PassiveTDAgent(MDP <STATE_TYPE, ACTION_TYPE> mdp, MDPPolicy <STATE_TYPE, ACTION_TYPE> policy) : base(mdp.emptyMdp()) { this.policy = policy; this.utilityFunction = new MDPUtilityFunction <STATE_TYPE>(); this.stateCount = new FrequencyCounter <STATE_TYPE>(); }
public PassiveADPAgent(MDP <STATE_TYPE, ACTION_TYPE> mdp, MDPPolicy <STATE_TYPE, ACTION_TYPE> policy) : base(mdp.emptyMdp()) { this.policy = policy; this.utilityFunction = new MDPUtilityFunction <STATE_TYPE>(); this.nsa = new Dictionary <Pair <STATE_TYPE, ACTION_TYPE>, Double>(); this.nsasdash = new Dictionary <MDPTransition <STATE_TYPE, ACTION_TYPE>, Double>(); }