Package edu.tufts.hrilab.polycraft
Class NovelRunComponent
java.lang.Object
edu.tufts.hrilab.diarc.DiarcComponent
edu.tufts.hrilab.polycraft.NovelRunComponent
-
Field Summary
Fields inherited from class edu.tufts.hrilab.diarc.DiarcComponent
executionLoopCycleTime, log, shouldRunExecutionLoop
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
protected void
init()
Perform any component initialization.playGame()
void
setGameOver
(boolean goalAchieved) Methods inherited from class edu.tufts.hrilab.diarc.DiarcComponent
additionalUsageInfo, createInstance, createInstance, createInstance, createInstance, executionLoop, getMyGroupConstraints, getMyGroups, getMyService, getMyServices, main, parseArgs, shutdown, shutdownComponent
-
Constructor Details
-
NovelRunComponent
public NovelRunComponent()
-
-
Method Details
-
init
protected void init()Description copied from class:DiarcComponent
Perform any component initialization. This should not be used for setting local fields to default values as was the case in DIARC. This method is called after the constructor, and after parseArgs. Setting default values should be done in field declaration or in the constructor.- Overrides:
init
in classDiarcComponent
-
playGame
-
setGameOver
public void setGameOver(boolean goalAchieved) -
getTrialTime
public long getTrialTime() -
receivedNoveltySignal
-