MACS
Class ClassifierSystemTraceManager
java.lang.Object
|
+--MACS.ClassifierSystemTraceManager
- public final class ClassifierSystemTraceManager
- extends java.lang.Object
This class is used to trace the behavior of the LCS.
- Author:
- Olivier Sigaud and Pierre Gérard.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
orderedPerceptions
private java.lang.String orderedPerceptions
coordsOfOrderedPerceptions
private java.lang.String coordsOfOrderedPerceptions
lastPerception
private java.lang.String lastPerception
lastAction
private java.lang.String lastAction
classifierSystem
private MACS.ClassifierSystem classifierSystem
classifiersCreatedByAnticipationCovering
private MACS.AnticipatoryClassifierList classifiersCreatedByAnticipationCovering
classifiersCorrectedByDefiningAnticipation
private MACS.AnticipatoryClassifierList classifiersCorrectedByDefiningAnticipation
classifiersCreatedByPerceptionCovering
private MACS.AnticipatoryClassifierList classifiersCreatedByPerceptionCovering
classifiersCreatedByMutSpec
private MACS.AnticipatoryClassifierList classifiersCreatedByMutSpec
classifiersRemovedByAnticipationSelection
private MACS.AnticipatoryClassifierList classifiersRemovedByAnticipationSelection
classifiersRemovedByInutilityIdentification
private MACS.AnticipatoryClassifierList classifiersRemovedByInutilityIdentification
classifiersRemovedByMutSpec
private MACS.AnticipatoryClassifierList classifiersRemovedByMutSpec
classifiersCreatedByGeneralization
private MACS.AnticipatoryClassifierList classifiersCreatedByGeneralization
classifiersRemovedByGeneralization
private MACS.AnticipatoryClassifierList classifiersRemovedByGeneralization
ClassifierSystemTraceManager
protected ClassifierSystemTraceManager(MACS.ClassifierSystemTraceManager cstm,
MACS.ClassifierSystem cs)
- Warning: we only copy pointers.
- Parameters:
cstm
- cs
-
ClassifierSystemTraceManager
protected ClassifierSystemTraceManager(MACS.ClassifierSystem cs)
- Parameters:
cs
-
getPerceptionList
protected MACS.PerceptionList getPerceptionList()
- Returns:
- MACS.PerceptionList
setFree
protected final void setFree()
prepareForNewStep
protected final void prepareForNewStep()
getClassifiersCreatedByGeneralization
protected final MACS.AnticipatoryClassifierList getClassifiersCreatedByGeneralization()
- Returns:
- MACS.AnticipatoryClassifierList
getClassifiersRemovedByGeneralization
protected final MACS.AnticipatoryClassifierList getClassifiersRemovedByGeneralization()
- Returns:
- MACS.AnticipatoryClassifierList
getClassifiersCreatedByAnticipationCovering
protected final MACS.AnticipatoryClassifierList getClassifiersCreatedByAnticipationCovering()
- Returns:
- MACS.AnticipatoryClassifierList
getClassifiersCorrectedByDefiningAnticipation
protected final MACS.AnticipatoryClassifierList getClassifiersCorrectedByDefiningAnticipation()
- Returns:
- MACS.AnticipatoryClassifierList
getClassifiersCreatedByPerceptionCovering
protected final MACS.AnticipatoryClassifierList getClassifiersCreatedByPerceptionCovering()
- Returns:
- MACS.AnticipatoryClassifierList
getClassifiersCreatedByMutSpec
protected final MACS.AnticipatoryClassifierList getClassifiersCreatedByMutSpec()
- Returns:
- MACS.AnticipatoryClassifierList
getClassifiersRemovedByAnticipationSelection
protected final MACS.AnticipatoryClassifierList getClassifiersRemovedByAnticipationSelection()
- Returns:
- MACS.AnticipatoryClassifierList
getClassifiersRemovedByInutilityIdentification
protected final MACS.AnticipatoryClassifierList getClassifiersRemovedByInutilityIdentification()
- Returns:
- MACS.AnticipatoryClassifierList
getClassifiersRemovedByMutSpec
protected final MACS.AnticipatoryClassifierList getClassifiersRemovedByMutSpec()
- Returns:
- MACS.AnticipatoryClassifierList
addClassifierRemovedByGeneralization
public final void addClassifierRemovedByGeneralization(Classifier.AnticipatoryClassifier acl,
boolean val)
- Parameters:
acl
- val
-
addClassifierCreatedByGeneralization
public final void addClassifierCreatedByGeneralization(Classifier.AnticipatoryClassifier acl,
boolean val)
- Parameters:
acl
- val
-
getNbClassifiers
protected final short getNbClassifiers()
- Returns:
- short
setOrderedPerceptions
public final void setOrderedPerceptions(java.lang.String orderedPerc)
- Parameters:
orderedPerc
-
setCoordsOfOrderedPerceptions
public final void setCoordsOfOrderedPerceptions(java.lang.String coordsOfOrderedPerc)
- Parameters:
coordsOfOrderedPerc
-
setLastAction
public final void setLastAction(java.lang.String la)
- Parameters:
la
-
setLastPerception
public final void setLastPerception(java.lang.String lp)
- Parameters:
lp
-
getStepInformation
protected final java.lang.String getStepInformation(long time)
- Parameters:
time
-
- Returns:
- String