func (this *FDMTransition) String() (res string) { for s := range discrete.AllStates64(this.bg.NumStates) { //for s = 0; s < this.bg.NumStates; s++ { res += fmt.Sprintf("\ns%d:", s) for a := range discrete.AllActions64(uint64(len(this.sas)) / this.bg.NumStates) { //for a = 0; a < uint64(len(this.sas))/this.bg.NumStates; a++ { k := s.Hashcode() + a.Hashcode()*this.bg.NumStates res += this.sas[k].String() } } return }
func (this *SysMDP) S64() <-chan discrete.State { return discrete.AllStates64(this.NumStates()) }
func (this *Posterior) Sweep() { for s := range discrete.AllStates64(this.bg.NumStates) { //for uint64(0); s < this.bg.NumStates; s++ { this.ResampleState(s) } }
func (this *MDP) S64() <-chan discrete.State { return discrete.AllStates64(this.maxStates) }