entity-neural-network / incubator

Collection of in-progress libraries for entity neural networks.
Apache License 2.0
29 stars 10 forks source link

Add global actions and features #228

Closed cswinter closed 2 years ago

cswinter commented 2 years ago

Allows Observations to contain global_features, which are not tied to any particular entity. RogueNet automatically concatenates global features with the features of all entities. Adds a GlobalCategoricalAction, which allows for a categorical action that is not tied to any particular entity. Behind the scenes, GlobalCategoricalAction is translated into a CategoricalAction on a dummy "__global__" entity which is added to all frames.

Resolves https://github.com/entity-neural-network/incubator/issues/26