const SocketPoolSize = 20
func Start()
func Stop()
func Train(entry *EntryLearning) error
type EntryAct struct {
State []float64
}
type EntryActOutput struct {
Action float64
Eps float64
}
func Act(entry *EntryAct) (*EntryActOutput, error)
func SocketAct(act *EntryAct) (*EntryActOutput, error)
SocketAct executes the act by using the websocket to learner service
type EntryLearning struct {
Eid int
State []float64
Action float64
Reward float64
}
type SocketActRequest struct {
// contains filtered or unexported fields
}