Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AgentLogger Refactoring #13

Open
Retr0-code opened this issue May 21, 2024 · 0 comments
Open

AgentLogger Refactoring #13

Retr0-code opened this issue May 21, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Retr0-code
Copy link
Owner

The Idea

Create enumeration of flags representing fields that would be in logs.

Example

typedef enum
{
  Reward = 1,
  LastAction = 2,
  Epsilon = 4,
  RewardDiscount = 8
  // ...
} LogFields;

void SetLoggingFields(uint32_t logFlags)
{
  //...
}

void IAgentLogger::operator(...)
{
  //...
  while (...)
  {
     // Checking for flags and then output if set
  }
}
@Retr0-code Retr0-code added the enhancement New feature or request label May 21, 2024
@Retr0-code Retr0-code self-assigned this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant