team1

package
v0.0.0-...-95be186 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

README

Roles of this Agent

TBC

Team Members

Rep? Name Shortcode Github ID
Design Naim Govani ng2517 NGovani
Infrastructure Lin Hao Lee (LH) lhl2617 lhl2617
Infrastructure Yusuf Ismail ymi17 QFSW
Olly Larkin oll16 olly-larkin
Michalis Pardalos mp5617 mpardalos
Ethan Sarif-Kattan es5017 EthanSK
Emily Mac em2717 E-Mac27
Darrick Lau dl5215 Darrekt

Strategy

  • Foraging:
    • forage deer with an amount inversely proportional to the sum of last turn's foraging
    • always share forage information
  • Tax: always paid
  • Request allocation when close to critical
  • Steal from common pool when critical
  • Gifts:
    • Request when critical
    • Opinion on other teams depends on how many gifts they gave us.
    • Give requested gifts if opinion of requester is positive, or if they are critical and opinion is neutral.

Policy

President
  • Tiered tax system, flat tax rate for those not reporting their

Foraging assumptions

  • Total resources out are proportional to total contributions
  • There is an upper limit to a hunt's rewards
  • Number of participants does not matter for total utility, only total contribution matters
  • We don't know the split of resources to contributors
  • There is a population of deer that changes depending on hunting intensity

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

type Opinion

type Opinion int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL