func NewAgent(cfg Config) (agent *FLAgent) { prior := GetCoffeePrior(cfg) agent = new(FLAgent) agent.BFS3Agent = bfs3.New(prior) agent.Cfg = cfg.BFS3 return }
func NewBFS3Agent(bfs3cfg bfs3.Config) (agent *bfs3.BFS3Agent) { prior := GetConfiguredPrior() agent = bfs3.New(prior) agent.Cfg = bfs3cfg return }
func NewBFS3Agent(cfg Config) (agent *bfs3.BFS3Agent) { prior := GetTruthFunc(cfg.Coffee) agent = bfs3.New(prior) agent.Cfg = cfg.BFS3 return }