mirror of
https://github.com/mudler/luet.git
synced 2025-09-17 23:58:48 +00:00
Don't preclude action space
This commit is contained in:
@@ -224,10 +224,10 @@ func (resolver *QLearningResolver) Next() []qlearning.Action {
|
||||
actions := make([]qlearning.Action, 0, len(resolver.Targets)-1)
|
||||
|
||||
for _, pack := range resolver.Targets {
|
||||
attempted := resolver.Attempted[pack.String()]
|
||||
if !attempted {
|
||||
actions = append(actions, &Choice{Package: pack.String()})
|
||||
}
|
||||
// attempted := resolver.Attempted[pack.String()]
|
||||
// if !attempted {
|
||||
actions = append(actions, &Choice{Package: pack.String()})
|
||||
// }
|
||||
}
|
||||
fmt.Println("ACTIONS", actions)
|
||||
fmt.Println("_______")
|
||||
|
Reference in New Issue
Block a user