MACS
Class ModularClassifierSystemTraceManager

java.lang.Object
  |
  +--MACS.ModularClassifierSystemTraceManager

final class ModularClassifierSystemTraceManager
extends java.lang.Object

This class is used to trace the behavior of MACS.

Author:
Olivier Sigaud and Pierre Gérard.

Field Summary
private  int hierarchyLvlDecision
           
private  MACS.ModularClassifierSystem modularClassifierSystem
           
private  Classifier.Perception perception
           
private  double reward
           
private  long time
           
 
Constructor Summary
protected ModularClassifierSystemTraceManager(MACS.ModularClassifierSystem cs)
           
 
Method Summary
protected  int getHierarchyLvlDecision()
           
protected  short getNbClassifiers()
           
private  int getNbWellAnticipatingClassifiers()
           
protected  Classifier.Perception getPerception()
           
protected  double getReward()
           
protected  java.lang.String getStepInformation()
           
protected  long getTime()
           
protected  void prepareForNewStep(double rw, Classifier.Perception per)
           
 void setHierarchyLvlDecision(int lvl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

private long time

reward

private double reward

hierarchyLvlDecision

private int hierarchyLvlDecision

modularClassifierSystem

private MACS.ModularClassifierSystem modularClassifierSystem

perception

private Classifier.Perception perception
Constructor Detail

ModularClassifierSystemTraceManager

protected ModularClassifierSystemTraceManager(MACS.ModularClassifierSystem cs)
Parameters:
cs -
Method Detail

prepareForNewStep

protected final void prepareForNewStep(double rw,
                                       Classifier.Perception per)
Parameters:
rw -
per -

getHierarchyLvlDecision

protected final int getHierarchyLvlDecision()
Returns:
int

setHierarchyLvlDecision

public final void setHierarchyLvlDecision(int lvl)
Parameters:
lvl -

getTime

protected final long getTime()
Returns:
long

getPerception

protected final Classifier.Perception getPerception()
Returns:
Classifier.Perception

getReward

protected final double getReward()
Returns:
double

getNbClassifiers

protected final short getNbClassifiers()
Returns:
short

getStepInformation

protected final java.lang.String getStepInformation()
Returns:
String

getNbWellAnticipatingClassifiers

private int getNbWellAnticipatingClassifiers()
Returns:
int