net.sourceforge.jabm.learning
Interface Learner

All Known Subinterfaces:
ContinuousLearner, DiscreteLearner, MDPLearner, MimicryLearner, StimuliResponseLearner
All Known Implementing Classes:
AbstractLearner, DumbLearner, DumbRandomLearner, MetaLearner, NPTRothErevLearner, QLearner, RothErevLearner, SlidingWindowLearner, StatelessQLearner, WidrowHoffLearner, WidrowHoffLearnerWithMomentum

public interface Learner

Classes implementing this interface indicate that they implement a learning algorithm.

 

Method Summary
 void dumpState(DataWriter out)
          Write out our state data to the specified data writer.
 double getLearningDelta()
          Return a value indicative of the amount of learning that occured during the last iteration.
 void monitor()
          A hook to provide monitoring functionality.
 

Method Detail

getLearningDelta

double getLearningDelta()
Return a value indicative of the amount of learning that occured during the last iteration. Values close to 0.0 indicate that the learner has converged to an equilibrium state.

Returns:
A double representing the amount of learning that occured.

dumpState

void dumpState(DataWriter out)
Write out our state data to the specified data writer.


monitor

void monitor()
A hook to provide monitoring functionality. Implementations of learning algorithms should either log, or provide a visualisation of, their state in response to this method.