MAOS: PortalDocumentationKnowledge Components → Behavioral → State Updater

Without special notice, all State Updaters are extended from maosKernel.behavior.update.AbsStateUpdater.

maosKernel.behavior.update.AbsStateUpdater

Action: public boolean updateBehavior(EncodedState basicState, EncodedState inputState)
( Input parameters: basicState, inputState; Output parameters: basicState )
Description: Updating basicState by inputState according to a certain condition

maosKernel.behavior.update.DirectStateUpdater

Description: Updating directly.

maosKernel.behavior.update.BetterStateUpdater

Description: Updating as inputState has a noworse quality than basicState.

maosKernel.behavior.update.MetropolisStateUpdater extends maosKernel.behavior.update.BetterStateUpdater

Setting Parameters: double temperature /* >0 */
Description: Updating according to a Metropolis algorithm.

maosKernel.behavior.update.ProbStateUpdater extends maosKernel.behavior.update.BetterStateUpdater

Setting Parameters: double pDirect /* Belongs to [0, 1] */
Description: Updating as inputState has a noworse quality than basicState, or Math.random() < pDirect.


Return to homepage

Maintained by AdaptiveBox StUdIo, under a Creative Commons Attribution 3.0 License.