Documentation ¶
Overview ¶
Package team1 contains code for team 1's client implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultClient ¶
func DefaultClient(id shared.ClientID) baseclient.Client
DefaultClient creates the client that will be used for most simulations. All other personalities are considered alternatives. To give a different personality for your agent simply create another (exported) function with the same signature as "DefaultClient" that creates a different agent, and inform someone on the simulation team that you would like it to be included in testing
Types ¶
type EmotionalState ¶
type EmotionalState int
const ( Normal EmotionalState = iota Anxious Desperate )
func (EmotionalState) String ¶
func (st EmotionalState) String() string
type ForageHistory ¶
type ForageHistory map[shared.ForageType][]ForageOutcome
type ForageOutcome ¶
type ForageOutcome struct {
// contains filtered or unexported fields
}
ForageOutcome is how much we put in to a foraging trip and how much we got back
func (ForageOutcome) ROI ¶
func (o ForageOutcome) ROI() float64
Click to show internal directories.
Click to hide internal directories.