@@ -0,0 +1,912 @@
+package common;%0A%0A/// A tutor helps the agent do certain parts of its job.%0A/// Using a tutor is typically considered cheating.%0A/// The main purpose of a tutor is to help debug an agent that is failing to learn some problem.%0A/// When you find the minimal subset of jobs that the tutor must perform to make the agent successful, you have isolated the bug.%0Apublic interface ITutor %7B%0A%0A%09/// Computes the state from the observations.%0A%09double%5B%5D observationsToState(double%5B%5D observations);%0A%0A%09/// Computes the observations from the state.%0A%09double%5B%5D stateToObservations(double%5B%5D state);%0A%0A%09/// Computes how actions will affect state.%0A%09void transition(double%5B%5D current_state, double%5B%5D actions, double%5B%5D next_state);%0A%0A%09/// Computes a near-optimal evaluation of state.%0A%09double evaluateState(double%5B%5D state);%0A%0A%09/// Chooses the best actions to perform in the given state.%0A%09void chooseActions(double%5B%5D state, double%5B%5D actions);%0A%7D%0A

add another missing file