Last active
March 26, 2025 10:39
-
-
Save MX-2000/94e3f17d9df4f7747bf339f462d5858e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct CCpr CCpr; | |
struct CCpr { | |
int width; | |
int height; | |
int num_agents; | |
int vision; | |
int vision_window; | |
int obs_size; | |
int tick; | |
float reward_food; | |
float reward_move; | |
float interactive_food_reward; | |
unsigned char *grid; | |
unsigned char *observations; | |
int *actions; | |
float *rewards; | |
unsigned char *terminals; | |
Agent *agents; | |
LogBuffer *log_buffer; | |
Log *logs; | |
uint8_t *interactive_food_agent_count; | |
FoodList *foods; | |
float food_base_spawn_rate; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment