Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigParameters ¶
type ConfigParameters struct { FoodOnPlatform food.FoodType `json:"FoodOnPlatform"` Team1Agents int `json:"Team1Agents"` Team2Agents int `json:"Team2Agents"` Team3Agents int `json:"Team3Agents"` Team4Agents int `json:"Team4Agents"` Team5Agents int `json:"Team5Agents"` Team6Agents int `json:"Team6Agents"` RandomAgents int `json:"RandomAgents"` AgentHP int `json:"AgentHP"` AgentsPerFloor int `json:"AgentsPerFloor"` TicksPerFloor int `json:"TicksPerFloor"` SimDays int `json:"SimDays"` ReshuffleDays int `json:"ReshuffleDays"` MaxHP int `json:"maxHP"` WeakLevel int `json:"weakLevel"` Width float64 `json:"width"` Tau float64 `json:"tau"` HpReqCToW int `json:"hpReqCToW"` HpCritical int `json:"hpCritical"` MaxDayCritical int `json:"maxDayCritical"` HPLossBase int `json:"HPLossBase"` HPLossSlope float64 `json:"HPLossSlope"` NumOfAgents []int NumberOfFloors int TicksPerDay int DayInfo *day.DayInfo }
func LoadParamFromJson ¶
func LoadParamFromJson(path string) (ConfigParameters, error)
Click to show internal directories.
Click to hide internal directories.