Neodroid  0.2.0
Machine Learning Environment Prototyping Tool
IEnvironment.cs
Go to the documentation of this file.
2 
3 namespace droid.Runtime.Interfaces {
7  public interface IEnvironment : IRegisterable {
11  Reaction LastReaction { get; }
12 
16  int CurrentFrameNumber { get; }
17 
21  bool Terminated { get; }
22 
26  string LastTerminationReason { get; }
27 
31  bool IsResetting { get; }
32 
37  EnvironmentState CollectState();
38 
43  void React(Reaction reaction);
44 
50  EnvironmentState ReactAndCollectState(Reaction reaction);
51 
56  Reaction SampleReaction();
57 
61  void Tick();
62 
66  void PostStep();
67  }
68 }