|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectart.cs.RuleMaster
This class manage the short term learning of the classifier following the Environment-Rules-Agents (ERA) scheme introduced in Gilbert and Terna (2000).
"The Rule Masters, that can be interpreted as abstract representations of the cognition of the agent."
For more information on ERA http://web.econ.unito.it/terna/ct-era/ct-era.html.
This class is like a director that coordinate the operation performed by the CS (non learning) and is the owner of all the main lists used by the other classes. This class deals also with all the graphs specific for the CS. This class map one by one the operations performed by the user via the CsManager.
| Constructor Summary | |
RuleMaster(CsManager csm)
Constructor of the class. |
|
| Method Summary | |
void |
clearMsgList()
Clear the message list, refer to CsManager.clearMsgList() |
Effector |
getEffector()
Return a instance of the Effector, refer to CsManager.getEffector() |
int |
getMAWinners()
Get the number of winner actions within the time lag specified by the parameter "movingAverageLag". |
void |
go()
Perform CS computations, refer to CsManager.go() |
void |
printClassifierList()
Print the classifers to terminal, refer to CsManager.printClassifierList() |
void |
saveClassifierList(java.lang.String fileName)
Save the classifiers to file, refer to CsManager.saveClassifierList(String). |
void |
setReward(double reward)
Set the reward for a specific action, refer to CsManager.setReward(double). |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RuleMaster(CsManager csm)
csm - The CsManager that create this class.| Method Detail |
public void go()
CsManager.go()
public Effector getEffector()
CsManager.getEffector()
public void clearMsgList()
CsManager.clearMsgList()
public void setReward(double reward)
CsManager.setReward(double).
reward - Reward.public int getMAWinners()
public void printClassifierList()
CsManager.printClassifierList()
public void saveClassifierList(java.lang.String fileName)
CsManager.saveClassifierList(String).
fileName - Filename and path.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||